URL to Observium: observium.org

Therefore that Observium doesn't use APT for updating, it can't be upgraded with unattended-upgrades for example. Nevertheless Observium can automatically be upgraded with a crontab:

This way of updating was only tested for the enterprise version of Observium!

Create a crontab file with the following content:

/etc/cron.weekly/observium-update

#!/usr/bin/bash
MAILTO=<mail-address>
 
echo ""
echo "» Updating  Observium to latest version «"
echo ""
echo ""
/usr/bin/svn update /opt/observium --non-interactive --no-auth-cache --username <username> --password <password>
 
echo ""
echo "» Update finished «"
echo ""
 
# touch this file to leave a fingerprint, if mailing fails
touch /root/updated.txt

In case that your system has a proper configured mailutils-package, the output of the crontab will be sent to the configured mail address at MAILTO=.

  • monitoring/observium.txt
  • Last modified: 2024/02/11 13:53
  • by Zyzonix