SOURCES: nagios-nsca.submit - allow to specify return code by numb...
havner
havner at pld-linux.org
Wed Aug 10 09:34:16 CEST 2005
Author: havner Date: Wed Aug 10 07:34:16 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- allow to specify return code by number (useful for $?)
---- Files affected:
SOURCES:
nagios-nsca.submit (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/nagios-nsca.submit
diff -u SOURCES/nagios-nsca.submit:1.3 SOURCES/nagios-nsca.submit:1.4
--- SOURCES/nagios-nsca.submit:1.3 Tue Aug 9 15:36:42 2005
+++ SOURCES/nagios-nsca.submit Wed Aug 10 09:34:10 2005
@@ -60,6 +60,9 @@
UNKNOWN)
RETURN_CODE=3
;;
+ [0-3])
+ RETURN_CODE="$CODE"
+ ;;
esac
# pipe the service check info into the send_nsca program, which
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/nagios-nsca.submit?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list