mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
tidied up
This commit is contained in:
parent
104797a874
commit
5c46d3fc72
@ -1,7 +1,12 @@
|
||||
#!/bin/sh
|
||||
# http://exchange.munin-monitoring.org/plugins/alertme_power/details
|
||||
#
|
||||
# alertme_power relies on http://code.google.com/p/alertmepi/
|
||||
# to have been installed and working
|
||||
#
|
||||
# 20110120 - update to use correct mixed case for AlertMe and remove cruft
|
||||
# left over from creating this plugin from another script
|
||||
#
|
||||
# add to the plugins-conf.d/munin so that it can read the /etc/alertme files
|
||||
# [alertme_*]
|
||||
# user root
|
||||
@ -16,9 +21,9 @@ if [ "$1" = "config" ] ; then
|
||||
/usr/local/bin/alertmepi.pl -d | egrep "is the power controller named|is the powerclamp named" >> $TMPFILE
|
||||
fi
|
||||
|
||||
echo "graph_title Alertme Power"
|
||||
echo "graph_title AlertMe Power"
|
||||
echo "graph_category environmental"
|
||||
echo -n "graph_info this graph shows alertme power measurements for "
|
||||
echo -n "graph_info this graph shows AlertMe power measurements for "
|
||||
head -1 $TMPFILE
|
||||
echo "graph_vlabel power (W)"
|
||||
|
||||
@ -42,6 +47,4 @@ do
|
||||
done
|
||||
)
|
||||
|
||||
#echo "ping_rtt.value $RTTAVG"
|
||||
#echo "ping_loss.value $PKTLOSS"
|
||||
|
||||
# end alertme_power munin_plugin
|
||||
|
Loading…
Reference in New Issue
Block a user