update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
PW_VERS='2.11.18-07122025'
|
||||
PW_VERS='2.11.19-07122025'
|
||||
|
||||
noheader=' update service dailytemp confsync -r -report test '
|
||||
|
||||
|
||||
@@ -1232,7 +1232,7 @@ Previous Temp: ${last_temp}${GAUGESH}"
|
||||
if [ ! -f ${PW_TMPFOLDER}/temp.warn.${SENSOR}.pre ]; then
|
||||
touch ${PW_TMPFOLDER}/temp.warn.${SENSOR}.pre
|
||||
|
||||
elif [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/temp.warn.${SENSOR}.pre)) -ge 120 ]; then
|
||||
elif [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/temp.warn.${SENSOR}.pre)) -ge 600 ]; then
|
||||
# if (( $(bc <<< "${temp_diff} >= 1") )); then
|
||||
touch ${PW_TMPFOLDER}/temp.warn.${SENSOR}.pre
|
||||
SENDNOTICE "${SENSOR_DESC} ${GAUGE} WARNING" "WARNING ${GAUGE}: ${temp_f}${GAUGESH} - (Difference of ${temp_diff}${GAUGESH})" 1
|
||||
@@ -1249,7 +1249,7 @@ Previous Temp: ${last_temp}${GAUGESH}"
|
||||
if [ ! -f ${PW_TMPFOLDER}/temp.crit.${SENSOR}.pre ]; then
|
||||
touch ${PW_TMPFOLDER}/temp.crit.${SENSOR}.pre
|
||||
|
||||
elif [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/temp.crit.${SENSOR}.pre)) -ge 120 ]; then
|
||||
elif [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/temp.crit.${SENSOR}.pre)) -ge 300 ]; then
|
||||
# if (( $(bc <<< "${temp_diff} >= 1") )); then
|
||||
touch ${PW_TMPFOLDER}/temp.crit.${SENSOR}.pre
|
||||
SENDNOTICE "${SENSOR_DESC} ${GAUGE} CRITICAL" "CRITICAL ${GAUGE}: ${temp_f}${GAUGESH} - (Difference of ${temp_diff}${GAUGESH})" 1
|
||||
|
||||
Reference in New Issue
Block a user