Changeset 716 for noc/nagios/checkcommands.cfg
- Timestamp:
- Apr 7, 2008, 6:56:45 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
noc/nagios/checkcommands.cfg
r429 r716 34 34 ################################################################################ 35 35 36 37 38 39 ################################################################################40 #41 # SAMPLE SERVICE CHECK COMMANDS42 #43 # These are some example service check commands. They may or may not work on44 # your system, as they must be modified for your plugins. See the HTML45 # documentation on the plugins for examples of how to configure command definitions.46 #47 ################################################################################48 49 50 # 'check_dns' command definition51 define command{52 command_name check_dns53 command_line $USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$54 }55 56 57 # 'check_ftp' command definition58 define command{59 command_name check_ftp60 command_line $USER1$/check_ftp -H $HOSTADDRESS$61 }62 63 64 # 'check_hpjd' command definition65 define command{66 command_name check_hpjd67 command_line $USER1$/check_hpjd -H $HOSTADDRESS$ -C public68 }69 70 71 # 'check_http' command definition72 define command{73 command_name check_http74 command_line $USER1$/check_http -H $HOSTADDRESS$75 }76 36 77 37 # 'check_http_heartbeat' command definition … … 115 75 } 116 76 117 118 # 'check_nntp' command definition119 define command{120 command_name check_nntp121 command_line $USER1$/check_nntp -H $HOSTADDRESS$122 }123 124 125 # 'check_ping' command definition126 define command{127 command_name check_ping128 command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5129 }130 131 132 # 'check_pop' command definition133 define command{134 command_name check_pop135 command_line $USER1$/check_pop -H $HOSTADDRESS$136 }137 138 139 # 'check_smtp' command definition140 define command{141 command_name check_smtp142 command_line $USER1$/check_smtp -H $HOSTADDRESS$143 }144 145 146 # 'check_tcp' command definition147 define command{148 command_name check_tcp149 command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$150 }151 152 153 # 'check_telnet' command definition154 define command{155 command_name check_telnet156 command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 23157 }158 159 160 # 'check_udp' command definition161 define command{162 command_name check_udp163 command_line $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$164 }165 166 167 168 169 77 ################################################################################ 170 78 # … … 185 93 # } 186 94 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 # } 196 99 197 100 define command { … … 251 154 252 155 define command { 253 command_name check_mysql254 command_line $USER1$/check_mysql -H $HOSTADDRESS$ -a $USER3$ $USER4$255 }256 257 define command {258 156 command_name check_remote_mysql 259 157 command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_mysql -a $USER3$ $USER4$
Note: See TracChangeset
for help on using the changeset viewer.