Problems with CPU-Usage Monitoring via SNMP

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
nimrod
Posts: 1
Joined: Thu Aug 11, 2005 6:27 am

Problems with CPU-Usage Monitoring via SNMP

Post by nimrod »

Hi,

I got some trouble in setting up a working CPU-Usage Monitoring using MIB-HOST. I already learned that using the HOST-MIB-Template cacti tries to query snmp using the following OID:

.1.3.6.1.2.1.25.3.3.1

Doing a snmpwalk ( snmpwalk -v 2c -m ALL -c COMMUNITYSTRING localhost .1.3.6.1.2.1.25.3.3.1) returns the following:

HOST-RESOURCES-MIB::hrProcessorFrwID.768 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.769 = OID: SNMPv2-SMI::zeroDotZero

As I understand this result (SNMPv2-SMI::zeroDotZero) means that those data isn't available.

Some words to the used software:

- cacti (0.8.6f)
- kernel (2.6.6)
- net-snmp (5.2.1.2) with the following config

Code: Select all

#       sec.name  source          community
com2sec local     localhost        COMMUNITYSTRING

# Second, map the security name into a group name:

#       groupName      securityModel securityName
group MyROGroup  v1         local
group MyROGroup  v2c        local
group MyROGroup  usm        local


####
# Third, create a view for us to let the group have rights to:

#       name           incl/excl     subtree         mask(optional)
view all    included  .1                               80


####
# Finally, grant the group read-only access to the systemview view.

#       group          context sec.model sec.level prefix read   write  notif
access MyROGroup ""      any       noauth    exact      all    none   none
It looks like something on the net-snmp-side is wrong but until now I haven't figured out what .. any one out there with idea's or suggestions?
InfInIte
Posts: 23
Joined: Wed Apr 14, 2004 12:27 pm

Post by InfInIte »

I'm having the same problem is above.
Does someone knows a solution by now?
suso
Posts: 1
Joined: Thu Jan 26, 2006 9:02 am
Location: Bloomington, IN
Contact:

Post by suso »

I'm guessing both of you are using Linux. According to the net-snmp folks, its not in net-snmp. Apperently because hrProcessorFwdID was an idea that didn't work because its hard to calculate on things like multiprocessor systems. So I guess system load is what we're stuck with. Cacti's processor load template should probably be changed.

see http://www.net-snmp.org/docs/FAQ.html#W ... r_systems_ for more information about it.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest