Hey! These docs are for version 5.4, which is no longer officially supported. Click here for the latest version, 6.7!

OS and Opsview Upgrades

Learn how to perform and OS and Opsview upgrade at the same time

It is possible to upgrade your OS at the same time as Opsview Monitor. This section covers any extra steps or processes you may need to follow for a successful upgrade.

If you have any concerns or questions about following this documentation, please contact Opsview Support for advice

Ubuntu 12.04 LTS to Ubuntu 14.04 LTS OS and Opsview upgrade:

  1. Upgrade your OS first by following the Ubuntu documentation: https://help.ubuntu.com/community/UpgradeNotes.
**WARNING:** **This will disable Opsview repositories and may uninstall Opsview Monitor packages with its dependencies (eg. mysql-server) **
  1. Re-enable Opsview repositories.
  2. Refresh Opsview repositories
sudo apt-get update
  1. Re-install the opsview package
sudo apt-get install opsview-watchdog
sudo apt-get install opsview-timeseries-lib opsview-timeseries opsview-timeseries-enqueuer opsview-timeseries-rrd
sudo apt-get install opsview libapache2-mod-auth-tkt-prefork-opsview
  1. Modify site configuration files as apache2 gets upgraded to version 2.4 on Ubuntu 14.04
sudo mv -v /etc/apache2/sites-enabled/opsview /etc/apache2/sites-enabled/opsview.conf
  1. Restart Apache
sudo /etc/init.d/apache2 restart

Slaves can be upgraded in a distributed system by following steps 1, 2 and 3, and then running the following steps:

  1. Re-install the opsview slave package
sudo apt-get install opsview-slave
  1. When the slaves are all upgraded, run the following as the nagios user on the master server
send2slaves -t
send2slaves
  1. Perform a reload in the Opsview Monitor UI

Ubuntu 14.04 LTS to Ubuntu 16.04 LTS OS and Opsview upgrade:

  1. Read the Ubuntu 16.04 LTS Release notes for the upgrade process of Ubuntu 14.04 to 16.04 upgrade: https://wiki.ubuntu.com/XenialXerus/ReleaseNotes
**WARNING:** Please make sure you have read the release notes carefully, as Ubuntu 16.04 has changes which affect Opsview, e.g (perl version 5.22 and mysql version 5.7) and introduction of systemd to manage services **

**WARNING:** **This will disable Opsview repositories and may uninstall Opsview packages with its dependencies (eg. mysql-server) **

Mysql is not upgraded automatically. This means that after the Opsview upgrade the database will work as is and will remain on version 5.5.0

Although if you have decided to upgrade mysql to version 5.7 please be aware that mysql 5.7 uses strict mode by default; this mode needs to be disabled.
  1. Re-enable Opsview repositories.
  2. Refresh package repositories:
sudo apt-get update
  1. Re-install Opsview packages:
sudo apt-get install opsview-watchdog
sudo apt-get install opsview-timeseries-lib opsview-timeseries opsview-timeseries-enqueuer opsview-timeseries-rrd
sudo apt-get install opsview libapache2-mod-auth-tkt-prefork-opsview

Slaves can be upgraded in a distributed system by following steps 1, 2 and 3, and then running the following steps:

  1. Re-install the opsview slave package
sudo apt-get install opsview-slave
  1. When the slaves are all upgraded, run the following as the nagios user on the master server
send2slaves -t
send2slaves
  1. Perform a reload in the Opsview Monitor UI