[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

1565.0. "severity on exception" by HOO78C::TIMMERMANS () Mon Sep 30 1991 17:36

At the moment I am using a modified version of TARGET_ENTITY.COM and I am
looking for an alarmrule which is always true on a unreachable entity.

I want to avoid using the exception handler, because the exception handler
is always using severity level critical, without looking to the perceived
severity specification. Is there a way around this?

Any Ideas??

Thanks in advance,

Adrie Timmermans
CS/EIS Holland
T.RTitleUserPersonal
Name
DateLines
1565.1CCIIS1::ROGGEBAND_ �hili��e _Tue Oct 01 1991 10:458
    Adrie,
    
    If I remember correctly, when you run the TARGET_ENTITY.COM, you
    already *know* that the entity is unreachable, so what you really want
    is a condition which is always true, regardless of wether the entity is
    reachable or not ? If so, you could try testing a reference attribute?
    
    Philippe. 
1565.2true or falseJETSAM::WOODCOCKTue Oct 01 1991 16:4523
Hi there,
    
>    If I remember correctly, when you run the TARGET_ENTITY.COM, you
>    already *know* that the entity is unreachable, so what you really want
>    is a condition which is always true, regardless of wether the entity is
>    reachable or not ? If so, you could try testing a reference attribute?
    
If you are looking for a TRUE statement then a reference attribute is a good
idea to try. Theory says this would work but I've never tried it. But I would
like to point out one *feature* of using a false statement even though control
of severity is lost. When a server based router goes down it very often
requests a reload immediately. The reload process often takes less time 
(1 min ??) than the event to be sent to MCC, target_entity to be submitted, and
the second TARGET rule to be created/enabled/and poll. Therefore when the
TARGET_ENTITY alarm polls the router it's back up and you get no alarm on a
"bounced" entity other than the original alarm. This sort of thing happens
from time to time and I appreciate the fact we don't have to chase down some
of these self fixing network realities. I guess it depends on where your
priorities and net mngmt practices are, and pick which method suits your needs
best (TRUE or FALSE).

best regards,
brad...
1565.3BecarefulTOOK::ORENSTEINTue Oct 01 1991 17:3017
>>> If you are looking for a TRUE statement then a reference attribute is a good
>>> idea to try. Theory says this would work but I've never tried it. 
    
    We have a problem with command procedure notification when REFERENCE
    attributes are used in expressions.  
    
    YES you can write a rule on a reference attribute.
    YES the rule will run properly and will fire appropriately
    BUT we have a shortcoming in the command procedures.
    
    It seems as if the quotes around the reference attributes are not
    stripped from the data, so the DCL parameters to the procedure get
    messed up.  Sorry I can't tell you more than that.  It is QARed but
    is not scheduled to be fixed yet.  We'll do what we can.
    
    aud...
    
1565.4it works with reference attributeHOO78C::TIMMERMANSWed Oct 02 1991 17:3237
Thanks, the following works fine for alarm rule always TRUE:
------------------------------------------------------------
MCC SET NODE4 .'nodename' REMARKS = "UNREACHABLE", IN DOMAIN 'domain'

MCC CREATE MCC 0 ALARMS RULE test_'nodename' -
EXPRESSION=(NODE4 .'nodename' REMARKS = "UNREACHABLE")
PROCEDURE=MYPROC.COM, IN DOMAIN 'domain'

And the same for always FALSE:
------------------------------
MCC SET NODE4 .'nodename' REMARKS = "UNREACHABLE", IN DOMAIN 'domain'

MCC CREATE MCC 0 ALARMS RULE test_'nodename' -
EXPRESSION=(NODE4 .'nodename' REMARKS <> "UNREACHABLE"),-
PROCEDURE=MYPROC.COM, IN DOMAIN 'domain'

It only seems to give problems with the TEXT FILE attribute, which seems
to be unsupported.

This is usable if you want to known if an unreachable alarm is already been 
fired without getting exceptions in your alarm procedure.

But is there a way to avoid the exception notification. Or adjust it's severity
level??

Because I have setup my rules in categories such as unreachable and reachable 
rules,resource error rules and hardware error rules.

So at the moment if I get an unreachable alarm, I known the node is unreachable
at that time I don't want to have all exception alarms on my other rules for
this entity. Because if I don't reset those exception alarms every time I never
see that the node is reachable again.

Is the only way to avoid this by disabling all rules for this node, except for 
the reachable rules???

Adrie