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: 1 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 SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
