*copied to coders*
I tried using:
exec tester1 /bin/sh /tmp/tester1
exec tester2 /bin/sh /tmp/tester2
exec tester3 /bin/sh /tmp/tester3
exec tester4 /bin/sh /tmp/tester4
exec tester5 /bin/sh /tmp/tester5
monitor -r 30 -o extNames.1 -o extOutput.1 "tester1 status" extResult.1 != 0
monitor -r 30 -o extNames.2 -o extOutput.2 "tester2 status" extResult.2 != 0
monitor -r 30 -o extNames.3 -o extOutput.3 "tester3 status" extResult.3 != 0
monitor -r 30 -o extNames.4 -o extOutput.4 "tester4 status" extResult.4 != 0
monitor -r 30 -o extNames.5 -o extOutput.5 "tester5 status" extResult.5 != 0
Watching the debug output, shows
got a variables: UCD-SNMP-MIB::extResult.1 = INTEGER: 0
got a variables: UCD-SNMP-MIB::extResult.2 = INTEGER: 0
got a variables: UCD-SNMP-MIB::extResult.3 = INTEGER: 0
got a variables: UCD-SNMP-MIB::extResult.4 = INTEGER: 0
got a variables: UCD-SNMP-MIB::extResult.5 = INTEGER: 0
How ever in mteTriggerTable.c::mte_run_trigger() after the call to
mte_get_response()
There is a call to snmp_oid_compare() and the result is zero causing the
code to break
out of the loop and the logic to decide weather to send a trap or not is
never executed....
This communication is intended for the use of the recipient to which it is addressed, and may contain confidential, personal and or privileged information. Please contact us immediately if you are not the intended recipient of this communication, and do not copy, distribute, or take action relying on it. Any communication received in error, or subsequent reply, should be deleted or destroyed.
