summaryrefslogtreecommitdiffstats
path: root/debian/pluginconfig/curl-http.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/curl-http.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/curl-http.cfg')
-rw-r--r--debian/pluginconfig/curl-http.cfg111
1 files changed, 111 insertions, 0 deletions
diff --git a/debian/pluginconfig/curl-http.cfg b/debian/pluginconfig/curl-http.cfg
new file mode 100644
index 0000000..d3b967b
--- /dev/null
+++ b/debian/pluginconfig/curl-http.cfg
@@ -0,0 +1,111 @@
+# 'check_curl_http' command definition
+define command{
+ command_name check_curl_http
+ command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$'
+ }
+
+# 'check_curl_httpname' command definition
+define command{
+ command_name check_curl_httpname
+ command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$'
+ }
+
+# 'check_curl_http2' command definition
+define command{
+ command_name check_curl_http2
+ command_line /usr/lib/nagios/plugins/check_curl -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' '$ARG4$'
+ }
+
+# 'check_curl_squid' command definition
+define command{
+ command_name check_curl_squid
+ command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$'
+ }
+
+# 'check_curl_https' command definition
+define command{
+ command_name check_curl_https
+ command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$'
+ }
+
+# 'check_curl_https_httpname' command definition
+define command{
+ command_name check_curl_https_hostname
+ command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$'
+ }
+
+# 'check_curl_https_auth' command definition
+define command{
+ command_name check_curl_https_auth
+ command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$'
+ }
+
+# 'check_curl_https_auth_hostname' command definition
+define command{
+ command_name check_curl_https_auth_hostname
+ command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$'
+ }
+
+# 'check_curl_cups' command definition
+define command{
+ command_name check_curl_cups
+ command_line /usr/lib/nagios/plugins/check_curl -I '$HOSTADDRESS$' -p 631 '$ARG1$'
+ }
+
+####
+# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
+####
+
+# 'check_curl_http_4' command definition
+define command{
+ command_name check_curl_http_4
+ command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 '$ARG1$'
+ }
+
+# 'check_curl_httpname_4' command definition
+define command{
+ command_name check_curl_httpname_4
+ command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$'
+ }
+
+# 'check_curl_http2_4' command definition
+define command{
+ command_name check_curl_http2_4
+ command_line /usr/lib/nagios/plugins/check_curl -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' -4 '$ARG4$'
+ }
+
+# 'check_curl_squid_4' command definition
+define command{
+ command_name check_curl_squid_4
+ command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -4
+ }
+
+# 'check_curl_https_4' command definition
+define command{
+ command_name check_curl_https_4
+ command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 '$ARG1$'
+ }
+
+# 'check_curls_https_hostname_4' command definition
+define command{
+ command_name check_curl_https_hostname_4
+ command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$'
+ }
+
+# 'check_curl_https_auth_4' command definition
+define command{
+ command_name check_curl_https_auth_4
+ command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$'
+ }
+
+# 'check_curl_https_auth_hostname_4' command definition
+define command{
+ command_name check_curl_https_auth_hostname_4
+ command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$'
+ }
+
+# 'check_curl_cups_4' command definition
+define command{
+ command_name check_curl_cups_4
+ command_line /usr/lib/nagios/plugins/check_curl -I '$HOSTADDRESS$' -p 631 -4 '$ARG1$'
+ }