Clean: (Hartmut Goebel) Reformating-and-textual-cleanup-for-shinken-acknowle
[shinken.git] / test / etc / obsess / commands.cfg
blob9603227a215f8bcf8cfbd4dc82e5497300e9df9e
1 define command{
2     command_name    check-host-alive
3     command_line    $USER1$/test_hostcheck.pl --type=$ARG1$ --failchance=2% --previous-state=$HOSTSTATE$ --state-duration=$HOSTDURATIONSEC$ --hostname $HOSTNAME$
5 define command{
6     command_name    check-host-alive-parent
7     command_line    $USER1$/test_hostcheck.pl --type=$ARG1$ --failchance=2% --previous-state=$HOSTSTATE$ --state-duration=$HOSTDURATIONSEC$ --parent-state=$ARG2$ --hostname $HOSTNAME$
9 define command{
10     command_name    notify-host
11     #command_line    sleep 1 && /bin/true
12     command_line    $USER1$/notifier.pl --hostname $HOSTNAME$ --notificationtype $NOTIFICATIONTYPE$ --hoststate $HOSTSTATE$ --hostoutput $HOSTOUTPUT$ --longdatetime $LONGDATETIME$ --hostattempt $HOSTATTEMPT$ --hoststatetype $HOSTSTATETYPE$
14 define command{
15     command_name    notify-service
16     command_line    $USER1$/notifier.pl --hostname $HOSTNAME$ --servicedesc $SERVICEDESC$ --notificationtype $NOTIFICATIONTYPE$ --servicestate $SERVICESTATE$ --serviceoutput $SERVICEOUTPUT$ --longdatetime $LONGDATETIME$ --serviceattempt $SERVICEATTEMPT$ --servicestatetype $SERVICESTATETYPE$
17     #command_line    sleep 1 && /bin/true
19 define command{
20     command_name    check_service
21     command_line    $USER1$/test_servicecheck.pl --type=$ARG1$ --failchance=5% --previous-state=$SERVICESTATE$ --state-duration=$SERVICEDURATIONSEC$ --total-critical-on-host=$TOTALHOSTSERVICESCRITICAL$ --total-warning-on-host=$TOTALHOSTSERVICESWARNING$ --hostname $HOSTNAME$ --servicedesc $SERVICEDESC$
23 define command{
24   command_name eventhandler
25   command_line    $USER1$/test_eventhandler.pl $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$
27 define command{
28   command_name    special_macro
29   command_line    $USER1$/nothing $ARG1$
31 define command{
32   command_name    submit_host_result
33   command_line    $USER1$/submit_host_result $ARG1$
35 define command{
36   command_name    submit_service_result
37   command_line    $USER1$/submit_service_result $ARG1$