[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

2585.0. "Alarm on PhaseV events" by RDGENG::PRATT () Tue Mar 17 1992 17:11

Running Ultrix T1.2.4

Can anyone tell me what is wrong with this rule - it was created via the Iconic
map interface...


MCC> show mcc 0 alarms rule * all attr, in domain .area_1

MCC 0 ALARMS RULE .reo.reotn3_hdlc_link_down
AT 1992-03-17-19:07:19.433+00:00Iinf All Attributes

                                   NAME = .reo.reotn3_hdlc_link_down
                                  State = Disabled
                               Substate = Disabled by error condition
                           Disable Time = 1992-03-17-19:00:50.219+00:00Iinf
                        Error Condition = "%MCC-E-INV_IN_P, invalid argument or
                                          attribute , The rule has been
                                          disabled
                                          "
                Time of Last Evaluation = 1992-03-17-19:00:32.118+00:00Iinf
              Result of Last Evaluation = Error
                       Current Severity = Indeterminate
                     Creation Timestamp = 1992-03-17-19:00:29.454+00:00Iinf
                       Evaluation Error = 0
                        Evaluation True = 0
                       Evaluation False = 0
                             Expression = (OCCURS (Node LOCAL_NS:.reo.reotn3
                                           HDLC Link *  Link Down))
                            Description = "Link is down"
                              Procedure = /usr/mcc/mcc_system/mcc_alarms_mail_al
                                          arm.csh
                              Parameter = "rdgeng::pratt"
                      Exception Handler = /usr/mcc/mcc_system/mcc_alarms_mail_ex
                                          ception.csh
                     Perceived Severity = Critical
                             Event Type = QualityofServiceAlarm
                         Probable Cause = Unknown
MCC>

Regards

Ian
T.RTitleUserPersonal
Name
DateLines
2585.1the Rule looks fineNANOVX::ROBERTSKeith Roberts - DECmcc Toolkit TeamWed Mar 18 1992 10:1722
RE: .0

  Ian,

>> Error Condition = "%MCC-E-INV_IN_P, invalid argument or
>>                    attribute , The rule has been disabled"
>>
>>      Expression = (OCCURS (Node LOCAL_NS:.reo.reotn3 HDLC Link *  Link Down))

  Your Rule Expression looks good.  My first guess would be that the DECnet
  Phase-5 AM returned the INV_IN_P error to Alarms.  The part of the Rule
  Expression which is passed to the DNA-5 AM through the In-P argument is
  the Event Code; in this case, Link Down.

  I believe that there was recently a QAR on Alarms that stated the Event Code
  was not properly constructed by the OCCURS function.

  (Q) Does this error occur every time?

  (Q) Could you try replacing 'Link Down' with 'Any Event'

  /keith
2585.2more infoRDGENG::PRATTWed Mar 18 1992 11:4118
Keith

>>  (Q) Does this error occur every time?

Yes - I have also tried the event Link Up with the same results.

>>  (Q) Could you try replacing 'Link Down' with 'Any Event'

This works and I can create the rule okay, but I cannot get it to fire. I 
already have the phaseV events sinking to a window on my workstation, and I have
enabled the dna5_am sink, and the process /usr/mcc/mmexe/mcc_dna5_evl is running

Is there anything else I should do? Do I have to force the events to sink into
MCC - if so how?

Cheers

Ian
2585.3The Occurs function does a GETEVENTNANOVX::ROBERTSKeith Roberts - DECmcc Toolkit TeamWed Mar 18 1992 14:1129
RE: .2

>>>  (Q) Could you try replacing 'Link Down' with 'Any Event'
>
> This works and I can create the rule okay, but I cannot get it to fire. I 
> already have the phaseV events sinking to a window on my workstation, and I
> have enabled the dna5_am sink, and the process /usr/mcc/mmexe/mcc_dna5_evl
> is running

  Ian,

  The Alarms OCCURS function uses the GETEVENT directive.  Try doing
  the same command alarms would - to make sure the DNA-5 evens are
  working correctly within DECmcc ...

	getevent Node LOCAL_NS:.reo.reotn3 HDLC Link * any event

  Also have the same Alarm Rule running before you issue this command.

  If you get a good response from the getevent directive, check the rule
  status and counter attributes ... the 'evaluation true' counter should
  have incremented.

  If you get no response from the getevent directive, then there is a 
  problem getting DNA-5 event into DECmcc.

  Let me know how this goes.

  /keith
2585.4Works nowRDGENG::PRATTWed Mar 18 1992 14:5019
Keith,

I've managed to get the 'Any Event' rule to fire now - in the release notes you
have to set up an outbound stream to object 99 - I was using the default object
82.

>> getevent Node LOCAL_NS:.reo.reotn3 HDLC Link * any event

This command 'hangs' until I generate an event manually from the DECnis using
ncl - ie disable node .reo.reotn3 HDLC Link *

and then it returned with a link down event - is this normal operation, as I'm
sure that when I tried this yesterday without the event stream configured I got
a list of all possible events almost immediately.

Is the  Expression = (OCCURS (Node LOCAL_NS:.reo.reotn3 HDLC Link *  Link Down))
a definite bug as it still fails?

Ian
2585.5Looks like Alarms has a problem with Event IdsNANOVX::ROBERTSKeith Roberts - DECmcc Toolkit TeamThu Mar 19 1992 12:4532
RE: .4

  Ian,

> I've managed to get the 'Any Event' rule to fire now - in the release notes you
> have to set up an outbound stream to object 99 - I was using the default object
> 82.
>
> >> getevent Node LOCAL_NS:.reo.reotn3 HDLC Link * any event
>
> This command 'hangs' until I generate an event manually from the DECnis using
> ncl - ie disable node .reo.reotn3 HDLC Link *

  Great!

> and then it returned with a link down event - is this normal operation, as I'm
> sure that when I tried this yesterday without the event stream configured I got
> a list of all possible events almost immediately.

  Someone from DNA5 AM team will have to answer this one.

> Is the  Expression = (OCCURS (Node LOCAL_NS:.reo.reotn3 HDLC Link *  Link Down))
> a definite bug as it still fails?

  Yes, I'd have to say so.  You still get the INV_IN_P error condition when
  you do show rule status - Right?

  I believe there is a QAR on this problem - and will double check.  Alarms
  not creating the In-P buffer for the OCCURS function will be fixed for
  v1.2 Field Test Update.

  /keith
2585.6Same errorRDGENG::PRATTThu Mar 19 1992 13:2321
>>  Yes, I'd have to say so.  You still get the INV_IN_P error condition when
>> you do show rule status - Right?

Correct

>> This command 'hangs' until I generate an event manually from the DECnis using
>> ncl - ie disable node .reo.reotn3 HDLC Link *

>>  Great!

>> and then it returned with a link down event - is this normal operation, as I'm
>> sure that when I tried this yesterday without the event stream configured I got
>> a list of all possible events almost immediately.

>>  Someone from DNA5 AM team will have to answer this one.

Not a problem as I've now realised what I was doing different.

Thanks for your help

Ian
2585.7See note 2660.5 for an answerMOLAR::ROBERTSKeith Roberts - DECmcc Toolkit TeamThu Apr 02 1992 11:420