[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

3032.0. "Terminal Server attribute expression not found" by RADBOX::ANDERSON () Tue May 19 1992 16:36

I tried to create a comparison rule alarm on a DECserver 550 and keep getting the
following error:

valid attribute expression not found.

The comparison rule I am trying to create is:

If Current Memory Usage GT 85 then alarm

I have done a show status on the server and Current Memory Usage is a valid 
attribute.  I have also created rules using other attributes on in the status
category and have had no problems.  It seems like this attribute was overlooked.

Bill Anderson
Portland OR
T.RTitleUserPersonal
Name
DateLines
3032.1GT works in some cases, not in others....DADA::DITMARSPeteTue May 19 1992 22:0525
>If Current Memory Usage GT 85 then alarm

If the attribute is supported by SHOW, then it should be at least recognized
by alarms.  If it's using a funky datatype, alarms might not support it, but
they should tell you that (and not what it's currently telling you).  Try a 
show <entity> Current Memory Usage and see what happens.  

Here's another possibility:

Are you using the Iconic Map's interface and clicking on the "Comparison Rule"
entity in the toolbox and then filling in the fields at the bottom of the
form with the above?

Or are you attempting to do this from FCL?

GT works only as a value in the "Relational operator" field of the "Comparison
Rule" alarm rule format.

If you're doing it any other way, try something like
	
	expression = (tsam foo Current Memory Usage > 85)

I know you've said you successfully created other rules, but sometimes when
I'm hopping back and forth between DCL and MCC I put a few .GT.'s in there
and it takes me a minute to figure out what's up.
3032.2I still think its a bug...RADBOX::ANDERSONTue May 19 1992 22:3223
>If the attribute is supported by SHOW, then it should be at least recognized
>by alarms.  If it's using a funky datatype, alarms might not support it, but
>they should tell you that (and not what it's currently telling you).  Try a 
>show <entity> Current Memory Usage and see what happens.  

I will try this on thursday.  Current Memory Usage shows up with the show command
in the iconic interface.


>Here's another possibility:

>Are you using the Iconic Map's interface and clicking on the "Comparison Rule"
>entity in the toolbox and then filling in the fields at the bottom of the
>form with the above?

Yes.

I have successfully created a rule for "High Memory Usage", which is the very
next attribute after "Current Memory Usage".  They are both the same data type
(Percent).  I have tried it several times with other attributes in the same SHOW 
category, and they all seem to work except "Current Memory Usage".

I will try to add the rule via the FCL and see what happens.
3032.3could be a bugDADA::DITMARSPeteWed May 20 1992 16:104
I just had to ask some questions to narrow down where it's happening.

Try the "show" from FCL.  It could well be a parsing problem.  Alarms
uses FCL's parser to parse the rule expression.
3032.4More infoTOOK::FONSECAI heard it through the Grapevine...Wed May 20 1992 18:0722
I've tried getting the show to work, and I get the following
syntax error message:

MCC> show terminal_server .ts.damien current memory usage
%MCC-I-NOPARCMD, current memory usage
                 ^
%MCC-I-SYNTAXERR, Syntax error -- unable to interpret remainder of line
%MCC-W-ATTRAMBIG, attribute CURRENT is ambiguous; enter more characters

This appears to be happening for most or all of the TSAM attributes
which start with the word current.  Simlarly defined attributes
starting with other words do not have the problem.  As far as I can
tell there are no duplicate or conflicting names being used.  There is 
no attribute defined for the word current alone.  Most of the attributes
starting with current have similarly defined attributes starting
with the words high and max, they do not have this problem.

Bill-

I'll try to work this through with the DECmcc developers, and get back to you.

-Dave
3032.5RADBOX::ANDERSONThu May 21 1992 22:457
Thanks for checking it through for me, I was supposed to work on the MCC station
today, but other things have come up.  (The MCC station is not onsite with me).
I will be waiting for your response.

Thanks.

-bill