[Pkg-nagios-changes] [pkg-nagios] r1095 -
nagios-plugins/trunk/debian/pluginconfig
Jan Wagner
waja-guest at alioth.debian.org
Mon Jan 8 09:15:52 CET 2007
Author: waja-guest
Date: 2007-01-08 09:15:52 +0100 (Mon, 08 Jan 2007)
New Revision: 1095
Modified:
nagios-plugins/trunk/debian/pluginconfig/disk.cfg
nagios-plugins/trunk/debian/pluginconfig/ftp.cfg
nagios-plugins/trunk/debian/pluginconfig/http.cfg
nagios-plugins/trunk/debian/pluginconfig/ldap.cfg
nagios-plugins/trunk/debian/pluginconfig/mail.cfg
nagios-plugins/trunk/debian/pluginconfig/news.cfg
nagios-plugins/trunk/debian/pluginconfig/ntp.cfg
nagios-plugins/trunk/debian/pluginconfig/pgsql.cfg
nagios-plugins/trunk/debian/pluginconfig/snmp.cfg
nagios-plugins/trunk/debian/pluginconfig/ssh.cfg
nagios-plugins/trunk/debian/pluginconfig/tcp_udp.cfg
nagios-plugins/trunk/debian/pluginconfig/telnet.cfg
Log:
add ipv4 specific checks and some minor cosmetic fixes
Modified: nagios-plugins/trunk/debian/pluginconfig/disk.cfg
===================================================================
--- nagios-plugins/trunk/debian/pluginconfig/disk.cfg 2007-01-05 12:55:49 UTC (rev 1094)
+++ nagios-plugins/trunk/debian/pluginconfig/disk.cfg 2007-01-08 08:15:52 UTC (rev 1095)
@@ -16,4 +16,12 @@
command_line /usr/lib/nagios/plugins/check_by_ssh -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$'
}
+####
+# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
+####
+# 'ssh_disk_4' command definition
+define command{
+ command_name ssh_disk_4
+ command_line /usr/lib/nagios/plugins/check_by_ssh -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$' -4
+ }
Modified: nagios-plugins/trunk/debian/pluginconfig/ftp.cfg
===================================================================
--- nagios-plugins/trunk/debian/pluginconfig/ftp.cfg 2007-01-05 12:55:49 UTC (rev 1094)
+++ nagios-plugins/trunk/debian/pluginconfig/ftp.cfg 2007-01-08 08:15:52 UTC (rev 1095)
@@ -4,3 +4,12 @@
command_line /usr/lib/nagios/plugins/check_ftp -H $HOSTADDRESS$
}
+####
+# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
+####
+
+# 'check_ftp_4' command definition
+define command{
+ command_name check_ftp_4
+ command_line /usr/lib/nagios/plugins/check_ftp -H $HOSTADDRESS$ -4
+ }
Modified: nagios-plugins/trunk/debian/pluginconfig/http.cfg
===================================================================
--- nagios-plugins/trunk/debian/pluginconfig/http.cfg 2007-01-05 12:55:49 UTC (rev 1094)
+++ nagios-plugins/trunk/debian/pluginconfig/http.cfg 2007-01-08 08:15:52 UTC (rev 1095)
@@ -29,3 +29,37 @@
command_line /usr/lib/nagios/plugins/check_http --ssl -H $HOSTADDRESS$ -I $HOSTADDRESS$ -a $ARG1$
}
+####
+# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
+####
+
+# 'check_http_4' command definition
+define command{
+ command_name check_http_4
+ command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -I $HOSTADDRESS$ -4
+ }
+
+
+# 'check_http2_4' command definition
+define command{
+ command_name check_http2_4
+ command_line /usr/lib/nagios/plugins/check_http -H $ARG1$ -I $HOSTADDRESS$ -w $ARG2$ -c $ARG3$ -4
+ }
+
+# 'check_squid_4' command definition
+define command{
+ command_name check_squid_4
+ command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -p $ARG1$ -u $ARG2$ -e 'HTTP/1.0 200 OK' -4
+ }
+
+# 'check_https_4' command definition
+define command{
+ command_name check_https_4
+ command_line /usr/lib/nagios/plugins/check_http --ssl -H $HOSTADDRESS$ -I $HOSTADDRESS$ -4
+}
+
+# 'check_https_auth_4' command definition
+define command{
+ command_name check_https_auth_4
+ command_line /usr/lib/nagios/plugins/check_http --ssl -H $HOSTADDRESS$ -I $HOSTADDRESS$ -a $ARG1$ -4
+ }
Modified: nagios-plugins/trunk/debian/pluginconfig/ldap.cfg
===================================================================
--- nagios-plugins/trunk/debian/pluginconfig/ldap.cfg 2007-01-05 12:55:49 UTC (rev 1094)
+++ nagios-plugins/trunk/debian/pluginconfig/ldap.cfg 2007-01-08 08:15:52 UTC (rev 1095)
@@ -4,3 +4,12 @@
command_line /usr/lib/nagios/plugins/check_ldap -H $HOSTADDRESS$ -b $ARG1$
}
+####
+# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
+####
+
+# 'check_ldap_4' command definition
+define command{
+ command_name check_ldap_4
+ command_line /usr/lib/nagios/plugins/check_ldap -H $HOSTADDRESS$ -b $ARG1$ -4
+ }
Modified: nagios-plugins/trunk/debian/pluginconfig/mail.cfg
===================================================================
--- nagios-plugins/trunk/debian/pluginconfig/mail.cfg 2007-01-05 12:55:49 UTC (rev 1094)
+++ nagios-plugins/trunk/debian/pluginconfig/mail.cfg 2007-01-08 08:15:52 UTC (rev 1095)
@@ -59,3 +59,43 @@
command_name check_mailq_qmail
command_line /usr/lib/nagios/plugins/check_mailq -w $ARG1$ -c $ARG2$ -M qmail
}
+
+####
+# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
+####
+
+# 'check_pop_4' command definition
+define command {
+ command_name check_pop_4
+ command_line /usr/lib/nagios/plugins/check_pop -H $HOSTADDRESS$ -4
+}
+
+# 'check_smtp_4' command definition
+define command {
+ command_name check_smtp_4
+ command_line /usr/lib/nagios/plugins/check_smtp -H $HOSTADDRESS$ -4
+}
+
+# 'check_ssmtp_4' command definition
+define command {
+ command_name check_ssmtp_4
+ command_line /usr/lib/nagios/plugins/check_ssmtp -H $HOSTADDRESS$ -4
+}
+
+# 'check_imap_4' command definition
+define command {
+ command_name check_imap_4
+ command_line /usr/lib/nagios/plugins/check_imap -H $HOSTADDRESS$ -4
+}
+
+# 'check_spop_4' command definition
+define command {
+ command_name check_spop_4
+ command_line /usr/lib/nagios/plugins/check_pop -p 995 -H $HOSTADDRESS$ -S -4
+}
+
+# 'check_simap_4' command definition
+define command {
+ command_name check_simap_4
+ command_line /usr/lib/nagios/plugins/check_imap -p 993 -H $HOSTADDRESS$ -S -4
+}
Modified: nagios-plugins/trunk/debian/pluginconfig/news.cfg
===================================================================
--- nagios-plugins/trunk/debian/pluginconfig/news.cfg 2007-01-05 12:55:49 UTC (rev 1094)
+++ nagios-plugins/trunk/debian/pluginconfig/news.cfg 2007-01-08 08:15:52 UTC (rev 1095)
@@ -4,3 +4,12 @@
command_line /usr/lib/nagios/plugins/check_nntp -H $HOSTADDRESS$
}
+####
+# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
+####
+
+# 'check_nntp_4' command definition
+define command{
+ command_name check_nntp_4
+ command_line /usr/lib/nagios/plugins/check_nntp -H $HOSTADDRESS$ -4
+ }
Modified: nagios-plugins/trunk/debian/pluginconfig/ntp.cfg
===================================================================
--- nagios-plugins/trunk/debian/pluginconfig/ntp.cfg 2007-01-05 12:55:49 UTC (rev 1094)
+++ nagios-plugins/trunk/debian/pluginconfig/ntp.cfg 2007-01-08 08:15:52 UTC (rev 1095)
@@ -4,7 +4,6 @@
command_line /usr/lib/nagios/plugins/check_ntp -H $HOSTADDRESS$
}
-
# 'check_ntp_ntpq' command definition
define command{
command_name check_ntp_ntpq
Modified: nagios-plugins/trunk/debian/pluginconfig/pgsql.cfg
===================================================================
--- nagios-plugins/trunk/debian/pluginconfig/pgsql.cfg 2007-01-05 12:55:49 UTC (rev 1094)
+++ nagios-plugins/trunk/debian/pluginconfig/pgsql.cfg 2007-01-08 08:15:52 UTC (rev 1095)
@@ -4,3 +4,12 @@
command_line /usr/lib/nagios/plugins/check_pgsql -H $HOSTADDRESS$
}
+####
+# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
+####
+
+# 'check_pgsql_4' command definition
+define command{
+ command_name check_pgsql_4
+ command_line /usr/lib/nagios/plugins/check_pgsql -H $HOSTADDRESS$ -4
+ }
Modified: nagios-plugins/trunk/debian/pluginconfig/snmp.cfg
===================================================================
--- nagios-plugins/trunk/debian/pluginconfig/snmp.cfg 2007-01-05 12:55:49 UTC (rev 1094)
+++ nagios-plugins/trunk/debian/pluginconfig/snmp.cfg 2007-01-08 08:15:52 UTC (rev 1095)
@@ -106,7 +106,7 @@
# 'check_snmp_bgpstate' command definition
define command{
command_name check_snmp_bgpstate
- command_line /usr/lib/nagios/plugins/check_bgpstate -H $HOSTADDRESS$ -C public
+ command_line /usr/lib/nagios/plugins/check_bgpstate -H $HOSTADDRESS$ -C $ARG1$
}
Modified: nagios-plugins/trunk/debian/pluginconfig/ssh.cfg
===================================================================
--- nagios-plugins/trunk/debian/pluginconfig/ssh.cfg 2007-01-05 12:55:49 UTC (rev 1094)
+++ nagios-plugins/trunk/debian/pluginconfig/ssh.cfg 2007-01-08 08:15:52 UTC (rev 1095)
@@ -3,3 +3,13 @@
command_name check_ssh
command_line /usr/lib/nagios/plugins/check_ssh $HOSTADDRESS$
}
+
+####
+# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
+####
+
+# 'check_ssh_4' command definition
+define command{
+ command_name check_ssh_4
+ command_line /usr/lib/nagios/plugins/check_ssh $HOSTADDRESS$ -4
+ }
Modified: nagios-plugins/trunk/debian/pluginconfig/tcp_udp.cfg
===================================================================
--- nagios-plugins/trunk/debian/pluginconfig/tcp_udp.cfg 2007-01-05 12:55:49 UTC (rev 1094)
+++ nagios-plugins/trunk/debian/pluginconfig/tcp_udp.cfg 2007-01-08 08:15:52 UTC (rev 1095)
@@ -4,10 +4,24 @@
command_line /usr/lib/nagios/plugins/check_tcp -H $HOSTADDRESS$ -p $ARG1$
}
-
# 'check_udp' command definition
define command{
command_name check_udp
command_line /usr/lib/nagios/plugins/check_udp -H $HOSTADDRESS$ -p $ARG1$
}
+####
+# 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
+ }
+
+# '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
+ }
Modified: nagios-plugins/trunk/debian/pluginconfig/telnet.cfg
===================================================================
--- nagios-plugins/trunk/debian/pluginconfig/telnet.cfg 2007-01-05 12:55:49 UTC (rev 1094)
+++ nagios-plugins/trunk/debian/pluginconfig/telnet.cfg 2007-01-08 08:15:52 UTC (rev 1095)
@@ -4,3 +4,12 @@
command_line /usr/lib/nagios/plugins/check_tcp -H $HOSTADDRESS$ -p 23
}
+####
+# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
+####
+
+# 'check_telnet_4' command definition
+define command{
+ command_name check_telnet_4
+ command_line /usr/lib/nagios/plugins/check_tcp -H $HOSTADDRESS$ -p 23 -4
+ }
More information about the Pkg-nagios-changes
mailing list