Category5.TV Community Forum
What's the qnap string for a warning or failed disk? - Printable Version

+- Category5.TV Community Forum (https://forum.category5.tv)
+-- Forum: NEMS - Nagios Enterprise Monitoring Server (https://forum.category5.tv/forum-8.html)
+--- Forum: Help and Support (https://forum.category5.tv/forum-9.html)
+--- Thread: What's the qnap string for a warning or failed disk? (/thread-564.html)



What's the qnap string for a warning or failed disk? - whittakerj - 09-17-2019

I'm working on setting up my qnap monitoring. I logged into the shell and ran some test commands. 


Code:
@nems:/usr/local/nagios/libexec $ ./check_qnap3.sh 192.168.3.7 public hd1status 0 0
OK: GOOD
@nems:/usr/local/nagios/libexec $ ./check_qnap3.sh 192.168.3.7 public hd0status 0 0

Unknown Part!
@nems:/usr/local/nagios/libexec $ ./check_qnap3.sh 192.168.3.7 public hd2status 0 0
OK: GOOD
@nems:/usr/local/nagios/libexec $ ./check_qnap3.sh 192.168.3.7 public hd3status 0 0
OK: GOOD
@nems:/usr/local/nagios/libexec $ ./check_qnap3.sh 192.168.3.7 public hd4status 0 0
OK: GOOD
@nems:/usr/local/nagios/libexec $ ./check_qnap3.sh 192.168.3.7 public hd5status 0 0
CRITICAL: ERROR



My questions is, there are two fields for warning and critical(see attached) when you setup this device. What would you put in these fields? I'm assuming CRITICAL: ERROR for failed? What about warning?