diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-04 22:54:49 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-04 22:54:49 +0200 |
commit | b74ea32070492c251943d69a09265463cc9866ed (patch) | |
tree | 080bd9c8eb0b53491e118bdfed29f7cd61126bfe /config/pdv/servers/01_commands_www.cfg | |
download | pdvnagios-master.tar.gz pdvnagios-master.tar.bz2 pdvnagios-master.tar.xz pdvnagios-master.zip |
Cleaned configuration for PDV infrastructure (incomplete) integrated with my Conky monitoring scriptsHEADmaster
Diffstat (limited to 'config/pdv/servers/01_commands_www.cfg')
-rw-r--r-- | config/pdv/servers/01_commands_www.cfg | 41 |
1 files changed, 41 insertions, 0 deletions
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$' +} |