unknown macostatus = red alert

Because the SGE queue require this parameter to be re-enable.
This commit is contained in:
Jeremy Gardais 2021-01-15 21:17:06 +01:00
parent 20e4713e56
commit cd8f4db423
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 4 additions and 4 deletions

View File

@ -242,14 +242,14 @@ Maco status file (${MACO_STATUS_FILE}) exists."
echo "${RED_PIC} Last Maco update failed (MacoStatus=${local_maco_status})." >> "${PLUGIN_RESULT}"
echo "12${RED_PIC} Maco update failed" >> "${PLUGIN_STATE}"
else
echo "${CLEAR_PIC} Maco last update status is unknown (MacoStatus=${local_maco_status})." >> "${PLUGIN_RESULT}"
echo "42${CLEAR_PIC} Maco last update status is unknown" >> "${PLUGIN_STATE}"
echo "${RED_PIC} Maco last update status is unknown or absent (MacoStatus=${local_maco_status})." >> "${PLUGIN_RESULT}"
echo "13${RED_PIC} Maco last update status is unknown or absent" >> "${PLUGIN_STATE}"
fi
else
debug_message "check_last_update_status \
Maco status file (${MACO_STATUS_FILE}) doesn't exists."
echo "${CLEAR_PIC} Maco last update status is unknown (${MACO_STATUS_FILE} doesn't exists or isn't available)." >> "${PLUGIN_RESULT}"
echo "44${CLEAR_PIC} Maco last update status is unknown" >> "${PLUGIN_STATE}"
echo "${RED_PIC} Maco last update status is unknown (${MACO_STATUS_FILE} doesn't exists or isn't available)." >> "${PLUGIN_RESULT}"
echo "14${RED_PIC} Maco last update status is unknown" >> "${PLUGIN_STATE}"
fi
}