Update status.inc

This commit is contained in:
2024-01-06 22:55:35 -06:00
parent a64a80beaa
commit 51a0779fea

View File

@@ -451,6 +451,7 @@ STATUS_NODE(){
cpu_warn=40
cpu_crit=80
fi
echo "HERE: $nip - ${cpu_warn} - ${cpu_crit}"
if [ $(ROUND_NUMBER ${cpu_usage}) -lt ${cpu_warn} ]; then
CUFC="${idsCL[Green]}"
if [ -f ${NM_TMPFOLDER}/${nip}.cpu_usage.warn ] || [ -f ${NM_TMPFOLDER}/${nip}.cpu_usage.warn ]; then