This is a discussion on pass_persist timing out!? within the SNMP Users forums, part of the Networking and Network Related category; Hi everyone, I wrote a script that was working very well with the "pass" config option. In order ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi everyone,
I wrote a script that was working very well with the "pass" config option. In order to improve it's speed (mostly perl load times), I changed it to support the "pass_persist" option instead. As I understand this config option, the script should run like so (note: I manually added the ">" and "<" prefix to show input/output): # ./snmp-psbyname-persist.pl > PING < PONG > GET > .1.3.6.1.4.1.8072.100.1.4.7.13 < .1.3.6.1.4.1.8072.100.1.4.7.13 < integer < 1045 > QUIT # I added support for a QUIT/EXIT command just to make it nicer. The man page doesn't explain how Net-SNMP will terminate the running script, but I expect it just kills it instead of issuing a QUIT/EXIT command. When I add the pass_persist script to Net-SNMP, I get the following result: # snmpget -c * -O s -v 2c devunix7 .1.3.6.1.4.1.8072.100.1.4.7.13 Timeout: No Response from devunix7. It works fine manually though... Any ideas where I might have gone wrong? :-) Thanks! js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator <jsmoriss@mvlan.net> Personal Home Page <http://jsmoriss.mvlan.net/> Underwater and Travel Photographs <http://www.mvpix.com/> ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=...720&dat=121642 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |