[munin] retrait plugin vigile
Il n'affiche rien de pertinent anyway.
This commit is contained in:
parent
20fdae6ac2
commit
a15eec657b
2 changed files with 0 additions and 30 deletions
26
munin/vigile
Executable file → Normal file
26
munin/vigile
Executable file → Normal file
|
@ -1,26 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
file_host=`basename $0 | sed 's/^vigile_//g' | sed 's/_/-/g'`
|
||||
host=${host:-${file_host}}
|
||||
|
||||
if [ -z "$host" ]; then
|
||||
echo 'no host to ping'
|
||||
exit 2
|
||||
fi
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
echo host_name $host
|
||||
echo graph_title Monitoring of $host
|
||||
echo 'graph_args --lower-limit 0 --upper-limit 1024 --rigid'
|
||||
echo 'graph_vlabel units'
|
||||
echo 'graph_category other'
|
||||
echo 'graph_info This graph shows activity.'
|
||||
echo "motion.label motion"
|
||||
echo 'motion.draw LINE2'
|
||||
echo 'light.label light'
|
||||
echo 'light.draw LINE2'
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo 'passo,d=?' | nc -w1 -u $host 1200 | perl -ne 'printf("motion.value %d\n",300*($1+$2+$3)) if /d=(\d):(\d):(\d)$/'
|
||||
echo 'passo,a=?' | nc -w1 -u $host 1200 | perl -ne 'printf("light.value %d\n",$1) if /^a=(\d+)$/'
|
Loading…
Add table
Add a link
Reference in a new issue