- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how can i test snmp
Operating System - HP-UX
1819791
Members
3216
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО02-29-2008 04:23 AM
тАО02-29-2008 04:23 AM
Hello,
i've two 11.00 HPUX servers, one sends all snmp informations, the other doesn't.
i've checked both without find any difference:
# ps -ef|egrep "mib|agt|snmp"
root 1196 1 0 Feb 19 ? 59:03 /usr/sbin/snmpdm
root 1211 1 0 Feb 19 ? 40:24 /usr/sbin/hp_unixagt
root 1220 1 0 Feb 19 ? 58:43 /usr/sbin/mib2agt
root 1229 1 0 Feb 19 ? 0:03 /usr/sbin/trapdestagt
# egrep -v "^#|^$" /etc/snmpd.conf
get-community-name: public
# egrep -v "^#|^$" /etc/SnmpAgent.d/snmpd.conf
get-community-name: public
# lsof -iUDP |egrep -i "snmp|mib"
snmpdm 1196 root 5u inet 0x4ed72c68 0t0 UDP *:snmp (Idle)
snmpdm 1196 root 6u inet 0x4ed7b468 0t0 UDP *:* (Unbound)
mib2agt 1220 root 0u inet 0x4eee9868 0t0 UDP *:* (Unbound)
both servers seems to be identic...however, one does not send filesystem and network informations.
how can i locally check what informations are returned from snmp ?
of course, i've restarted the snmp init scripts (tried automatically and manually according to the snmpd(1M) man page)
thanks for help
--
Cedrick Gaillard
i've two 11.00 HPUX servers, one sends all snmp informations, the other doesn't.
i've checked both without find any difference:
# ps -ef|egrep "mib|agt|snmp"
root 1196 1 0 Feb 19 ? 59:03 /usr/sbin/snmpdm
root 1211 1 0 Feb 19 ? 40:24 /usr/sbin/hp_unixagt
root 1220 1 0 Feb 19 ? 58:43 /usr/sbin/mib2agt
root 1229 1 0 Feb 19 ? 0:03 /usr/sbin/trapdestagt
# egrep -v "^#|^$" /etc/snmpd.conf
get-community-name: public
# egrep -v "^#|^$" /etc/SnmpAgent.d/snmpd.conf
get-community-name: public
# lsof -iUDP |egrep -i "snmp|mib"
snmpdm 1196 root 5u inet 0x4ed72c68 0t0 UDP *:snmp (Idle)
snmpdm 1196 root 6u inet 0x4ed7b468 0t0 UDP *:* (Unbound)
mib2agt 1220 root 0u inet 0x4eee9868 0t0 UDP *:* (Unbound)
both servers seems to be identic...however, one does not send filesystem and network informations.
how can i locally check what informations are returned from snmp ?
of course, i've restarted the snmp init scripts (tried automatically and manually according to the snmpd(1M) man page)
thanks for help
--
Cedrick Gaillard
Best regards, Cedrick Gaillard
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-29-2008 11:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-29-2008 02:37 PM
тАО02-29-2008 02:37 PM
Re: how can i test snmp
snmpd does not "send" anything outside of what is sent by traps. It is queried by an snmp management server or by some other facility.
net-snmp has snmpwalk and get commands you can use to test. So do other M$ applications.
I still would think that if you copied a config file from one to another they should report something identical.
Typically the only restrictions are supplied in the config file with read community strings and / or specific restrictions to OID levels/tree.
By default HP snmpd only populates the network OID and limited system info provided in the config file. Other items are either buried somewhere else or not supplied at all without the HPOV add-ons.
I have always used net-snmp to provide all the basics ( cpu, mem, disk ) that other vendors do not seem to have a problem sharing by default.
net-snmp has snmpwalk and get commands you can use to test. So do other M$ applications.
I still would think that if you copied a config file from one to another they should report something identical.
Typically the only restrictions are supplied in the config file with read community strings and / or specific restrictions to OID levels/tree.
By default HP snmpd only populates the network OID and limited system info provided in the config file. Other items are either buried somewhere else or not supplied at all without the HPOV add-ons.
I have always used net-snmp to provide all the basics ( cpu, mem, disk ) that other vendors do not seem to have a problem sharing by default.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2008 08:25 AM
тАО03-01-2008 08:25 AM
Re: how can i test snmp
snmpwalk -v -c
EXAMPLE:
snmpwalk -v 1 -c public 172.16.10.254 interface
EXAMPLE:
snmpwalk -v 1 -c public 172.16.10.254 interface
a warrior never quits
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP