วันอังคารที่ 11 ธันวาคม พ.ศ. 2561

การ Upgrade โปรแกรม Monitoring Observium บน Ubuntu 16.04


Community Edition
Upgrade to latest Major release

0.Disable observium cronjobs [optional]

1.Run the following commands (as root):

#cd /opt
#mv observium observium_old
#wget -Oobservium-community-latest.tar.gz http://www.observium.org/observium-community-latest.tar.gz
#tar zxvf observium-community-latest.tar.gz
#mv /opt/observium_old/rrd observium/
#mv /opt/observium_old/logs observium/
#mv /opt/observium_old/config.php observium/

2.Update DB schema:
#/opt/observium/discovery.php -u

3.If it has been a very long time since you've updated (12 months or more), you may want to force an immediate rediscovery of all devices to make sure things are up to date :
#/opt/observium/discovery.php -h all

0.Re-enable observium cronjobs [optional]

4.You may now delete your observium_old directory if everything has updated correctly:
#rm -rf observium_old

5.Reboot Server

web referrence : https://docs.observium.org/install_debian/