From b74ea32070492c251943d69a09265463cc9866ed Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 4 Sep 2019 22:54:49 +0200 Subject: Cleaned configuration for PDV infrastructure (incomplete) integrated with my Conky monitoring scripts --- config/pdv/servers/01_commands_www.cfg | 41 ++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 config/pdv/servers/01_commands_www.cfg (limited to 'config/pdv/servers/01_commands_www.cfg') diff --git a/config/pdv/servers/01_commands_www.cfg b/config/pdv/servers/01_commands_www.cfg new file mode 100644 index 0000000..b7cc196 --- /dev/null +++ b/config/pdv/servers/01_commands_www.cfg @@ -0,0 +1,41 @@ +define command { + command_name check_http_redirect + command_line $USER1$/check_http -H $HOSTADDRESS$ -f ok -u '$ARG1$' $ARG2$ +} + +define command { + command_name check_vhost_redirect + command_line $USER1$/check_http -H $ARG1$ -f ok -u '$ARG2$' $ARG3$ +} + +define command { + command_name check_http_page + command_line $USER1$/check_http -H $HOSTADDRESS$ -f follow -u '$ARG1$' $ARG2$ +} + +define command { + command_name check_https_page + command_line $USER1$/check_http -S -H $HOSTADDRESS$ -f follow -u '$ARG1$' $ARG2$ +} + +define command { + command_name check_http_page_content + command_line $USER1$/check_http -H $HOSTADDRESS$ -f follow -u '$ARG1$' -r '$ARG2$' +} + +define command { + command_name check_vhost_page + command_line $USER1$/check_http -H $ARG1$ -f follow -u '$ARG2$' +} + +define command { + command_name check_vhost_page_content + command_line $USER1$/check_http -H $ARG1$ -f follow -u '$ARG2$' -r '$ARG3$' +} + + + +define command { + command_name check_http_service + command_line $USER1$/check_http -H $HOSTADDRESS$ -f follow -p $ARG1$ -u '$ARG2$' -r '$ARG3$' +} -- cgit v1.2.3