aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2002-05-28 03:14:03 +0000
committerGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2002-05-28 03:14:03 +0000
commit8ace30aa45f769e951dfd7d86bf43426c121f3dd (patch)
tree5f0a00e1b6096fbd2ef942ebbdfdeb837f24abc1
parent8f8e500dc1b8ddf4580c62d6edbae03f96268e2e (diff)
downloadmonitoring-plugins-8ace30aa45f769e951dfd7d86bf43426c121f3dd.tar.gz
option updates, more examples
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@41 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--command.cfg.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/command.cfg.in b/command.cfg.in
index adf63062..95d2599c 100644
--- a/command.cfg.in
+++ b/command.cfg.in
@@ -169,7 +169,7 @@ command[check-router-alive]=@libexecdir@/check_ping -H $HOSTADDRESS$ -w 5000,100
command[check-fast-alive]=@libexecdir@/check_fping -H $HOSTADDRESS$
# Check if the IMAP service is alive (default port=143)
-command[check-imap]=@libexecdir@/check_imap $HOSTADDRESS$
+command[check-imap]=@libexecdir@/check_imap -H $HOSTADDRESS$
# Check RPC services
command[check-rpc]=@libexecdir@/check_rpc -H $HOSTADDRESS$ -C $ARG1$
@@ -177,7 +177,7 @@ command[check-rpc]=@libexecdir@/check_rpc -H $HOSTADDRESS$ -C $ARG1$
# Check if the NFS server is running (version 2 and version 3)
command[check-nfs]=@libexecdir@/check_rpc -H $HOSTADDRESS$ -C nfs -c2,3
-# Check game servers/bin/ps -axo 'stat uid ppid comm args'
+# Check game servers
command[check_quake]=@libexecdir@/check_game qs $HOSTADDRESS$
command[check_unreal]=@libexecdir@/check_game uns $HOSTADDRESS$ -p $ARG1$ -pf 8
@@ -213,9 +213,16 @@ command[check_real_url]=@libexecdir@/check_real $HOSTADDRESS$ -p $ARG1$ -wt $ARG
## Check RealAudio server response
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_nwstat
# check_overcr