| 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 |
T1.2.7 VMS V5.5 VAXstation 3100/38 16MB memory. I'm trying to get a notification event to send mail as per an alarm rule would and on the advise in a previous note, I've created an OCCURS rule. I've listed the rule below as it shows up when requesting its information in the iconic map interface. Problem is that I can get the notification event to fire repeatadly, but the OCCURS rule never fires. What am I doing wrong? thanks in advance for any help. Al ------------------------------------------------------------------------------- Name test_message_send_rule Expression OCCURS (Node4 * counters zeroed) Description Rule to test mail link with notification event Category Test Alarm Fired Procedure SYS$COMMON:[MCC]MCC_ALARMS_MAIL_ALARM.COM;3 Severity Indeterminate Probable Cause Unknown State Enabled
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 2954.1 | TOOK::DUGAL | Lisa-Marie | Thu May 07 1992 13:27 | 24 | |
Hi Al, I'm curious as to what you mean by the occurs rule never firing. Does it just not send you mail or is it actually not getting evaluated? From looking at the data you supplied: > Name test_message_send_rule > Expression OCCURS (Node4 * counters zeroed) > Description Rule to test mail link with notification event > Category Test > Alarm Fired Procedure SYS$COMMON:[MCC]MCC_ALARMS_MAIL_ALARM.COM;3 > Severity Indeterminate > Probable Cause Unknown > State Enabled it looks like you are missing the ALARMS FIRED PARAMETER (ie Alarms Fired Parameter = FOUR62::LICAUSE) I believe alarms needs this in order for it to send mail. Lisa-Marie | |||||
| 2954.2 | Maybe this will help | TOOK::DUGAL | Lisa-Marie | Thu May 07 1992 15:56 | 37 |
Hi Al,
One other thing that was just pointed out to me is a problem with your
expression.
You probably want something such as
expression = (occurs (node4 * remote node * counters zeroed))
I tried this here on a local system and it appears to work. Can you try
it and let me know if this helps any?
Lisa-Marie
--------------------------------------------------------------------------------
MCC> show domain test rule three all attr
Domain JASPIE_NS:.test Rule three
AT 7-MAY-1992 15:47:33 All Attributes
Name = three
State = Enabled
Substate = Running
Time of Last Evaluation = 7-MAY-1992 15:47:26.10
Result of Last Evaluation = True
Current Severity = Indeterminate
Creation Timestamp = 7-MAY-1992 15:47:22.09
Evaluation Error = 0
Evaluation True = 1
Evaluation False = 0
Expression = (occurs(node4 * remote node *
counters zeroed))
Severity = Indeterminate
Probable Cause = Unknown
MCC>
| |||||
| 2954.3 | Worked, but..... | FOUR62::LICAUSE | Al Licause (338-5661) | Thu May 07 1992 16:11 | 8 |
Thanks Lisa....it was the addition of the REMOTE NODE * that got it to work. Complaint.....this is not consistant with the syntax necessary for the notification service definition. Why does one facility require the REMOTE NODE parameter and the other not? Al | |||||