[Pkg-nagios-changes] [pkg-nagios-plugins] 55/413: add explicit IPv6 checks to ping.cfg

Jan Wagner waja at moszumanska.debian.org
Tue Nov 26 23:13:05 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 b18c1da6a5dea945566711a31a7d981fd291a9fd
Author: Jan Wagner <waja at cyconet.org>
Date:   Thu Dec 21 22:27:14 2006 +0000

    add explicit IPv6 checks to ping.cfg
---
 debian/changelog             |  3 +++
 debian/pluginconfig/ping.cfg | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d032fc2..29c356f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ nagios-plugins (1.4.5-3) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
 
+  [jan wagner]
+  * add explicit IPv4 checks to ping.cfg
+
  -- sean finney <seanius at copelandia.seanius.net>  Wed,  6 Dec 2006 23:47:12 +0100
 
 nagios-plugins (1.4.5-2) unstable; urgency=medium
diff --git a/debian/pluginconfig/ping.cfg b/debian/pluginconfig/ping.cfg
index 323b573..d762019 100644
--- a/debian/pluginconfig/ping.cfg
+++ b/debian/pluginconfig/ping.cfg
@@ -32,3 +32,41 @@ define command{
 	command_line	/usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1
 	}
 
+####
+# use these checks, if you wonna test IPv4 connectivity on IPv6 enabled systems
+####
+
+# 'check_ping_4' command definition
+define command{
+	command_name	check_ping
+	command_line	/usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -4
+	}
+
+
+# 'check-host-alive_4' command definition
+define command{
+	command_name	check-host-alive
+	command_line	/usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 -4
+	}
+
+
+# 'check-printer-alive_4' command definition
+define command{
+	command_name	check-printer-alive
+	command_line	/usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 -4
+	}
+
+
+# 'check-switch-alive_4' command definition
+define command{
+	command_name	check-switch-alive
+	command_line	/usr/lib/nagios/plugins/check_ping $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 -4
+	}
+
+
+# 'check-router-alive_4' command definition
+define command{
+	command_name	check-router-alive
+	command_line	/usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 -4
+	}
+

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