Here's my first graph template.
This graph template uses the SNMP MIBs provided by the HP Smartstart management tools that come on the CD with all HP Proliant servers to graph cpu usage (user, system, total).
I am currently using Cacti on a HP Proliant DL740 with Red Hat Linux Advanced Server 3.0 installed.
I am also using the following software:
net-snmp-cmaX-libs-5.1.2-220 (Red Hat RPM)
net-snmp-cmaX-devel-5.1.2-220 (Red Hat RPM)
net-snmp-cmaX-utils-5.1.2-220 (Red Hat RPM)
net-snmp-cmaX-perl-5.1.2-220 (Red Hat RPM)
net-snmp-cmaX-5.1.2-220 (Red Hat RPM)
RRDTool 1.2.11 (compiled from source)
Apache 2.0.54 (compiled from source)
PHP 4.4.0 (compiled from source)
MySQL Standard 4.0.25 (Binary linux dist)
Cacti 0.8.6f
I'd like to monitor more than just plain old total cpu usage so I used snmpwalk and found better snmp OIDs for each individual CPU as follows:
Code: Select all
# snmpwalk -Of -c m3and3r -v 1 localhost .1.3.6.1.4.1.232.23.2.3.2.1
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.1.0 = INTEGER: 0
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.1.1 = INTEGER: 1
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.1.2 = INTEGER: 2
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.1.3 = INTEGER: 3
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.1.4 = INTEGER: 4
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.1.5 = INTEGER: 5
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.1.6 = INTEGER: 6
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.1.7 = INTEGER: 7
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.1.8 = INTEGER: 8
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.2.0 = STRING: "Total"
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.2.1 = STRING: "Processor 1"
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.2.2 = STRING: "Processor 2"
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.2.3 = STRING: "Processor 3"
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.2.4 = STRING: "Processor 4"
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.2.5 = STRING: "Processor 5"
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.2.6 = STRING: "Processor 6"
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.2.7 = STRING: "Processor 7"
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.2.8 = STRING: "Processor 8"
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.3.0 = Counter32: 370
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.3.1 = Counter32: 44
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.3.2 = Counter32: 28
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.3.3 = Counter32: 196
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.3.4 = Counter32: 0
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.3.5 = Counter32: 58
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.3.6 = Counter32: 0
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.3.7 = Counter32: 8
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.3.8 = Counter32: 33
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.4.0 = Counter32: 99
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.4.1 = Counter32: 99
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.4.2 = Counter32: 99
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.4.3 = Counter32: 99
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.4.4 = Counter32: 99
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.4.5 = Counter32: 99
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.4.6 = Counter32: 99
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.4.7 = Counter32: 99
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.4.8 = Counter32: 99
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.7.0 = Counter32: 75
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.7.1 = Counter32: 73
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.7.2 = Counter32: 73
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.7.3 = Counter32: 75
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.7.4 = Counter32: 74
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.7.5 = Counter32: 76
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.7.6 = Counter32: 77
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.7.7 = Counter32: 75
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.7.8 = Counter32: 77
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.8.0 = Counter32: 24
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.8.1 = Counter32: 25
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.8.2 = Counter32: 26
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.8.3 = Counter32: 24
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.8.4 = Counter32: 25
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.8.5 = Counter32: 23
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.8.6 = Counter32: 22
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.8.7 = Counter32: 24
.iso.org.dod.internet.private.enterprises.232.23.2.3.2.1.8.8 = Counter32: 22
I shall probably configure a graph template for the others but I'm not sure what the .1.3.x OIDs are for. Anyone got an idea?
This server has 4 Xeon processors, which is why it shows up as 8 logical processors in "top" and in SNMP.