[monitoring-plugins] Updated int state to human readable

Lorenz Kästle git at monitoring-plugins.org
Fri Jan 14 16:10:11 CET 2022


    Module: monitoring-plugins
    Branch: master
    Commit: 69fed9d08363085e8f6689bc8c9df2e9ad0f4cdb
    Author: Ken D <kdobbins at op5.com>
 Committer: Lorenz Kästle <lorenz.kaestle at netways.de>
      Date: Mon Aug 27 09:53:11 2018 -0500
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=69fed9d

Updated int state to human readable

---

 plugins/check_snmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index 66d761c..bd13e57 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;



More information about the Commits mailing list