From 7c29bd37f01cc898fb5e078d5ac04e6c2e26baa1 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Thu, 11 Jan 2007 14:10:59 +0000 Subject: [PATCH] remove static community string in ifstatus.cfg and leave notice in NEWS.Debian --- debian/NEWS.Debian | 9 +++++++++ debian/changelog | 1 + debian/pluginconfig/ifstatus.cfg | 6 +++--- 3 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 debian/NEWS.Debian diff --git a/debian/NEWS.Debian b/debian/NEWS.Debian new file mode 100644 index 0000000..02437e2 --- /dev/null +++ b/debian/NEWS.Debian @@ -0,0 +1,9 @@ +nagios-plugins (1.4.5-3) unstable; urgency=low + +ifstatus.cfg has changed. Now you have to provide a community in the first +argument ($ARG1$). Description and IfIndex moved to second argument ($ARG2$). + +E.g.: use "check_ifstatus!public" instead of "check_ifstatus" as +check_command! + + -- Jan Wagner Thu, 11 Jan 2007 14:56:47 +0100 diff --git a/debian/changelog b/debian/changelog index 9044367..4d23139 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,7 @@ nagios-plugins (1.4.5-3) UNRELEASED; urgency=low * add whois to Suggests of nagios-plugins-standard * fixed static community string for check_snmp_bgpstate in ping.cfg (closes: #403892). + * remove static community string in ifstatus.cfg -- sean finney Wed, 6 Dec 2006 23:47:12 +0100 diff --git a/debian/pluginconfig/ifstatus.cfg b/debian/pluginconfig/ifstatus.cfg index 1553419..210e53c 100644 --- a/debian/pluginconfig/ifstatus.cfg +++ b/debian/pluginconfig/ifstatus.cfg @@ -1,20 +1,20 @@ # 'check_ifstatus' command definition define command{ command_name check_ifstatus - command_line /usr/lib/nagios/plugins/check_ifstatus -H $HOSTADDRESS$ -C public + command_line /usr/lib/nagios/plugins/check_ifstatus -H $HOSTADDRESS$ -C $ARG1$ } # 'check_ifoperstatus_ifindex' command definition define command{ command_name check_ifoperstatus_ifindex - command_line /usr/lib/nagios/plugins/check_ifoperstatus -H $HOSTADDRESS$ -C public -k $ARG1$ + command_line /usr/lib/nagios/plugins/check_ifoperstatus -H $HOSTADDRESS$ -C $ARG1$ -k $ARG2$ } # 'check_ifoperstatus_ifdescr' command definition define command{ command_name check_ifoperstatus_ifdescr - command_line /usr/lib/nagios/plugins/check_ifoperstatus -H $HOSTADDRESS$ -C public -d $ARG1$ + command_line /usr/lib/nagios/plugins/check_ifoperstatus -H $HOSTADDRESS$ -C $ARG1$ -d $ARG2$ }