Re: Issues with snmpwalk and net-snmp 5.4.2.1 on HP UX.

"Nikos Balkanas" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <00a501c9719f$db069430$02b2a8c0@tardis>
snmpwalk looks fine. Do the other snmp* commands (get,table,set) work? 
You seem to have a network problem.

Could you please post output from:

netstat -a | grep snmpd 
netstat -a | grep 161 (if the first one doesn't work)

ping localhost (1 ping is enough)

BR,
Nikos
----- Original Message ----- 
  From: Paul Hogan 
  To: Nikos Balkanas ; [email protected] 
  Sent: Thursday, January 08, 2009 3:51 PM
  Subject: RE: Issues with snmpwalk and net-snmp 5.4.2.1 on HP UX.


  When I run the ldd snmpwalk command the following output is given:

   

  ldd snmpwalk

          libnetsnmp.sl.16 =>     /opt/iexpress/net-snmp/lib/libnetsnmp.sl.16

          libcrypto.sl.0 =>       /lib/pa20_64/libcrypto.sl.0

          libgen.2 =>     /lib/pa20_64/libgen.2

          libnm.sl =>     /lib/pa20_64/libnm.sl

          libipv6.sl =>   /lib/pa20_64/libipv6.sl

          libc.2 =>       /lib/pa20_64/libc.2

          libcrypto.sl.0 =>       /lib/pa20_64/libcrypto.sl.0

          libc.2 =>       /lib/pa20_64/libc.2

          libgcc_s.sl =>  /opt/hp-gcc64-4.2.1/lib/gcc/hppa64-hp-hpux11.11/4.2.1/../../../libgcc_s.sl

          libdl.1 =>      /lib/pa20_64/libdl.1

          libc.2 =>       /lib/pa20_64/libc.2

          libdl.1 =>      /usr/lib/pa20_64/libdl.1

   

  following commands show the daemon running:

   

  ps -ef |grep -i snmp

      root 25650     1  0  Jan  6  ?         0:47 /opt/iexpress/net-snmp/sbin/snmpd -c /opt/iexpress/net-snmp/etc/snmp/snmpd.conf

   

  snmpd.conf file contains

   

  rocommunity public

   

  running snmpwalk command give following output:

   

  snmpwalk -v 1 –c public localhost .1.3.6.1.2.1.25.3.2      

   

  *public is changed to my own SNMP string in the snmpd.conf and on this line.

   

  Timeout: No Response from localhost

   

  Version of OS

   

  uname -a

  HP-UX hollap23 B.11.23 U 9000/800 2629134796 unlimited-user license

   

  Any thoughts?

   

   

   

  Paul R. Hogan

  Computer System Engineer

  Enterprise Information Technology

  HAWORTH, INC.

   

  One Haworth Center

  Holland, MI 49423

   

  direct    616.393.3756

  fax       616.396.9389

   

  [email protected]

  www.haworth.com

   

  NOTICE OF CONFIDENTIALITY:  The contents of this e-mail message and any attachments are intended for the addressee(s) named in this message.  This communication is intended to be and to remain confidential.  If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and its attachments.  Do not deliver, distribute or copy this message and/or any attachments and, if you are not the intended recipient, unless immediately and permanently deleted, recipient hereby agrees to protect this transmission and any documents, files or previous messages attached (confidential information) in the same manner in which recipient acts to protect his/her/its own confidential information.

   

  From: Nikos Balkanas [mailto:[email protected]] 
  Sent: Wednesday, January 07, 2009 5:42 PM
  To: Paul Hogan; [email protected]
  Subject: Re: Issues with snmpwalk and net-snmp 5.4.2.1 on HP UX.

   

  What is your default snmp agent?

   

  Do an

   

  ldd snmpwalk

   

  I suspect that you are not linking to right libraries and your snmpwalk is malfunctioning.

   

  If that fails try:

   

  snmpd -f -L (-Dall)? - if you are filling lucky.

   

  and use snmpwalk.

   

  Does any snmp* command work?

   

  BR,

  Nikos

    ----- Original Message ----- 

    From: Paul Hogan 

    To: [email protected] 

    Sent: Wednesday, January 07, 2009 11:04 PM

    Subject: Issues with snmpwalk and net-snmp 5.4.2.1 on HP UX.

     

    I have successfully compiled and installed this version of net-snmp on 2 different HP UX boxes.  Both are running version 11.23 OS.  I can get the daemon to start and remain running, but when I try to run and snmpwalk command it returns with a generic: Timeout: No response error.  I have turned off the default snmp agent, and I have double checked that the snmpd.conf file is correctly configured.  I also turned on logging for the snmpd daemon, but there are no errors reported.  What else should I check in order to get this working?  Any ideas what could be wrong?

     

    Paul R. Hogan

    Computer System Engineer

    Enterprise Information Technology

    HAWORTH, INC.

     

    One Haworth Center

    Holland, MI 49423

     

    direct    616.393.3756

    fax       616.396.9389

     

    [email protected]

    www.haworth.com

     

    NOTICE OF CONFIDENTIALITY:  The contents of this e-mail message and any attachments are intended for the addressee(s) named in this message.  This communication is intended to be and to remain confidential.  If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and its attachments.  Do not deliver, distribute or copy this message and/or any attachments and, if you are not the intended recipient, unless immediately and permanently deleted, recipient hereby agrees to protect this transmission and any documents, files or previous messages attached (confidential information) in the same manner in which recipient acts to protect his/her/its own confidential information.

     


----------------------------------------------------------------------------

    ------------------------------------------------------------------------------
    Check out the new SourceForge.net Marketplace.
    It is the best place to buy or sell services for
    just about anything Open Source.
    http://p.sf.net/sfu/Xq1LFB 


----------------------------------------------------------------------------

    _______________________________________________
    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

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.