Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
kosarajudeepak
bykosarajudeepak, November 5, 2010
1 of 1 people found this review helpful
bykosarajudeepak, July 25, 2009
Thanks for contributing to Nagios exchange. Its a good and handy tool for nagios Admin. 100% recommended.
bykosarajudeepak, July 25, 2009
Thanks for contribution to Nagios Community. I recommend this 100% for sending batch job results as nagios passive checks.
bykosarajudeepak, July 23, 2009
Please change the logic between WARNING and CRITICAL. Since we see the checks average in % WARNING should be greater than CRITICAL. I mean Active Services Last 1/5/15/60 min: gives number of checks performed in last 1/5/15/60 min so when we take the average % of checks completed with in last 60min we always expect it to be 80% above, by any chance if it is 60% give WARNING (or) if it is 50% give CRITICAL Alert. So CRITICAL should always be less than WARNING
Change line#22
Present:
if [ $2 -gt $3 ]; then
echo "Critical threshold must be greather or equal than Warning"
exit 1
fi
Change:
if [ $2 -lt $3 ]; then
echo "Critical threshold must be less than Warning" exit 1
fi
Change Line#67
Present:
if [ $PERCENTUAL -lt $3 ]; then
if [ $PERCENTUAL -lt $2 ]; then
echo "Critical - $PERCENTUAL% of services checked"
exit 2
Change:
if [ $PERCENTUAL -lt $2 ]; then
if [ $PERCENTUAL -lt $3 ]; then
echo "Critical only- $PERCENTUAL% of services checked"
exit 2
Change line#22
Present:
if [ $2 -gt $3 ]; then
echo "Critical threshold must be greather or equal than Warning"
exit 1
fi
Change:
if [ $2 -lt $3 ]; then
echo "Critical threshold must be less than Warning" exit 1
fi
Change Line#67
Present:
if [ $PERCENTUAL -lt $3 ]; then
if [ $PERCENTUAL -lt $2 ]; then
echo "Critical - $PERCENTUAL% of services checked"
exit 2
Change:
if [ $PERCENTUAL -lt $2 ]; then
if [ $PERCENTUAL -lt $3 ]; then
echo "Critical only- $PERCENTUAL% of services checked"
exit 2