Category5.TV Community Forum

Full Version: What's the qnap string for a warning or failed disk?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?