- 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: Select all
label temp1 "CPU Temp"
label temp2 "Board Temp"
label fan1 "CPU Fan"
Code: Select all
chip "CHIPNAME-*"
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 ... ht=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)