-
Re: NET-SNMP CPU Stats Inaccurate
rob.hock Mar 31, 2014 1:49 PM (in response to djobrien)What version of net-snmp is the system running? Let's make sure it's at least 5.4, since multi-cpu support was enhanced with that release.
-
Re: NET-SNMP CPU Stats Inaccurate
djobrien Apr 1, 2014 7:27 AM (in response to rob.hock)Version 5.6.1.1.001.
-
Re: NET-SNMP CPU Stats Inaccurate
djobrien Apr 1, 2014 7:56 AM (in response to djobrien)This works just fine on HP-UX 11.23 but not servers running 11.31. I have attached a sample snmpd.conf file for one of the newer servers. It's about as simple as it gets.
prmhpu88 /opt/iexpress/net-snmp/etc/snmp
# cat snmpd.conf
###########################################################################
#
# snmpd.conf
#
# - created by the snmpconf configuration program
#
###########################################################################
# SECTION: System Information Setup
#
# This section defines some of the information reported in
# the "system" mib group in the mibII tree.
# syslocation: The [typically physical] location of the system.
# Note that setting this value here means that when trying to
# perform an snmp SET operation to the sysLocation.0 variable will make
# the agent return the "notWritable" error code. IE, including
# this token in the snmpd.conf file will disable write access to
# the variable.
# arguments: location_string
syslocation Parnall
syslocation Parnall
# sysservices: The proper value for the sysServices object.
# arguments: sysservices_number
sysservices 79
sysservices 1*1 + 1*2 + 1*4 + 1*8 + 1*64
###########################################################################
# SECTION: Access Control Setup
#
# This section defines who is allowed to talk to your running
# snmp agent.
# rwcommunity: a SNMPv1/SNMPv2c read-write access community name
# arguments: community [default|hostname|network/bits] [oid]
rwcommunity Ti1vscs
###########################################################################
# SECTION: Trap Destinations
#
# Here we define who the agent will send traps to.
# trap2sink: A SNMPv2c trap receiver
# arguments: host [community] [portnum]
trap2sink PRMWNT5V Ti1vscs 162
prmhpu88 /opt/iexpress/net-snmp/etc/snmp
#
-
-
-
Re: HP-UX Net-SNMP Multiple CPU Issue
djobrien Apr 1, 2014 3:49 PM (in response to rob.hock)Hopefully the extra details help I'm at a loss to why this is not working.
-
-
Re: HP-UX Net-SNMP Multiple CPU Issue
abdulraheemsidz Feb 28, 2018 2:20 AM (in response to djobrien)Has anyone got to know how to fix this, even we are getting only 1 CPU value if polling the HP-UX with NET-SNMP.