summaryrefslogtreecommitdiffstats
path: root/debian/pluginconfig/http.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'debian/pluginconfig/http.cfg')
-rw-r--r--debian/pluginconfig/http.cfg111
1 files changed, 111 insertions, 0 deletions
diff --git a/debian/pluginconfig/http.cfg b/debian/pluginconfig/http.cfg
new file mode 100644
index 0000000..16072de
--- /dev/null
+++ b/debian/pluginconfig/http.cfg
@@ -0,0 +1,111 @@
+# 'check_http' command definition
+define command{
+ command_name check_http
+ command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$'
+ }
+
+# 'check_http_hostname' command definition
+define command{
+ command_name check_httpname
+ command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$'
+ }
+
+# 'check_http2' command definition
+define command{
+ command_name check_http2
+ command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' '$ARG4$'
+ }
+
+# 'check_squid' command definition
+define command{
+ command_name check_squid
+ command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$'
+ }
+
+# 'check_https' command definition
+define command{
+ command_name check_https
+ command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$'
+ }
+
+# 'check_https_hostname' command definition
+define command{
+ command_name check_https_hostname
+ command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$'
+ }
+
+# 'check_https_auth' command definition
+define command{
+ command_name check_https_auth
+ command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$'
+ }
+
+# 'check_https_auth_hostname' command definition
+define command{
+ command_name check_https_auth_hostname
+ command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$'
+ }
+
+# 'check_cups' command definition
+define command{
+ command_name check_cups
+ command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 '$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 '$ARG1$'
+ }
+
+# 'check_http_hostname_4' command definition
+define command{
+ command_name check_httpname_4
+ command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$'
+ }
+
+# '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 '$ARG4$'
+ }
+
+# '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$' -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 '$ARG1$'
+ }
+
+# 'check_https_hostname_4' command definition
+define command{
+ command_name check_https_hostname_4
+ command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$'
+ }
+
+# '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 '$ARG2$'
+ }
+
+# 'check_https_auth_hostname_4' command definition
+define command{
+ command_name check_https_auth_hostname_4
+ command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$'
+ }
+
+# 'check_cups_4' command definition
+define command{
+ command_name check_cups_4
+ command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 -4 '$ARG1$'
+ }