aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Ken D <kdobbins@op5.com> 2018-08-27 09:53:11 -0500
committerGravatar Lorenz Kästle <lorenz.kaestle@netways.de> 2022-01-14 15:52:00 +0100
commit69fed9d08363085e8f6689bc8c9df2e9ad0f4cdb (patch)
tree123d8dba56360a396de6f6f34d86b1074e55ed16 /plugins
parenta1f328900049852d9a2b4c810c28b49e2101e337 (diff)
downloadmonitoring-plugins-69fed9d08363085e8f6689bc8c9df2e9ad0f4cdb.tar.gz
Updated int state to human readable
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_snmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index 66d761c6..bd13e579 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -113,7 +113,7 @@ char *authproto = NULL;
char *privproto = NULL;
char *authpasswd = NULL;
char *privpasswd = NULL;
-int nulloid = 3;
+int nulloid = STATE_UNKNOWN;
char **oids = NULL;
size_t oids_size = 0;
char *label;