Browse Source

Sort un code de retour non null en cas de version disponible

master
François Poulain 6 months ago
parent
commit
3a64cd7119
  1. 4
      monitoring/check_benevalibrechaprilorg_update

4
monitoring/check_benevalibrechaprilorg_update

@ -3,10 +3,10 @@
# Nagios plugin to check benevalibre version
#
# Author : François Poulain <fpoulain@metrodore.fr>
# Date : 12 Nov 2020
# Date : 18 Jan 2021
#
set -e
cd /var/www/benevalibre.chapril.org/benevalibre
sudo /var/www/benevalibre.chapril.org/benevalibre/venv/bin/python manage.py check_update
sudo /var/www/benevalibre.chapril.org/benevalibre/venv/bin/python manage.py check_update --warn
exit $?
Loading…
Cancel
Save