Hi All,
Don’t know if there is some like this out there, but I created a script that runs the update process for you. I use this as a daily cron to make sure that my Observium stays up to date. Please see below and/or attached.
Script:
#!/bin/bash
# Observium Auto Update Script
# Author: Adriaan Smuts <adriaan.smuts@webafrica.com>
echo -e "\e[31mUpdating Observium to latest version:\e[0m"
echo
# Observium install directory
cd /opt/observium/
echo -e "\e[36mGetting the latest files from svn.observium.org:\e[0m"
svn update
echo
echo -e "\e[36mUpdating the databse (if needed):\e[0m"
# Update the database
./discovery.php -h none
echo
echo -e "\e[32mObservium has now been updated to the latest version.\e[0m"
PS: This will only work for the subscription version that uses SVN.
Regards | ||||||
Adriaan Smuts | ||||||
Systems Administrator | ||||||
|