Ignore:
Timestamp:
Apr 7, 2008, 6:56:45 AM (16 years ago)
Author:
quentin
Message:
Update Nagios configuration to run on Debian's nagios2
File:
1 edited

Legend:

Unmodified
Added
Removed
  • noc/nagios/checkcommands.cfg

    r429 r716  
    3434################################################################################
    3535
    36 
    37 
    38 
    39 ################################################################################
    40 #
    41 # SAMPLE SERVICE CHECK COMMANDS
    42 #
    43 # These are some example service check commands.  They may or may not work on
    44 # your system, as they must be modified for your plugins.  See the HTML
    45 # documentation on the plugins for examples of how to configure command definitions.
    46 #
    47 ################################################################################
    48 
    49 
    50 # 'check_dns' command definition
    51 define command{
    52         command_name    check_dns
    53         command_line    $USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$
    54         }
    55 
    56 
    57 # 'check_ftp' command definition
    58 define command{
    59         command_name    check_ftp
    60         command_line    $USER1$/check_ftp -H $HOSTADDRESS$
    61         }
    62 
    63 
    64 # 'check_hpjd' command definition
    65 define command{
    66         command_name    check_hpjd
    67         command_line    $USER1$/check_hpjd -H $HOSTADDRESS$ -C public
    68         }
    69 
    70 
    71 # 'check_http' command definition
    72 define command{
    73         command_name    check_http
    74         command_line    $USER1$/check_http -H $HOSTADDRESS$
    75         }
    7636
    7737# 'check_http_heartbeat' command definition
     
    11575        }
    11676
    117 
    118 # 'check_nntp' command definition
    119 define command{
    120         command_name    check_nntp
    121         command_line    $USER1$/check_nntp -H $HOSTADDRESS$
    122         }
    123 
    124 
    125 # 'check_ping' command definition
    126 define command{
    127         command_name    check_ping
    128         command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
    129         }
    130 
    131 
    132 # 'check_pop' command definition
    133 define command{
    134         command_name    check_pop
    135         command_line    $USER1$/check_pop -H $HOSTADDRESS$
    136         }
    137 
    138 
    139 # 'check_smtp' command definition
    140 define command{
    141         command_name    check_smtp
    142         command_line    $USER1$/check_smtp -H $HOSTADDRESS$
    143         }
    144 
    145 
    146 # 'check_tcp' command definition
    147 define command{
    148         command_name    check_tcp
    149         command_line    $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$
    150         }
    151 
    152 
    153 # 'check_telnet' command definition
    154 define command{
    155         command_name    check_telnet
    156         command_line    $USER1$/check_tcp -H $HOSTADDRESS$ -p 23
    157         }
    158 
    159 
    160 # 'check_udp' command definition
    161 define command{
    162         command_name    check_udp
    163         command_line    $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$
    164         }
    165 
    166 
    167 
    168 
    16977################################################################################
    17078#
     
    18593#        }
    18694
    187 define command{
    188         command_name    check-host-alive
    189         command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% -c 100,100% -p 1
    190         }
    191 
    192 define command {
    193         command_name    check_ssh
    194         command_line    $USER1$/check_ssh $HOSTADDRESS$
    195 }
     95#define command{
     96#        command_name    check-host-alive
     97#        command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% -c 100,100% -p 1
     98#        }
    19699
    197100define command {
     
    251154
    252155define command {
    253         command_name    check_mysql
    254         command_line    $USER1$/check_mysql -H $HOSTADDRESS$ -a $USER3$ $USER4$
    255 }
    256 
    257 define command {
    258156        command_name    check_remote_mysql
    259157        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_mysql -a $USER3$ $USER4$
Note: See TracChangeset for help on using the changeset viewer.