summaryrefslogtreecommitdiffstats
path: root/debian/pluginconfig/tcp_udp.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/pluginconfig/tcp_udp.cfg27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/pluginconfig/tcp_udp.cfg b/debian/pluginconfig/tcp_udp.cfg
new file mode 100644
index 0000000..140e84c
--- /dev/null
+++ b/debian/pluginconfig/tcp_udp.cfg
@@ -0,0 +1,27 @@
+# 'check_tcp' command definition
+define command{
+ command_name check_tcp
+ command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$' '$ARG2$'
+ }
+
+# 'check_udp' command definition
+define command{
+ command_name check_udp
+ command_line /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$' '$ARG2$'
+ }
+
+####
+# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
+####
+
+# 'check_tcp_4' command definition
+define command{
+ command_name check_tcp_4
+ command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$' -4 '$ARG2$'
+ }
+
+# 'check_udp_4' command definition
+define command{
+ command_name check_udp_4
+ command_line /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$' -4 '$ARG2$'
+ }