Bluehost.com Web Hosting $6.95

Re: pass_persist solaris 9

This is a discussion on Re: pass_persist solaris 9 within the SNMP Users forums, part of the Networking and Network Related category; > On 25/03/2008, Mike Ayers <mike_ayers@tvworks.com> wrote: >> Please clarify - there is no &...


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-26-2008
olivier@exxoss.com
 
Posts: n/a
Default Re: pass_persist solaris 9

> On 25/03/2008, Mike Ayers <mike_ayers@tvworks.com> wrote:
>> Please clarify - there is no "ping" in SNMP. What exactly are
>> you doing.

>
> Remember that Olivier is using the "pass_persist" mechanism.
> The initial handshake uses a "PING"/"PONG" request/response.
> (See snmpd.conf(5)).
>
> It sounds as if this is working, but the subsequent SNMP requests
> are not.
>
> Olivier,
> the thing that worries me slightly is that you say you are using
> version 5.0.7. This is a *very* old release (and not even the most
> recent on the 5.0.x line).
> It would probably be worth installing 5.4.1, and trying the same
> pass_persist script. If nothing else, this would indicate whether
> your problem is related to the version of Net-SNMP you are using,
> or your Solaris environment.
>
> It might also be worth running the agent using
> snmpd -f -Le -Ducd-snmp/pass_persist
>
> and see what that reports.
>
> Dave
>



Thanks for your help, I've run the snmpd daemon with those option and get
the following messages :

(/tmp)# /usr/local/sbin/snmpd -f -L -Ducd-snmp/pass_persist
NET-SNMP version 5.0.7
ucd-snmp/pass_persist:
open_persist_pipe(1,'/export/home/ncadmin/selfmon/bin/NSExtend.pl -c
/export/home/ncadmin/selfmon/conf/selfmonitor.conf -d 9 -l
/tmp/NSExtend.log 2>>/tmp/stderr_NSExtend.log')
ucd-snmp/pass_persist: persistpass-sending:
get
..1.3.6.1.4.1.776.102.3.1.1.3.1


So my script obvoiusly answers the the first PING\n request properly, in
the logs of my script I see the following

[2008/03/26 11:55:44] HELLO: NExtend.pl started
[2008/03/26 11:55:44] CORE: MAIN: Starting main loop
[2008/03/26 11:55:44] CORE: MAIN: starting a new read loop
[2008/03/26 11:55:44] REQUEST: recieved: PING
[2008/03/26 11:55:44] Ouput to STDOUT: PONG
[2008/03/26 11:55:44] REQUEST: recieved: get
[2008/03/26 11:55:44] REQUEST: got a GET or GETNEXT request
[2008/03/26 11:55:44] REQUEST: requested OID: .1.3.6.1.4.1.776.102.3.1.1.3.1
[2008/03/26 11:55:44] Tested OID: 1
[2008/03/26 11:55:44] LIB: DEBUG: Found .1.3.6.1.4.1.776.102.3.1.1.3.1
entry in the support hashtable
[2008/03/26 11:55:44] Output to STDOUT: .1.3.6.1.4.1.776.102.3.1.1.3.1
[2008/03/26 11:55:44] Output to STDOUT: string
[2008/03/26 11:55:44] Output to STDOUT: squirm
[2008/03/26 11:55:44] CORE: MAIN: NSExtend terminated cannot read from STDIN

And when I launche the script by hand with the exact same commande I can
keep on sending it get request successfully ...

Thanks all for your help


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216...et/marketplace
_______________________________________________
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 07:53 PM.


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