[Nagiosplug-checkins] CVS: nagiosplug command.cfg.in,1.2,1.3
Subhendu Ghosh
sghosh at users.sourceforge.net
Mon May 27 20:15:02 CEST 2002
Update of /cvsroot/nagiosplug/nagiosplug
In directory usw-pr-cvs1:/tmp/cvs-serv5150
Modified Files:
command.cfg.in
Log Message:
option updates, more examples
Index: command.cfg.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/command.cfg.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** command.cfg.in 28 May 2002 02:41:30 -0000 1.2
--- command.cfg.in 28 May 2002 03:14:03 -0000 1.3
***************
*** 170,174 ****
# Check if the IMAP service is alive (default port=143)
! command[check-imap]=@libexecdir@/check_imap $HOSTADDRESS$
# Check RPC services
--- 170,174 ----
# Check if the IMAP service is alive (default port=143)
! command[check-imap]=@libexecdir@/check_imap -H $HOSTADDRESS$
# Check RPC services
***************
*** 178,182 ****
command[check-nfs]=@libexecdir@/check_rpc -H $HOSTADDRESS$ -C nfs -c2,3
! # Check game servers/bin/ps -axo 'stat uid ppid comm args'
command[check_quake]=@libexecdir@/check_game qs $HOSTADDRESS$
command[check_unreal]=@libexecdir@/check_game uns $HOSTADDRESS$ -p $ARG1$ -pf 8
--- 178,182 ----
command[check-nfs]=@libexecdir@/check_rpc -H $HOSTADDRESS$ -C nfs -c2,3
! # Check game servers
command[check_quake]=@libexecdir@/check_game qs $HOSTADDRESS$
command[check_unreal]=@libexecdir@/check_game uns $HOSTADDRESS$ -p $ARG1$ -pf 8
***************
*** 214,221 ****
command[check_real]=@libexecdir@/check_real $HOSTADDRESS$ -p $ARG1$ -wt $ARG2$ -ct $ARG3$ -to 5
# Still have to write sample entries for the following:
#
# check_ldap
- # check_nwstat
# check_overcr
--- 214,228 ----
command[check_real]=@libexecdir@/check_real $HOSTADDRESS$ -p $ARG1$ -wt $ARG2$ -ct $ARG3$ -to 5
+ # NetWare checks via check_nwstat
+ # how many current logins
+ command[check_netware_logins]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "CONNS" -w $ARG1$ -c $ARG2$
+ # 5 minute avg cpu load
+ command[check_netware_5load]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "LOAD5" -w 70 -c 90
+ # Netware 5 abends
+ command[check_netware_abend]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "ABENDS" -w 10 -c 30
+
# Still have to write sample entries for the following:
#
# check_ldap
# check_overcr
More information about the Commits
mailing list