[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

4490.0. "Alarm FM - Change Of rule type - urgent question" by BIS1::COLLEYE () Wed Feb 03 1993 03:03

URGENT QUESTION FOR A CUSTOMER DEMO

We are using DECmcc/BMS V1.2.3 

Alarm FM - Change Of Rule Type:

An Entity, an attribute an a pooling interval must be supplied.
Additionally, *TWO* comparison values must be supplied, separated by a comma.

Now, the Alarm FM pools the entity, which provided timestamped values for
the specified attribute.

We thus ends with 3 values:
- one timestamped value from the entity pooling
- two values specified at alarm creation.

Could you explain in which condition(s) the alarm rule is fired.

Many thanks,

Maurice.
T.RTitleUserPersonal
Name
DateLines
4490.1ConfusedTOOK::MINTZErik MintzWed Feb 03 1993 15:234
I don't understand your question.
Could you supply an example rule that shows the confusing values?

-- Erik
4490.2More info...BIS1::COLLEYEThu Feb 04 1993 11:4958
    Erik,
    
Here follows the requested examples...

Could you explain me which circumstances cause the
following Alarm Rules (RULE_1, RULE_2, RULE_3 & RULE_4)
to be fired.

Thank you,
Best regards,
Maurice.


Create Domain SDE:.MC_WORK Rule RULE_1  -
  Expression   = (CHANGE_OF (Node4 TPLAB  Connect Received, 10,20), at  every=00:01:00), -
  Severity     = Indeterminate, -
  Category     = "TEST", -
  Description  = "TEST CHANGE OF RULE TYPE", -
  Alarm Fired Procedure        = SYS$COMMON:[MCC]MCC_ALARMS_MAIL_ALARM.COM, -
  Alarm Exception Procedure    = SYS$COMMON:[MCC]MCC_ALARMS_MAIL_EXCEPTION.COM, -
  Alarm Fired Parameters       = "COLLEYE", -
  Batch Queue                  = "SYS$BATCH"



Create Domain SDE:.MC_WORK Rule RULE_2  -
  Expression   = (CHANGE_OF (Node4 TPLAB  Connect Received, *,20), at  every=00:01:00), -
  Severity     = Indeterminate, -
  Category     = "TEST", -
  Description  = "TEST CHANGE OF RULE TYPE", -
  Alarm Fired Procedure        = SYS$COMMON:[MCC]MCC_ALARMS_MAIL_ALARM.COM, -
  Alarm Exception Procedure    = SYS$COMMON:[MCC]MCC_ALARMS_MAIL_EXCEPTION.COM, -
  Alarm Fired Parameters       = "COLLEYE", -
  Batch Queue                  = "SYS$BATCH"



Create Domain SDE:.MC_WORK Rule RULE_3  -
  Expression   = (CHANGE_OF (Node4 TPLAB  Connect Received, 10,*), at  every=00:01:00), -
  Severity     = Indeterminate, -
  Category     = "TEST", -
  Description  = "TEST CHANGE OF RULE TYPE", -
  Alarm Fired Procedure        = SYS$COMMON:[MCC]MCC_ALARMS_MAIL_ALARM.COM, -
  Alarm Exception Procedure    = SYS$COMMON:[MCC]MCC_ALARMS_MAIL_EXCEPTION.COM, -
  Alarm Fired Parameters       = "COLLEYE", -
  Batch Queue                  = "SYS$BATCH"



Create Domain SDE:.MC_WORK Rule RULE_4  -
  Expression   = (CHANGE_OF (Node4 TPLAB  Connect Received, *,*), at  every=00:01:00), -
  Severity     = Indeterminate, -
  Category     = "TEST", -
  Description  = "TEST CHANGE OF RULE TYPE", -
  Alarm Fired Procedure        = SYS$COMMON:[MCC]MCC_ALARMS_MAIL_ALARM.COM, -
  Alarm Exception Procedure    = SYS$COMMON:[MCC]MCC_ALARMS_MAIL_EXCEPTION.COM, -
  Alarm Fired Parameters       = "COLLEYE", -
  Batch Queue                  = "SYS$BATCH"
4490.3ANDRIS::putninsThu Feb 04 1993 13:4811
(CHANGE_OF ( {attribute} , {previous} , {current} )

where	{previous} :== previous value of {attribute}, and
	{current}  :== current value of {attribute}

The rule fires if {attribute} changes from {previous} to {current}, so
in your example, RULE_1 fires if Connect Received changes from exactly
10 to exactly 20,
RULE_2 fires if Connect Received changes from any previous value to
exactly 20, and RULE$ fires if the counter changes from any previous
value to any new value.
4490.4I got it !BIS1::COLLEYEFri Feb 05 1993 03:403
    Thank you !
    
    Maurice.