*Be less strict with pylint checks to make the jenkins test happy
[shinken.git] / etc / commands.cfg
blobc5ab24de8d50f77113373b1d6af37715c5dec6f5
1 #Template and commons things in this file
4 #First : commands
6 #Pollertag is a advanced features for mix architectures. Look at the doc for it.
7 define command{
8         command_name    check_linux_host_alive
9         command_line    $USER1$/check_tcp -H $HOSTADDRESS$ -p 22 -t 3
10         #poller_tag     DMZ
11         #module_type    nrpe_poller
14 #Pollertag is a advanced features for mix architectures. Look at the doc for it.
15 define command{
16         command_name    check_host_alive
17         command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w 1,50% -c 2,70% -p 1
18         #poller_tag     DMZ
19         #module_type    nrpe_poller
23 define command{
24         command_name    check_windows_host_alive
25         command_line    $USER1$/check_tcp -H $HOSTADDRESS$ -p 139 -t 3
26         #poller_tag     DMZ
27         #module_type    nrpe_poller
31 define command{
32         command_name    check_local_disk
33         command_line    $USER1$/check.sh $HOSTADDRESS$ -c $ARG1$ SERVICE $USER1$
34         #poller_tag     DMZ
35         #module_type    nrpe_poller
39 # Dummy cehck port command
40 define command{
41        command_name     check_port
42        command_line     $USER1$/check.sh $HOSTADDRESS$ -c $ARG1$
43        #poller_tag      DMZ
44        #module_type     nrpe_poller
47 # Dummy check for mysql, always CRITICAL
48 define command{
49        command_name     check_mysql
50        command_line     $USER1$/check_dummy.sh 2
54 define command{
55         command_name    check_dummy
56         command_line    $USER1$/check_dummy.sh $ARG1$
57         #poller_tag     DMZ
61 define command{
62         command_name    super_event_kill_everyone
63         command_line    $USER1$/check.sh $HOSTADDRESS$ -c $ARG1$ SERVICE $_HOSTDELLSUCK$
67 # We say Http checks are always OK
68 define command{
69         command_name    check_http
70         command_line    $USER1$/check_dummy.sh 1
71         #module_type    nrpe_poller
74 define command{
75         command_name    check-host-alive
76         command_line    $USER1$/check.sh $HOSTADDRESS$ -c $ARG1$ HOST $_HOSTDELLSUCK$ $SERVICEDESC:srv-1:Service-2$ $SERVICEDESC::Service-30$ $HOSTADDRESS:$  $HOSTGROUPALIAS:linux-servers$
77         #module_type    dummy_poller
81 define command{
82        command_name     check_vm_cpu
83        command_line     $USER1$/check_esx3.pl -H lulu
87 #### Now notification commands
88 define command{
89         command_name                    notify-host-by-email
90         command_line                    $USER1$/sendmailhost.pl "$NOTIFICATIONTYPE$" "$HOSTNAME$" "$HOSTSTATE$" "$HOSTADDRESS$" "$HOSTOUTPUT$" "$SHORTDATETIME$" "$CONTACTEMAIL$"
93 define command{
94         command_name                    notify-service-by-email
95         command_line                    $USER1$/sendmailservices.pl "$NOTIFICATIONTYPE$" "$SERVICEDESC$" "$HOSTALIAS$" "$HOSTADDRESS$" "$SERVICESTATE$" "$SHORTDATETIME$" "$SERVICEOUTPUT$" "$CONTACTEMAIL$" "$SERVICENOTESURL$"