On regroupe les plugins munin dans un rpertoire commun toutes les machines
darcs-hash:20060420130121-72cb0-50f87f8f01382a2ddc9afec1b1b6e02890d8d32c.gz
This commit is contained in:
parent
674ee00ed0
commit
f672fa493b
23 changed files with 1451 additions and 0 deletions
17
munin/mge_temp
Executable file
17
munin/mge_temp
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
echo 'host_name pulsar.crans.org'
|
||||
echo 'graph_category Environnement'
|
||||
echo 'graph_title Température 0B'
|
||||
echo 'graph_vlabel Température en (°C)'
|
||||
echo 'temp.label Température 0B'
|
||||
echo 'temp.warning 22'
|
||||
echo 'temp.critical 24'
|
||||
exit 0
|
||||
fi
|
||||
|
||||
cmd="snmpget -O vq -v1 -c public pulsar.adm.crans.org SNMPv2-SMI::enterprises.705.1."
|
||||
|
||||
t=$(${cmd}8.1.0)
|
||||
echo "temp.value $(($t/10)).$(($t%10))"
|
Loading…
Add table
Add a link
Reference in a new issue