Skip to content
Permalink
Browse files

Telegram upgrade

  • Loading branch information...
NEMS Linux
NEMS Linux committed Aug 20, 2019
1 parent db22a1f commit a2d1f9af18b183106d54c7926d7f5e1fe35ea4f2
Showing with 5 additions and 0 deletions.
  1. +5 −0 fixes.sh
@@ -332,6 +332,11 @@ if (( $(awk 'BEGIN {print ("'$ver'" >= "'1.5'")}') )); then
cp -f /root/nems/nems-migrator/data/1.5/nagios/plugins/check_temper /usr/lib/nagios/plugins/check_temper
fi

# Upgrade Telegram
telegramver=1.5.1 # Current version of Temper script
if ! grep -q "VERSION $telegramver" /usr/lib/nagios/plugins/notify-by-telegram.lua; then
cp -f /root/nems/nems-migrator/data/1.5/nagios/plugins/notify-by-telegram.lua /usr/lib/nagios/plugins/notify-by-telegram.lua
fi

# Install nems-webhooktest command if not already
if [ ! -f /usr/local/bin/nems-webhooktest ]; then

0 comments on commit a2d1f9a

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