Note: Only needed if you have a UPS that you want to montior, and a data cable connecting it to your machine.
Follow these blog instructions for setting up NUT (NUT = network UPS tool).
desc = "UPSONIC DS-800 UPS"
desc = "APC BackUPS ES 500"
desc = "Eaton Powerware 5110, 700VA"
... other than that it was all as per the blog post.
# Uncomment sensors, and nut (if you have a UPS and configured NUT in the above step).
sudo chown www-data.www-data collection.cgi .
echo "PUTVAL $HOST/exec-uptime/charge-uptime interval=$INTERVAL N:$TEMP"
echo "PUTVAL $HOST/exec-smartmon/charge-offline_uncorrectable interval=$INTERVAL N:$TEMP"
.... the above will give you a graph of days uptime, and number of uncorrectable SMART errors. Note that the y axis will be wrong (will be mislabeled as "charge" in "Ah", when for the uptime graph it will be number of days, and for the smartmon graph it will be number of uncorrectable errors), but the information is otherwise correct.
If you ever want to reset the stats, they are stored under /var/lib/collectd/rrd/`hostname -f` - so you can stop collectd and delete unwanted stats, then restart collectd.
# this, and you will get slower downloads because the link will be too congested.
# Controls if the session torrent is saved when a torrent finishes. We don't want it.
This page was last modified on 18 August 2010, at 06:40.