- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX 11.31 (recent install) - SNMP OIDs missing?
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
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
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
тАО06-11-2020 09:21 AM
тАО06-11-2020 09:21 AM
HP-UX 11.31 (recent install) - SNMP OIDs missing?
Years ago, we ahd written a utility to query OID's from HP-UX systems. Below are the OIDs that wwe used to calculate cpu, memory %used, disk space used, etc.
I have snmp (what comes with the system), but it only seems to return a small subset of the OIDs as compared to an HP-UX 11.31 system installed years ago. I tried to install the net-snmp package, but the MIB set appears to be limited there as well.
Any advice?
'GENERAL OID CONSTANTS
Public Const OID_ROOT As String = "1.3.6.1.4.1.11." 'HP OID BASE
'OID CONSTANTS
'CPU
Public Const OID_CPU_1MIN As String = OID_ROOT + "2.3.1.1.3.0"
Public Const OID_CPU_5MIN As String = OID_ROOT + "2.3.1.1.4.0"
Public Const OID_CPU_10MIN As String = OID_ROOT + "2.3.1.1.5.0"
'NEW 12/2/11 - RAW CPU OIDS
Public Const OID_CPU_USER As String = OID_ROOT + "2.3.1.1.13.0"
Public Const OID_CPU_SYSTEM As String = OID_ROOT + "2.3.1.1.14.0"
Public Const OID_CPU_IDLE As String = OID_ROOT + "2.3.1.1.15.0"
Public Const OID_CPU_NICE As String = OID_ROOT + "2.3.1.1.16.0"
'MEMORY
Public Const OID_MEM_TOTAL As String = OID_ROOT + "2.3.1.1.8.0"
Public Const OID_MEM_FREE As String = OID_ROOT + "2.3.1.1.7.0"
'DISK
Public Const OID_DISK_NAMES As String = OID_ROOT + "2.3.1.2.2.1.10"
Public Const OID_DISK_TOTAL As String = OID_ROOT + "2.3.1.2.2.1.4"
Public Const OID_DISK_FREE As String = OID_ROOT + "2.3.1.2.2.1.5"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2020 10:56 PM
тАО06-11-2020 10:56 PM
Re: HP-UX 11.31 (recent install) - SNMP OIDs missing?
Hello,
Years ago, we ahd written a utility to query OID's from HP-UX systems. Below are the OIDs that wwe used to calculate cpu, memory %used, disk space used, etc.
>>>> Which SNMP and which version of snmp agents were used on HPUX .
I have snmp (what comes with the system), but it only seems to return a small subset of the OIDs as compared to an HP-UX 11.31 system installed years ago. I tried to install the net-snmp package, but the MIB set appears to be limited there as well.
>>> Again Which version and what SNMP was used in HPUX 11.31 servers years before , and now its ONLY OV Enamate SNMP coming native for HPUX 11.31.
Net-SNof MP is capable querying OIDS for cpu, memory as many customers used for monitoring the same with solarwinds software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2020 11:32 AM
тАО06-12-2020 11:32 AM
Re: HP-UX 11.31 (recent install) - SNMP OIDs missing?
non-working (newer) HP-UX 11.31 system:
# Net-SNMP A.19.00-5.6.1.1.001 Simple Network Monitoring protocol
(installed via internet express package available for HP-UX.
root@cadfar01[/root]# /sbin/init.d/SnmpMaster start
SNMP Research EMANATE Agent Version 17.3.0.5
Copyright 1989-2013 SNMP Research, Inc.
Older, working system:
root@lasprd02 [/]# /sbin/init.d/SnmpMaster start
SNMP Research SNMP Agent Resident Module Version 15.3.1.0
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 SNMP Research, Inc.
(net-snmp not installed)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2020 11:38 AM
тАО06-12-2020 11:38 AM
Re: HP-UX 11.31 (recent install) - SNMP OIDs missing?
this is what I get back from net-snmp:
root@cadfar01[/root]# snmpwalk -m ALL -v 2c -c public localhost
SNMPv2-MIB::sysDescr.0 = STRING: HP-UX cadfar01 B.11.31 U ia64
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-TC::hpux11
DISMAN-EXPRESSION-MIB::sysUpTimeInstance = Timeticks: (9394297) 1 day, 2:05:42.97
SNMPv2-MIB::sysContact.0 = STRING: @@no.where
SNMPv2-MIB::sysName.0 = STRING: cadfar01
SNMPv2-MIB::sysLocation.0 = STRING: Unknown
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORID.1 = OID: SNMP-MPD-MIB::snmpMPDMIBObjects.3.1.1
SNMPv2-MIB::sysORID.2 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORID.3 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.5 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.6 = OID: RFC1213-MIB::ip
SNMPv2-MIB::sysORID.7 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.8 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.9 = OID: IF-MIB::ifMIB
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.3 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.8 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.9 = STRING: The MIB module to describe generic objects for network interface sub-layers
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.9 = Timeticks: (1) 0:00:00.01
IF-MIB::ifNumber.0 = INTEGER: 56
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifIndex.9 = INTEGER: 9
IF-MIB::ifIndex.10 = INTEGER: 10
IF-MIB::ifIndex.11 = INTEGER: 11
IF-MIB::ifIndex.12 = INTEGER: 12
IF-MIB::ifIndex.13 = INTEGER: 13
IF-MIB::ifIndex.14 = INTEGER: 14
IF-MIB::ifIndex.15 = INTEGER: 15
IF-MIB::ifIndex.16 = INTEGER: 16
IF-MIB::ifIndex.17 = INTEGER: 17
IF-MIB::ifIndex.18 = INTEGER: 18
IF-MIB::ifIndex.19 = INTEGER: 19
IF-MIB::ifIndex.20 = INTEGER: 20
IF-MIB::ifIndex.21 = INTEGER: 21
IF-MIB::ifIndex.22 = INTEGER: 22
IF-MIB::ifIndex.23 = INTEGER: 23
IF-MIB::ifIndex.24 = INTEGER: 24
IF-MIB::ifIndex.25 = INTEGER: 25
IF-MIB::ifIndex.26 = INTEGER: 26
IF-MIB::ifIndex.27 = INTEGER: 27
IF-MIB::ifIndex.28 = INTEGER: 28
IF-MIB::ifIndex.29 = INTEGER: 29
Timeout: No Response from localhost
(it's very slow, then seems to crash, always after INTEGER: 29)
Here is what I get from the native HP-UX SNMP:
root@cadfar01[/root]# snmpwalk -m ALL -v 2c -c public localhost
SNMPv2-MIB::sysDescr.0 = STRING: HP-UX cadfar01 B.11.31 U ia64 3672004400
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::zeroDotZero
DISMAN-EXPRESSION-MIB::sysUpTimeInstance = Timeticks: (8002) 0:01:20.02
SNMPv2-MIB::sysContact.0 = STRING: Colin Strugnell
SNMPv2-MIB::sysName.0 = STRING: cadfar01
SNMPv2-MIB::sysLocation.0 = STRING: Farnborough
SNMPv2-MIB::sysServices.0 = INTEGER: 72
SNMPv2-MIB::snmpInPkts.0 = Counter32: 12
SNMPv2-MIB::snmpOutPkts.0 = Counter32: 12
SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0
SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0
SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0
SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0
SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0
SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0
SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0
SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0
SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0
SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 22
SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0
SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 4
SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 22
SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0
SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0
SNMPv2-MIB::snmpInTraps.0 = Counter32: 0
SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0
SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0
SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0
SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0
SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0
SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0
SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0
SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 36
SNMPv2-MIB::snmpOutTraps.0 = Counter32: 0
SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1)
SNMPv2-MIB::snmpSilentDrops.0 = Counter32: 0
SNMPv2-MIB::snmpProxyDrops.0 = Counter32: 0
It's very fast, just not very many values returned.