Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

Deep911

Reviews(1)
byDeep911, September 6, 2012
2 of 2 people found this review helpful
Thank you for writing the plugin. It's working with DS3400 and DS3300, but it did not notice all errors.
This error:
The following failures have been found:
Unreadable sector(s) detected
Storage Subsystem: DS3300
Unreadable sectors detected: 1

gave me the output (null).

you must change

*failure*)
case "$RESULT" in
*failed*|*Failed*)
echo $RESULT
echo "CRITICAL"
exit $STATE_CRITICAL
;;

to

*failure*)
case "$RESULT" in
*failed*|*Failed*|*failures*)
echo $RESULT
echo "CRITICAL"
exit $STATE_CRITICAL
;;

for the right output like this.

The following failures have been found: Unreadable sector(s) detected Storage Subsystem: DS3300 Unreadable sectors detected: 1
CRITICAL
Owner's reply

Your patch kills the functionality to report "preferred path" errors as warnings. Anyway I can filter for *unreadable* to fix this. Thanks for the input!