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