summaryrefslogtreecommitdiffstats
path: root/debian/pluginconfig/ping.cfg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:48:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:48:23 +0000
commit1996ee29b14379b832b08614ed9a3acef376b6fa (patch)
tree814166bc23fef6ad8ba11da1673018a8e937d3f5 /debian/pluginconfig/ping.cfg
parentAdding upstream version 2.3.5. (diff)
downloadmonitoring-plugins-1996ee29b14379b832b08614ed9a3acef376b6fa.tar.xz
monitoring-plugins-1996ee29b14379b832b08614ed9a3acef376b6fa.zip
Adding debian version 2.3.5-1.debian/2.3.5-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/pluginconfig/ping.cfg')
-rw-r--r--debian/pluginconfig/ping.cfg72
1 files changed, 72 insertions, 0 deletions
diff --git a/debian/pluginconfig/ping.cfg b/debian/pluginconfig/ping.cfg
new file mode 100644
index 0000000..4d76cab
--- /dev/null
+++ b/debian/pluginconfig/ping.cfg
@@ -0,0 +1,72 @@
+# 'check_ping' command definition
+define command{
+ command_name check_ping
+ command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$'
+ }
+
+
+# 'check-host-alive' 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
+ }
+
+
+# 'check-printer-alive' 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
+ }
+
+
+# 'check-switch-alive' command definition
+define command{
+ command_name check-switch-alive
+ command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
+ }
+
+
+# 'check-router-alive' 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
+ }
+
+####
+# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
+####
+
+# 'check_ping_4' command definition
+define command{
+ command_name check_ping_4
+ 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_4
+ 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_4
+ 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_4
+ command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
+ }
+
+
+# 'check-router-alive_4' command definition
+define command{
+ command_name check-router-alive_4
+ command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
+ }
+