aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2002-06-18 01:06:16 +0000
committerGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2002-06-18 01:06:16 +0000
commit0db01536cb9cd5717ccbaca005fd9a6236dd7a6b (patch)
treeb70842a4036063505ed3aa200c554afe48ac16f5
parent040f1650d0b26c580c44e8c978011510e330b412 (diff)
downloadmonitoring-plugins-0db01536cb9cd5717ccbaca005fd9a6236dd7a6b.tar.gz
updated to POSIX return codes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@53 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/common.h.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/common.h.in b/plugins/common.h.in
index 9cb4bcbb..72817028 100644
--- a/plugins/common.h.in
+++ b/plugins/common.h.in
@@ -102,8 +102,8 @@
#define STATE_CRITICAL 2 /* service state return codes */
#define STATE_WARNING 1
#define STATE_OK 0
-#define STATE_UNKNOWN -1
-#define STATE_DEPENDENT -2
+#define STATE_UNKNOWN 3
+#define STATE_DEPENDENT 4
#define DEFAULT_SOCKET_TIMEOUT 10 /* timeout after 10 seconds */