summaryrefslogtreecommitdiff
path: root/files/plugins/nagios_svc
diff options
context:
space:
mode:
authorMarcel Haerry <haerry@puzzle.ch>2011-08-04 10:22:48 +0200
committerMarcel Haerry <haerry@puzzle.ch>2011-08-04 10:22:48 +0200
commit447041b01494690975d078776a85f4a3fd4e64fa (patch)
tree0d09932e8466de8208144aa034de401398151ca6 /files/plugins/nagios_svc
parent553fbe3e1d3c6865172c1db8cf93d69fb936dc18 (diff)
parenteb953716cd545f86972e85d983b5862c194f5aed (diff)
merge with immerda/master
Diffstat (limited to 'files/plugins/nagios_svc')
-rwxr-xr-xfiles/plugins/nagios_svc33
1 files changed, 0 insertions, 33 deletions
diff --git a/files/plugins/nagios_svc b/files/plugins/nagios_svc
deleted file mode 100755
index 3938999..0000000
--- a/files/plugins/nagios_svc
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-
-if [ "$1" = "config" ]; then
- echo 'graph_title Nagios service stats'
- echo 'graph_args --base 1000 -l 0'
- echo 'graph_vlabel services'
- echo 'graph_category nagios'
- echo 'graph_info The number of services checked by nagios'
- echo 'ok.label ok'
- echo 'ok.draw AREA'
- echo 'ok.info number of services OK'
- echo 'warn.label warn'
- echo 'warn.draw STACK'
- echo 'warn.info number of services WARNING'
- echo 'crit.label crit'
- echo 'crit.draw STACK'
- echo 'crit.info number of services CRITICAL'
- echo 'unkn.label unkn'
- echo 'unkn.draw STACK'
- echo 'unkn.info number of services UNKNOWN'
-
- exit 0
-fi
-
-echo -n 'ok.value '
-nagios2stats --mrtg --data NUMSVCOK
-echo -n 'warn.value '
-nagios2stats --mrtg --data NUMSVCWARN
-echo -n 'crit.value '
-nagios2stats --mrtg --data NUMSVCCRIT
-echo -n 'unkn.value '
-nagios2stats --mrtg --data NUMSVCUNKN
-