Never mind, found the problem. Sorry for the spam. :-)

js.

On Mon, Mar 13, 2006 at 01:55:10PM -0500, Jean-Sebastien Morisset wrote:
> 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? :-)

-- 
Jean-Sebastien Morisset, Sr. UNIX Administrator <[EMAIL PROTECTED]>
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=lnk&kid=110944&bid=241720&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/listinfo/net-snmp-users

Reply via email to