Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
carlinhos700
bycarlinhos700, September 25, 2018
1 of 1 people found this review helpful
Add UNKNOWN state when the query fail
elif [[ -z $CPU_PC ]] || [[ -z $COMPRESSION_CPU_PC ]] || [[ -z $WRITE_CACHE_PC ]] || [[ -z $TOTAL_CACHE_PC ]] || [[ -z $BIGGEST_LATENCY ]]; then
FINAL_STATUS="UNKNOWN"
RETURN_STATUS=$STATE_UNKNOWN
elif [[ -z $CPU_PC ]] || [[ -z $COMPRESSION_CPU_PC ]] || [[ -z $WRITE_CACHE_PC ]] || [[ -z $TOTAL_CACHE_PC ]] || [[ -z $BIGGEST_LATENCY ]]; then
FINAL_STATUS="UNKNOWN"
RETURN_STATUS=$STATE_UNKNOWN