]> git.somenet.org - root/munin.git/blob - isup
LICENCE.txt (gpl v3)
[root/munin.git] / isup
1 #!/bin/sh
2
3 if [ "$1" = "autoconf" ]; then
4         echo "yes"
5         exit 0
6 fi
7
8 if [ "$1" = "config" ]; then
9     echo "graph_title is node up?"
10     echo "graph_info This graph will show a red *up* in the overview, if the node is up."
11     echo "graph_category *up*"
12     echo "graph_order up"
13     echo "graph_printf %.0lf"
14     echo "graph_scale no"
15     echo "graph_args -l 0"
16     echo "contacts no"
17     echo "up.label up"
18     echo "up.critical 1"
19     echo "up.draw AREA"
20     echo "up.info Always value=2 and critical=1"
21     echo "up.max 2"
22     exit 0
23 fi
24 echo "up.value 2"
25 echo "up.extinfo Last timestamp: `date --rfc-3339=seconds`"
26 exit 0