summaryrefslogtreecommitdiffstats
path: root/config/pdv/servers/01_commands_www.cfg
blob: b7cc196368ed7a4f5eec168225998a303b7ded48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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$'
}