Code: Select all
@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?