What's the qnap string for a warning or failed disk?

Having issues? Post them here, and help other users.
Post Reply
User avatar
whittakerj
Junior Member
Posts: 7
Joined: Mon Sep 16, 2019 10:19 pm

What's the qnap string for a warning or failed disk?

Post by whittakerj »

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

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?
Post Reply