From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- ...nagios-plugins-1.4.1-check_snmp_c_fix_alt.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 web/attachments/163283-nagios-plugins-1.4.1-check_snmp_c_fix_alt.patch (limited to 'web/attachments/163283-nagios-plugins-1.4.1-check_snmp_c_fix_alt.patch') diff --git a/web/attachments/163283-nagios-plugins-1.4.1-check_snmp_c_fix_alt.patch b/web/attachments/163283-nagios-plugins-1.4.1-check_snmp_c_fix_alt.patch new file mode 100644 index 0000000..47d51fc --- /dev/null +++ b/web/attachments/163283-nagios-plugins-1.4.1-check_snmp_c_fix_alt.patch @@ -0,0 +1,25 @@ +--- nagios-plugins-1.4.2/plugins/check_snmp.c.orig Wed Jun +1 15:41: +01 2005 ++++ nagios-plugins-1.4.2/plugins/check_snmp.c Thu Jan 12 +18:22: +47 2006 +@@ -337,10 +337,17 @@ + asprintf (&outbuff, "%s %s", outbuff, unitv[i]); + + i++; +- ++#if 0 + char *str[MAX_INPUT_BUFFER]; + asprintf(str, "=%s%s;;;; ", show, type ? type : ""); + strcat(perfstr, *str); ++#else ++ strcat(perfstr, "="); ++ strcat(perfstr, show); ++ if (type) ++ strcat(perfstr, type); ++ strcat(perfstr, ";;;; "); ++#endif + + } /* end while (ptr) */ + -- cgit v1.2.3-74-g34f1