[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

1431.0. "How retreive OUT_P parameter from Alarm FM module ? " by ANNECY::JACQUEMOUX () Tue Sep 03 1991 07:09



	Hi,



	I've coded a GETEVENT directive that returns an OUT_P parameter
	(a message string), it works fine from FCL command.
	But, it seems that the alarm FM module ignores this OUT_P parameter.
	In fact, there's nothing in the Alarm Rule definition to specify
	it.


	Could you help me to find a good way to do it ?


	Thanks,

			Thierry.
T.RTitleUserPersonal
Name
DateLines
1431.1Not sure what your askingNANOVX::ROBERTSKeith Roberts - DECmcc Toolkit TeamTue Sep 03 1991 13:4752
I'm not too sure what your asking.

  Do you mean that the GETEVENT directive entered at the FCL displays
  *your* event report,

  but when you write an alarm rule (occurs function) none of *your* event
  report is displayed by the resultant Alarms 'rule fired' event ??

Whew - with that said -

If this is the case .. Currently the Alarms GETEVEMT directive does not
return (in out-p) any of the argument data from your originating event.

The Alarms GETEVENT directive 'Evidence' record contains some information
about the Data-that-caused-the-rule-to-fire:

    o Entity      (FullEntityName)
    o Data        (Latin1String)
    o Timestamp   (BinAbsTime)

In the case of the Rule written on an attribute ...

    Expression = (node4 foo max addr > 50)

    The Evidence.Data field would contain "Maximum Address = 1023"
    (or whatever the real attribute value was)

In the case of the Rule written on an Event ...

    Expression = (OCCURS(node4 foo Counters Zeroed))

    The Evidence.Data field would contain "Counters Zeroed has occured..."

--------------

Here is some sample output from the Alarms GETEVENT directive written on
the 'new for v1.2' PONG directive - The 'Pong Timeout' event has an argument,
(Acceptable Response Time) but it is not retained by the Alarms package  8(


MCC> getevent mcc 0 alarms rule keith any notif event

MCC 0 ALARMS RULE keith
AT  3-SEP-1991 12:39:30 NOTIFICATION EVENTS

Alarm Event Received
Alarm Rule Fired
           EVIDENCE = { (   entity = Sample ETHRFX_NS:.dflat ,
                              data = "Pong Timeout has occurred 3-SEP-1991 12:39:29.38",
                         timestamp =  3-SEP-1991 12:39:29.38 ) }
         Expression = (occurs(sample .dflat pong timeout))
 Perceived Severity = indeterminate
1431.2this is being workedTOOK::CALLANDERJill Callander DTN 226-5316Thu Sep 05 1991 11:067
An investigation is on going as I type to determine if this "hole" can
be pluged in the v1.2 kit. If this item is critical to the succss of your 
application or sale please send mail to Bob (took::merrifield) telling him
what you feel your requirements are and the impact of not receiveing the 
functionality. 

jill