diff options
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-02-03 20:35:18 (GMT) |
---|---|---|
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-02-03 20:35:18 (GMT) |
commit | 32a25b2c456939f235c29d484bb2914798688c33 (patch) | |
tree | 8657166f9f680e983d802f80f3f8bb47315e26dc | |
parent | 5e96a7943b0b9c42f04cb97249855365375662b5 (diff) | |
download | monitoring-plugins-32a25b2c456939f235c29d484bb2914798688c33.tar.gz |
more sample command configurations
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@282 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | command.cfg.in | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/command.cfg.in b/command.cfg.in index 8cc0be7..cec058a 100644 --- a/command.cfg.in +++ b/command.cfg.in | |||
@@ -22,6 +22,10 @@ | |||
22 | # Note: Service check, service notification, host check, host notification, | 22 | # Note: Service check, service notification, host check, host notification, |
23 | # service event handler, and host event handler functions are all defined | 23 | # service event handler, and host event handler functions are all defined |
24 | # here. | 24 | # here. |
25 | # | ||
26 | # Note: Use the convertcfg program in the contrib directory of the Nagios | ||
27 | # distribution to convert this file into a object file format. | ||
28 | # | ||
25 | ############################################################################### | 29 | ############################################################################### |
26 | 30 | ||
27 | # Service notification command - send email with problem summary | 31 | # Service notification command - send email with problem summary |
@@ -69,6 +73,8 @@ command[check_smtp]=@libexecdir@/check_smtp -H $HOSTADDRESS$ | |||
69 | command[check_nntp]=@libexecdir@/check_nntp -H $HOSTADDRESS$ | 73 | command[check_nntp]=@libexecdir@/check_nntp -H $HOSTADDRESS$ |
70 | command[check_telnet]=@libexecdir@/check_tcp -H $HOSTADDRESS$ -p 23 | 74 | command[check_telnet]=@libexecdir@/check_tcp -H $HOSTADDRESS$ -p 23 |
71 | command[check_users]=@libexecdir@/check_users -w $ARG1$ -c $ARG2$ | 75 | command[check_users]=@libexecdir@/check_users -w $ARG1$ -c $ARG2$ |
76 | command[check_ntp]=@libexecdir@/check_ntp -H $HOSTADDRESS$ | ||
77 | command[check_flexlm]=@libexecdir@/check_flexlm -F $ARG1$ | ||
72 | command[check_hpjd]=@libexecdir@/check_hpjd -H $HOSTADDRESS$ -C public | 78 | command[check_hpjd]=@libexecdir@/check_hpjd -H $HOSTADDRESS$ -C public |
73 | command[check_mrtg]=@libexecdir@/check_mrtg $ARG1$ 10 AVG $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ | 79 | command[check_mrtg]=@libexecdir@/check_mrtg $ARG1$ 10 AVG $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ |
74 | command[traffic_average]=@libexecdir@/check_mrtgtraf $ARG1$ 10 AVG $ARG2$ $ARG3$ $ARG4$ $ARG5$ | 80 | command[traffic_average]=@libexecdir@/check_mrtgtraf $ARG1$ 10 AVG $ARG2$ $ARG3$ $ARG4$ $ARG5$ |
@@ -231,13 +237,34 @@ command[check_real_url]=@libexecdir@/check_real $HOSTADDRESS$ -p $ARG1$ -wt $ARG | |||
231 | ## Check RealAudio server response | 237 | ## Check RealAudio server response |
232 | command[check_real]=@libexecdir@/check_real $HOSTADDRESS$ -p $ARG1$ -wt $ARG2$ -ct $ARG3$ -to 5 | 238 | command[check_real]=@libexecdir@/check_real $HOSTADDRESS$ -p $ARG1$ -wt $ARG2$ -ct $ARG3$ -to 5 |
233 | 239 | ||
234 | # NetWare checks via check_nwstat | 240 | # NetWare checks via check_nwstat ( see "check_nwstat -h" for more options) |
235 | # how many current logins | 241 | # how many current logins |
236 | command[check_netware_logins]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "CONNS" -w $ARG1$ -c $ARG2$ | 242 | command[check_netware_logins]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "LOGINS" -w $ARG1$ -c $ARG2$ |
243 | # how many current connections | ||
244 | command[check_nwstat_conns]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v CONNS -w $ARG1$ -c $ARG2$ | ||
245 | # 1 minute avg cpu load | ||
246 | command[check_netware_1load]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "LOAD1" -w 70 -c 90 | ||
237 | # 5 minute avg cpu load | 247 | # 5 minute avg cpu load |
238 | command[check_netware_5load]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "LOAD5" -w 70 -c 90 | 248 | command[check_netware_5load]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "LOAD5" -w 70 -c 90 |
249 | # 15 minute avg cpu load | ||
250 | command[check_netware_15load]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "LOAD15" -w 70 -c 90 | ||
251 | # Disk volume (% free) | ||
252 | command[check_nwstat_vol_p]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v VPF$ARG1$ -w $ARG2$ -c $ARG3$ | ||
253 | # Disk volume (KB free) | ||
254 | command[check_nwstat_vol_k]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v VKF$ARG1$ -w $ARG2$ -c $ARG3$ | ||
255 | # % Long term cache hits | ||
256 | command[check_nwstat_ltch]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v LTCH -w $ARG1$ -c $ARG2$ | ||
257 | # % (of max) used packet receive buffers | ||
258 | command[check_nwstat_puprb]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v PUPRB -w $ARG1$ -c $ARG2$ | ||
259 | # Check to see if the DS database is open | ||
260 | command[check_nwstat_dsdb]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v DSDB | ||
261 | |||
262 | |||
263 | |||
239 | # Netware 5 abends | 264 | # Netware 5 abends |
240 | command[check_netware_abend]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "ABENDS" -w 10 -c 30 | 265 | command[check_netware_abend]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "ABENDS" -w 10 -c 30 |
266 | # Netware 5 number of current service procs | ||
267 | command[check_nwstat_csprocs]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v CSPROCS -w $ARG1$ -c $ARG2$ | ||
241 | 268 | ||
242 | 269 | ||
243 | # Still have to write sample entries for the following: | 270 | # Still have to write sample entries for the following: |