Re: pass_persist timing out!?

This is a discussion on Re: pass_persist timing out!? within the SNMP Users forums, part of the Networking and Network Related category; Never mind, found the problem. Sorry for the spam. :-) js. On Mon, Mar 13, 2006 at 01:55:10PM -0500, ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-13-2006
Jean-Sebastien Morisset
 
Posts: n/a
Default Re: pass_persist timing out!?

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 <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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:22 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0