sensord notes
Updated on Thu, 2018-07-12 13:10. Originally created by wbetts on 2018-07-12 12:55.
update /var/www/html/sensord/index.html
add the appropriate .cgi file based on the sample or an existing host into /var/www/cgi-bin/sensord/
install lm_sensors and lm_sensors-sensord
run sensors-detect (usually with --auto is fine)
edit /etc/sysconfig/sensord, particularly RRD_INTERVAL and RRD_LOGFILE
edit /usr/lib/systemd/system/sensord.service, particularly adding "-a -t $RRD_INTERVAL -r $RRD_LOGFILE" to the ExecStart command (which these options are used by default is a mystery to me)
Run 'systemctl daemon-reload', 'systemctl enable sensord', and 'systemctl start sensord'
Skeleton outline of sensord setup on RHEL/ScLin 7:
on the web server:
add a directory in /var/www/html/sensord for the rrd file and the graph imagesupdate /var/www/html/sensord/index.html
add the appropriate .cgi file based on the sample or an existing host into /var/www/cgi-bin/sensord/
On the machine being monitored:
install lm_sensors and lm_sensors-sensord
run sensors-detect (usually with --auto is fine)
edit /etc/sysconfig/sensord, particularly RRD_INTERVAL and RRD_LOGFILE
edit /usr/lib/systemd/system/sensord.service, particularly adding "-a -t $RRD_INTERVAL -r $RRD_LOGFILE" to the ExecStart command (which these options are used by default is a mystery to me)
Run 'systemctl daemon-reload', 'systemctl enable sensord', and 'systemctl start sensord'
»
- wbetts's blog
- Login or register to post comments