[Pkg-nagios-changes] [pkg-nagios-plugins] 61/413: remove static community string in ifstatus.cfg and leave notice in NEWS.Debian

Jan Wagner waja at moszumanska.debian.org
Tue Nov 26 23:13:06 UTC 2013


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository pkg-nagios-plugins.

commit 7c29bd37f01cc898fb5e078d5ac04e6c2e26baa1
Author: Jan Wagner <waja at cyconet.org>
Date:   Thu Jan 11 14:10:59 2007 +0000

    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(-)

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 <waja at cyconet.org>  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 <seanius at copelandia.seanius.net>  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$
 	}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins.git



More information about the Pkg-nagios-changes mailing list