X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fstatic%2Fcheckcommands.cfg;h=91d55a4d5c7302b454cb4685392066e5f2e6a2ef;hb=d4dd3cfff042aa28efe8445a47daa69588bf6baf;hp=4126961f2845f8ae46180478de964aa5f1c58b5a;hpb=1c129432f22cb3bf8578270766231aa81e93ec4a;p=mirror%2Fdsa-nagios.git diff --git a/config/static/checkcommands.cfg b/config/static/checkcommands.cfg index 4126961..91d55a4 100644 --- a/config/static/checkcommands.cfg +++ b/config/static/checkcommands.cfg @@ -67,3 +67,15 @@ define command{ command_name dsa_check_ntp command_line /usr/lib/nagios/plugins/check_ntp_time -H '$HOSTADDRESS$' } +define command{ + command_name dsa_check_port_closed + command_line /usr/lib/nagios/plugins/dsa-check-port-closed -H '$HOSTADDRESS$' -p $ARG1$ +} +define command{ + command_name dsa_check_https_want_auth + command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -e 'HTTP/1.1 401' +} +define command{ + command_name dsa_check_https_any_status + command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -e 'HTTP/1.1 ' +}