qaxi/nagios-check_3par

bug - failed grep check instead of degraded

Closed this issue · 1 comments

You need to change "grep -c failed" to "grep -c degraded", IMHO. Degraded state is now ignored in check_pd.

if [ $( echo "${TMPOUT}" | grep -c failed ) -gt 0 ]

Look at the original nagios script:
https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=2610&cf_id=24

qaxi commented

Hi,
you are right. Thank you for notifiing.

Bugfix 396e959 and version 1.5 released .