Skip to content
Permalink
Browse files

Add UNKNOWN state to TEMPer

  • Loading branch information...
NEMS Linux
NEMS Linux committed Aug 1, 2019
1 parent 1fe51ae commit 3e1b871b5988d5dab5c62bcec369054b1df32cfe
Showing with 1 addition and 1 deletion.
  1. +1 −1 fixes.sh
@@ -320,7 +320,7 @@ if (( $(awk 'BEGIN {print ("'$ver'" >= "'1.5'")}') )); then
echo 'KERNEL=="hidraw1", MODE="0666"' > /etc/udev/rules.d/temper.rules
fi
# Upgrade chech_temper from to current version
temperver=1.1 # Current version of Temper script
temperver=1.2 # Current version of Temper script
if ! grep -q "Version $temperver" /usr/local/nagios/libexec/check_temper; then
cp -f /root/nems/nems-migrator/data/1.5/nagios/plugins/check_temper /usr/lib/nagios/plugins/check_temper
fi

0 comments on commit 3e1b871

Please sign in to comment.
You can’t perform that action at this time.