Robert Story (Coders) wrote:
Here is some output where waitpid() is working. I really bumped up the timeout value. You can see the jump in time... It works for a few iterations, but the very last get I would assume times out.....On Mon, 13 Sep 2004 12:06:04 -0400 Allan wrote: AM> I appear to be having trouble with mteTriggerTable timeouts on solaris.
mteTriggerTable: initializing... mteTriggerTable: created callback session = 001f3d18
mteTriggerTable: done.
mteTriggerDeltaTable: initializing... mteTriggerDeltaTable: done.
mteTriggerExistenceTable: initializing... mteTriggerExistenceTable: done.
mteTriggerBooleanTable: initializing... mteTriggerBooleanTable: done.
mteTriggerThresholdTable: initializing... mteTriggerThresholdTable: done.
mteObjectsTable: initializing... mteObjectsTable: done.
2004-09-13 17:42:58 mteObjectsTable: adding data... mteObjectsTable: registered an entry
2004-09-13 17:42:58 mteObjectsTable: done.
2004-09-13 17:42:58 mteObjectsTable: adding data... mteObjectsTable: registered an entry
2004-09-13 17:42:58 mteObjectsTable: done.
2004-09-13 17:42:58 mteTriggerTable: adding data... mteTriggerTable: registered an entry
2004-09-13 17:42:58 mteTriggerTable: done.
2004-09-13 17:42:58 mteTriggertable: Enabling trigger for snmpd.conf/.iso.org.dod.internet.private.enterprises.ucdavis.extTable @ 80
2004-09-13 17:42:58 mteTriggerTable: added simple monitor: .iso.org.dod.internet.private.enterprises.ucdavis.extTable
2004-09-13 17:42:58 mteTriggerTable: storing data... mteTriggerTable: done.
2004-09-13 17:42:58 mteObjectsTable: storing data... mteObjectsTable: done.
2004-09-13 17:42:58 NET-SNMP version 5.1.2
2004-09-13 17:43:53 run_exec_command: running /tmp/tester1
2004-09-13 17:43:53 run_exec_command: Before waitpid( pid=11010, result=0)
2004-09-13 17:44:01 run_exec_command: After waitpid( pid=11010, result=0)
2004-09-13 17:44:01 run_exec_command: Got output "SUCCESS: /tmp/tester1
"
2004-09-13 17:44:01 run_exec_command: WEXITSTATUS(0) == "0"
2004-09-13 17:44:01 run_exec_command: running /tmp/tester2
2004-09-13 17:44:01 run_exec_command: Before waitpid( pid=11022, result=0)
2004-09-13 17:44:07 run_exec_command: After waitpid( pid=11022, result=0)
2004-09-13 17:44:07 run_exec_command: Got output "SUCCESS: /tmp/tester2
"
2004-09-13 17:44:07 run_exec_command: WEXITSTATUS(0) == "0"
2004-09-13 17:44:07 run_exec_command: running /tmp/tester3
2004-09-13 17:44:07 run_exec_command: Before waitpid( pid=11030, result=0)
2004-09-13 17:44:13 run_exec_command: After waitpid( pid=11030, result=0)
2004-09-13 17:44:13 run_exec_command: Got output "SUCCESS: /tmp/tester3
"
2004-09-13 17:44:13 run_exec_command: WEXITSTATUS(0) == "0"
2004-09-13 17:44:13 run_exec_command: running /tmp/tester4
2004-09-13 17:44:13 run_exec_command: Before waitpid( pid=11036, result=0)
2004-09-13 17:44:19 run_exec_command: After waitpid( pid=11036, result=0)
2004-09-13 17:44:19 run_exec_command: Got output "SUCCESS: /tmp/tester4
"
2004-09-13 17:44:19 run_exec_command: WEXITSTATUS(0) == "0"
2004-09-13 17:44:19 mteTriggertable: Running trigger for snmpd.conf/.iso.org.dod.internet.private.enterprises.ucdavis.extTable (wild:1)
2004-09-13 17:44:19 mteTriggerTable: accessing locally with secName "internal" community "[NIL]"
2004-09-13 17:44:19 mteTriggerTable: Calling snmp_synch_response() timeout= 300000000
2004-09-13 17:44:19 run_exec_command: running /tmp/tester1
2004-09-13 17:44:19 run_exec_command: Before waitpid( pid=11044, result=0)
2004-09-13 17:44:28 run_exec_command: After waitpid( pid=11044, result=0)
2004-09-13 17:44:28 run_exec_command: Got output "SUCCESS: /tmp/tester1
"
2004-09-13 17:44:28 run_exec_command: WEXITSTATUS(0) == "0"
2004-09-13 17:44:28 run_exec_command: running /tmp/tester5
2004-09-13 17:44:28 run_exec_command: Before waitpid( pid=11056, result=0)
2004-09-13 17:44:28 run_exec_command: After waitpid( pid=11056, result=0)
2004-09-13 17:44:28 run_exec_command: Got output "SUCCESS: /tmp/tester5
"
2004-09-13 17:44:28 run_exec_command: WEXITSTATUS(0) == "0"
2004-09-13 17:44:28 mteTriggerTable: *** response status 0:0 ***
2004-09-13 17:44:28 mteTriggerTable: got a variables: UCD-SNMP-MIB::extResult.1 = INTEGER: 0
2004-09-13 17:44:28 mteTriggerTable: received UCD-SNMP-MIB::extResult.1 = INTEGER: 0 (type 2)
2004-09-13 17:44:28 mteTriggerTable: value: 0 0 0 x: 0 0 0
2004-09-13 17:44:28 mteTriggerTable: boolean result: x=0 != configured=0 = 0
2004-09-13 17:44:28 mteTriggerTable: accessing locally with secName "internal" community "[NIL]"
2004-09-13 17:44:28 mteTriggerTable: Calling snmp_synch_response() timeout= 300000000
2004-09-13 17:44:28 run_exec_command: running /tmp/tester1
2004-09-13 17:44:28 run_exec_command: Before waitpid( pid=11057, result=0)
2004-09-13 17:44:36 run_exec_command: After waitpid( pid=11057, result=0)
2004-09-13 17:44:36 run_exec_command: Got output "SUCCESS: /tmp/tester1
"
2004-09-13 17:44:36 run_exec_command: WEXITSTATUS(0) == "0"
2004-09-13 17:44:36 mteTriggerTable: *** response status 0:0 ***
2004-09-13 17:44:36 mteTriggerTable: got a variables: SNMPv2-MIB::sysDescr.0 = STRING: SunOS ridah 5.9 Generic_112233-08 sun4u
2004-09-13 17:44:36 mteTriggerTable: DONE, last varbind processed
2004-09-13 17:44:36 run_exec_command: running /tmp/tester2
2004-09-13 17:44:36 run_exec_command: Before waitpid( pid=11069, result=0)
2004-09-13 17:44:42 run_exec_command: After waitpid( pid=11069, result=0)
2004-09-13 17:44:42 run_exec_command: Got output "SUCCESS: /tmp/tester2
"
2004-09-13 17:44:42 run_exec_command: WEXITSTATUS(0) == "0"
2004-09-13 17:44:42 run_exec_command: running /tmp/tester3
2004-09-13 17:44:42 run_exec_command: Before waitpid( pid=11075, result=0)
2004-09-13 17:44:48 run_exec_command: After waitpid( pid=11075, result=0)
2004-09-13 17:44:48 run_exec_command: Got output "SUCCESS: /tmp/tester3
"
2004-09-13 17:44:48 run_exec_command: WEXITSTATUS(0) == "0"
2004-09-13 17:44:48 run_exec_command: running /tmp/tester4
2004-09-13 17:44:48 run_exec_command: Before waitpid( pid=11083, result=0)
2004-09-13 17:44:54 run_exec_command: After waitpid( pid=11083, result=0)
2004-09-13 17:44:54 run_exec_command: Got output "SUCCESS: /tmp/tester4
"
2004-09-13 17:44:54 run_exec_command: WEXITSTATUS(0) == "0"
2004-09-13 17:44:54 run_exec_command: running /tmp/tester5
2004-09-13 17:44:54 run_exec_command: Before waitpid( pid=11089, result=0)
2004-09-13 17:44:54 run_exec_command: After waitpid( pid=11089, result=0)
2004-09-13 17:44:54 run_exec_command: Got output "SUCCESS: /tmp/tester5
"
2004-09-13 17:44:54 run_exec_command: WEXITSTATUS(0) == "0"
2004-09-13 17:45:39 mteTriggertable: Running trigger for snmpd.conf/.iso.org.dod.internet.private.enterprises.ucdavis.extTable (wild:1)
2004-09-13 17:45:39 mteTriggerTable: accessing locally with secName "internal" community "[NIL]"
2004-09-13 17:45:39 mteTriggerTable: Calling snmp_synch_response() timeout= 300000000
2004-09-13 17:45:39 run_exec_command: running /tmp/tester1
2004-09-13 17:45:39 run_exec_command: Before waitpid( pid=11136, result=0)
2004-09-13 17:45:48 run_exec_command: After waitpid( pid=11136, result=0)
2004-09-13 17:45:48 run_exec_command: Got output "SUCCESS: /tmp/tester1
"
2004-09-13 17:45:48 run_exec_command: WEXITSTATUS(0) == "0"
2004-09-13 17:45:48 mteTriggerTable: *** response status 0:0 ***
2004-09-13 17:45:48 mteTriggerTable: got a variables: UCD-SNMP-MIB::extResult.1 = INTEGER: 0
2004-09-13 17:45:48 mteTriggerTable: received UCD-SNMP-MIB::extResult.1 = INTEGER: 0 (type 2)
2004-09-13 17:45:48 mteTriggerTable: value: 0 0 0 x: 0 0 0
2004-09-13 17:45:48 mteTriggerTable: boolean result: x=0 != configured=0 = 0
2004-09-13 17:45:48 mteTriggerTable: accessing locally with secName "internal" community "[NIL]"
2004-09-13 17:45:48 mteTriggerTable: Calling snmp_synch_response() timeout= 300000000
2004-09-13 17:45:48 mteTriggerTable: *** response status 0:0 ***
2004-09-13 17:45:48 mteTriggerTable: got a variables: SNMPv2-MIB::sysDescr.0 = STRING: SunOS ridah 5.9 Generic_112233-08 sun4u
2004-09-13 17:45:48 mteTriggerTable: DONE, last varbind processed
^C2004-09-13 17:46:00 Received TERM or STOP signal... shutting down...
2004-09-13 17:46:00 mteTriggerTable: storing data... mteTriggerTable: done.
2004-09-13 17:46:00 mteObjectsTable: storing data... mteObjectsTable: done.
-------------------------------------------------------
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. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
