I have made template for monitor Temperature, Fan Speed and Voltages with SNMP on lm_sensors enabled Net-SNMP host.
- You may need to customize graph templates and other things suit to your system (and also colors you need).
- You may need to edit sensors.conf of lm_sensors and restart snmpd for change your sensor name from temp1, temp2, fan1, fan2 to CPU Temp, Chassis Fan, etc. (Try see output of 'sensors' command for get chip name and edit /etc/sensors.conf.
Add something like
Code:
label temp1 "CPU Temp"
label temp2 "Board Temp"
label fan1 "CPU Fan"
After
Code:
chip "CHIPNAME-*"
of your sensors chip.
It works for me(TM) for my cacti-0.8.6e on Gentoo
Cheers !
---
You can download templates here and import to your cacti
(use only lm_sensors, TCP connection statistics also work well
http://sf-alpha.bjgang.org/downloads/cacti/templates/
Download and put xml files under $CACTI/resources/snmp_queries
(use only lm_sensors)
http://sf-alpha.bjgang.org/downloads/cacti/queries/
---
This script just plot individual Temperature, Fan Speed and Temperature graph on each graph. If you want to graph them all in the one page like
http://forums.cacti.net/viewtopic.php?t=11590&highlight=netsnmp
You can create your own Graph Templates suit to your needs or use
script there (which may not usable on some systems, My DELL system have 7 Fans !!! 4 Temperature Sensors !!! Which not in order and you need to add it yourself with that script)