Move stuff around
[mirror/dsa-nagios.git] / dsa-nagios-nrpe-config / dsa-update-samhain-status
diff --git a/dsa-nagios-nrpe-config/dsa-update-samhain-status b/dsa-nagios-nrpe-config/dsa-update-samhain-status
deleted file mode 100755 (executable)
index 22bd1dc..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-STATUS=/var/cache/dsa/nagios/samhain
-
-tmp=`tempfile`
-trap "rm -f '$tmp'" exit
-/usr/lib/nagios/plugins/dsa-check-samhain -t 1800 > "$tmp"
-result="$?"
-case "$result" in
-  0)
-       st="OK"
-       ;;
-  1)
-       st="WARNING"
-       ;;
-  2)
-       st="CRITICAL"
-       ;;
-  *)
-       st="UNKNOWN"
-       ;;
-esac
-(echo "$st"; cat "$tmp") > "$STATUS"