On 17/10/2007, goon863 <[EMAIL PROTECTED]> wrote:
> I found the problem is "ping" command....
> While i run "snmpget -c public -v2c 192.168.0.148 1.3.6.1.4.1.9362.1.7.0",
> the snmpd will run several times handle_led7(),and the code
> fp=popen("ping -c 8 www.google.com","r") is run serveral times too.
The most likely cause is that the "ping" command is taking too long to complete,
and the "snmpget" command is getting impatient, and resending the request.
Try extending the timeout period of the snmpget command:
snmpget -t 600 -r 0 -c public -v2c 192.168.0.148 1.3.6.1.4.1.9362.1.7.0
Dave
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users