Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
monitoring:observium [2023/05/18 22:28] – ↷ Page moved from windows:windows:monitoring:observium to monitoring:observium Zyzonixmonitoring:observium [2024/02/11 13:53] (current) Zyzonix
Line 1: Line 1:
 ===== Observium ===== ===== Observium =====
 +
 +URL to Observium: [[https://www.observium.org/|observium.org]]
 +
 +==== Auto update Observium with crontab ====
 +
 +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:
 +
 +<callout type="warning" icon="true">This way of updating was only tested for the enterprise version of Observium!</callout>
 +
 +Create a crontab file with the following content:
 +<panel type="info" icon="glyphicon glyphicon-file" title="/etc/cron.weekly/observium-update">
 +<code bash>
 +#!/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
 +</code>
 +</panel>
 +
 +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