[BACK]Return to command_line.sh CVS log [TXT][DIR] Up to [local] / nagios / check_rrd / bin

File: [local] / nagios / check_rrd / bin / command_line.sh (download)

Revision 1.2, Wed Jan 10 01:17:09 2007 UTC (17 years, 4 months ago) by andrew
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +5 -2 lines

more examples

#!/bin/sh

#./check_rrd -f test.rrd -w -80,:change=:.25 -c -85,:change=:.5
# 	-w time=9999999 -c time=9999999     # ignore time change 
#	-w FromAP=-80:-50 -c FromAP=-90:-55 # more lenient for DS FromAP
#	-w FromSU:change=:5 -c FromSU:change=:10 # more lenient on changes FromSU

DIR=`dirname $0`
find /var/www/wstationinfo/ -name *RSSI.rrd -mtime -10 -print -exec \
	${DIR}/check_rrd -f "{}" -w -80,:change=:.25 -c -85,:change=:.5 \;