当前位置: 首页 > 工具软件 > Observium > 使用案例 >

Observium 社区版升级操作步骤

穆宏胜
2023-12-01

Disable observium cronjobs optional

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/

Update DB schema:

/opt/observium/discovery.php -u

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

Re-enable observium cronjobs optional

You may now delete your observium_old directory if everything has updated correctly:

rm -rf observium_old
 类似资料: