Ignore:
Timestamp:
Apr 29, 2009, 1:28:12 PM (13 years ago)
Author:
quentin
Message:
Treat NRPE connection failures as 'UNKNOWN' service state, and don't notify on UNKNOWN services
File:
1 edited

Legend:

Unmodified
Added
Removed
  • noc/nagios/checkcommands.cfg

    r1090 r1106  
    110110define command {
    111111        command_name    check_remote_users
    112         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_users -a $ARG1$ $ARG2$
     112        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_users -a $ARG1$ $ARG2$
    113113}
    114114
    115115define command {
    116116        command_name    check_remote_load
    117         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_load -a $ARG1$ $ARG2$
     117        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_load -a $ARG1$ $ARG2$
    118118}
    119119
    120120define command {
    121121        command_name    check_remote_disk
    122         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk -a $ARG1$ $ARG2$
     122        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_disk -a $ARG1$ $ARG2$
    123123}
    124124
    125125define command {
    126126        command_name    check_remote_disk_p
    127         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk_p -a $ARG1$ $ARG2$ $ARG3$
     127        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_disk_p -a $ARG1$ $ARG2$ $ARG3$
    128128}
    129129
    130130define command {
    131131        command_name    check_remote_procs
    132         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_procs -a $ARG1$ $ARG2$
     132        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_procs -a $ARG1$ $ARG2$
    133133}
    134134
    135135define command {
    136136        command_name    check_remote_procs_C
    137         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_procs_C -a $ARG1$ $ARG2$ $ARG3$
     137        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_procs_C -a $ARG1$ $ARG2$ $ARG3$
    138138}
    139139
    140140define command {
    141141        command_name    check_remote_procs_P
    142         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_procs_P -a $ARG1$ $ARG2$ $ARG3$
     142        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_procs_P -a $ARG1$ $ARG2$ $ARG3$
    143143}
    144144
    145145define command {
    146146        command_name    check_remote_procs_m
    147         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_procs_m -a $ARG1$ $ARG2$ $ARG3$
     147        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_procs_m -a $ARG1$ $ARG2$ $ARG3$
    148148}
    149149
    150150define command {
    151151        command_name    check_remote_procs_s
    152         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_procs_s -a $ARG1$ $ARG2$ $ARG3$
     152        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_procs_s -a $ARG1$ $ARG2$ $ARG3$
    153153}
    154154
    155155define command {
    156156        command_name    check_remote_procs_u
    157         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_procs_u -a $ARG1$ $ARG2$ $ARG3$
     157        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_procs_u -a $ARG1$ $ARG2$ $ARG3$
    158158}
    159159
    160160define command {
    161161        command_name    check_remote_procs_z
    162         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_procs_z -a $ARG1$ $ARG2$ $ARG3$
     162        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_procs_z -a $ARG1$ $ARG2$ $ARG3$
    163163}
    164164
    165165define command {
    166166        command_name    check_remote_mysql
    167         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_mysql -a $USER3$ $USER4$
     167        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_mysql -a $USER3$ $USER4$
    168168}
    169169
    170170define command {
    171171        command_name    check_remote_mysql_slave
    172         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_mysql_S -a $USER3$ $USER4$
     172        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_mysql_S -a $USER3$ $USER4$
    173173}
    174174
    175175define command {
    176176        command_name    check_remote_afs
    177         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_afs
     177        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_afs
    178178}
    179179
    180180define command {
    181181        command_name    check_remote_cron_working
    182         command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_cron_working
     182        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_cron_working
    183183}
    184184
Note: See TracChangeset for help on using the changeset viewer.