wing2009 wrote:
>
> <snmp-device-alarmpoints>
> ...
> Device10_Remote: clear ((${Remote-Device 10 (1 = on, 0 = OFF)} == 1) &&
> (${remoteFpPort10} == 1) && (${remoteTpPort10} == 1)) "TP and FP UP"
> Device10_Remote: critical ((${Remote-Device 10 (1 = on, 0 = OFF)} == 1) &&
> (${remoteFpPort10} != 1) && (${remoteTpPort10} != 1)) "TP or FP DOWN"
> ...
> </snmp-device-alarmpoints>
>
> Here's how I display the alarms:
> <snmp-device-display>
> $alarmpointlist
> </snmp-device-display>
>
> Initially, everything seems to be working accordingly. However, I will
> receive the critical alarm from time to time for Device10. When I checked
> the values of remoteTpPort10 & remoteFpPort10, either one's value was 1 at
> the time of the alarm being triggered. Based on the condition set above, I
> shouldn't receive a critical alarm, right?
>
Your code looks okay to me. You should only get a critical state if both
remoteTpPort10 and remoteFpPort10 are both not equal to 1. However, once they
are in that state, the critical should not clear until both return to 1.
Are you sure that both remoteFpPort10 and remoteTpPort10 do not both have some
value other than 1 momentarily when InterMapper polls it? You might output the
current values in the <snmp-device-display> section. You could put an
expandable diagnostic section under a twisty triangle as follows:
<snmp-device-display>
$alarmpointlist
\#hide:diag\Diagnostics\#begin:diag\
remoteFpPort10: ${remoteFpPort10}
remoteTpPort10: ${remoteTpPort10}\#end:diag\
</snmp-device-display>
-------------------- m2f --------------------
Read this topic online here:
http://forums.dartware.com/viewtopic.php?p=2746#2746
____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [email protected]