- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: net-snmp on HP-UX 11.31
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2013 05:19 AM
04-18-2013 05:19 AM
net-snmp on HP-UX 11.31
Hi All,
I'm trying to monitor a HP-UX server with an application Orion Solarwinds
Following are the version details
NET-SNMP version: 5.7.2
HP -UX : B.11.31
I have disabled HP-UX's snmp and have installed it from HP recommended depot ( https://h20392.www2.hp.com/portal/swdepot/searchProducts.do )
I'm able to snmpwalk on version 1 via public community on the HP-UX server. However I'm not able to get the server to be snmpwalked via a community from the monitoring system.
I have attached my snmpd.conf file and netstat details.
Any help would be highly appreciated.
Thanks
Syed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2013 06:49 AM
04-18-2013 06:49 AM
Re: net-snmp on HP-UX 11.31
Also following is my lsof output
lsof -i udp:161
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
snmpd 4878 root 5u IPv4 0xe0000003139bbc80 0t0 UDP *:snmp (Idle)
snmpd 4881 root 5u IPv6 0xe00000036f71c980 0t0 UDP *:snmp (Idle)
- Tags:
- lsof
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2013 08:08 AM
04-18-2013 08:08 AM
Re: net-snmp on HP-UX 11.31
Your lsof output and your previous netstat output don't match:
according to the "agentaddress" setting in the configuration you posted, the net-snmp daemon should be listening in port 1161, as confirmed by netstat. Your ps -ef indicates that the net-snmp daemon is running as PID 2022.
Yet your lsof indicates snmpd is running in port 161 and with PIDs 4878 (for IPv4) and 4881 (for IPv6).
What is going on?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2013 04:50 AM
04-19-2013 04:50 AM
Re: net-snmp on HP-UX 11.31
I was testing,I have changed my agentaddress to 161. My new snmpd.conf ( relating to my lsof output ) has been uploaded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2013 08:20 AM
04-19-2013 08:20 AM
Re: net-snmp on HP-UX 11.31
Is 172.16.5.57 the IP address of your monitoring system? At the moment, it seems to be the only remote host that is authorized to query your net-snmp daemon for anything at all.
If your monitoring system has multiple NICs and/or IP addresses, are you sure its requests to this HP-UX hosts are sent out via the 172.16.5.57 interface?
With your current configuration, queries from 172.16.5.57 will only succeed if community "FusAfiL2IQs" is used, and even then with read access only.
Any other non-local queries will fail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2013 01:46 AM
04-23-2013 01:46 AM
Re: net-snmp on HP-UX 11.31
Hi,
True, on the HP-UX server
/opt/iexpress/net-snmp/bin/snmpwalk -v 2c -c FusAfiL2IQs 172.16.184.34 system
and
/opt/iexpress/net-snmp/bin/snmpwalk -v 2c -c FusAfiL2IQs 172.16.5.57 system
Work absolutely fine. However when I try and poll the HP UX server from the Orion Solarwinds applications it fails.
Thanks
Syed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2013 07:01 AM
04-23-2013 07:01 AM
Re: net-snmp on HP-UX 11.31
So the IP address 172.16.5.57 belongs to the HP-UX server itself? And maybe 172.16.184.34 too?
Then you need to find out the IP address the Orion Solarwinds applications send their SNMP requests from, and add it to a line like this:
com2sec mynetwork aa.bb.cc.dd FusAfiL2IQs
Replace aa.bb.cc.dd with the IP address the Orion Solarwinds uses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2013 04:23 AM
04-26-2013 04:23 AM
Re: net-snmp on HP-UX 11.31
com2sec mynetwork 172.16.5.57 FusAfiL2IQs
is my entry
172.16.5.57 - Is the Solarwinds server
172.16.184.34 - Is the ip of the HPUX box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2013 01:37 AM
04-27-2013 01:37 AM
Re: net-snmp on HP-UX 11.31
Try restarting snmpd with full debug logging enabled:
/opt/iexpress/net-snmp/sbin/snmpd -LF7 /tmp/snmp-troubleshooting.log -a -p /var/tmp/net-snmpd -c /opt/iexpress/net-snmp/etc/snmpd.conf
This should produce a log file at /tmp/snmp-troubleshooting.log.
Then send some queries locally, using first a correct community name and then an incorrect one. Both queries should produce messages in the log.
Then send some queries from the Solarwinds server and look at the log again.
I think there are three possibilities:
- no new messages in the log = something is blocking the queries from the Solarwinds server from reaching the HP-UX system
- the messages say that snmpd is rejecting the queries from the Solarwinds server = most likely the Solarwinds server is not actually using the community name you expect it to use, or
- the log file says snmpd is receiving the query and responding to it = something is blocking the response from reaching the Solarwinds server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2013 02:17 AM
04-29-2013 02:17 AM
Re: net-snmp on HP-UX 11.31
no new messages in the log = something is blocking the queries from the Solarwinds server from reaching the HP-UX system.