[munin/mge_*] Mise à jour pour le nouvel onduleur

darcs-hash:20090116225327-ffbb2-3d0017a8d835ed1b3241176de04f92f0d6ca8565.gz
This commit is contained in:
Nicolas Dandrimont 2009-01-16 23:53:27 +01:00
parent 88e8bf76dd
commit e35cbd92e9
4 changed files with 7 additions and 6 deletions

View file

@ -11,4 +11,5 @@ fi
cmd="snmpget -O vq -v1 -c public pulsar.adm.crans.org SNMPv2-SMI::enterprises.705.1."
echo "hygro.value $(${cmd}8.2.0)"
t=$(${cmd}8.2.0)
echo "hygro.value $(($t/10)).$(($t%10))"

View file

@ -17,7 +17,7 @@ fi
cmd="snmpget -O vq -v1 -c public pulsar.adm.crans.org SNMPv2-SMI::enterprises.705.1."
input=$(${cmd}6.2.1.6.0)
input=$(${cmd}6.2.1.6.1.0)
output=$(${cmd}7.2.1.5.0)
echo "input.value $(($input/10)).$(($input%10))"

View file

@ -8,14 +8,14 @@ if [ "$1" = "config" ]; then
echo 'graph_title Autonomie'
echo 'graph_vlabel t (minutes)'
echo 'remain.label Autonomie restante'
echo 'charg.label Temps de recharge'
# echo 'charg.label Temps de recharge'
exit 0
fi
cmd="snmpget -O vq -v1 -c public pulsar.adm.crans.org SNMPv2-SMI::enterprises.705.1."
remain=$(${cmd}5.1.0) # autonomie restante
charg=$(${cmd}5.8.0) # temps avant charge complère des batteries
#charg=$(${cmd}5.8.0) # temps avant charge complère des batteries
echo "remain.value $(($remain/60)).$(($remain%60*10/6))"
echo "charg.value $(($charg/60)).$(($charg%60*10/6))"
#echo "charg.value $(($charg/60)).$(($charg%60*10/6))"

View file

@ -16,7 +16,7 @@ fi
cmd="snmpget -O vq -v1 -c public pulsar.adm.crans.org SNMPv2-SMI::enterprises.705.1."
input=$(${cmd}6.2.1.2.0)
input=$(${cmd}6.2.1.2.1.0)
output=$(${cmd}7.2.1.2.0)
echo "input.value $(($input/10)).$(($input%10))"