In this section, we look at the programs that are required for Opsview Monitor. The first part of this document covers required software and versions for any installation of Opsview Monitor, while the second part covers requirements for running the automatic installation script.
Database software Copied
By default, Opsview Monitor uses MySQL for Ubuntu distributions or MariaDB for RHEL, OL, CentOS, and Debian. Opsview Monitor supports MySQL v5.7 and v8.0 (using either MySQL Community or MySQL Enterprise) or MariaDB v5.5, v10.3, and v10.5. Opsview Monitor also supports Amazon RDS (when using a MySQL-compatible version based on this list).
NoteIf you use a remote database server, Opsview Monitor will only support the database server if it is based on one of our supported platforms and runs a supported MySQL version. Furthermore, the vendor and version of the database server must also match on the orchestrator.
OS configuration Copied
All Opsview servers should have clocks correctly synchronised with a common time source (using
chrony or similar).
All Opsview servers should have an appropriate time zone set for the region it is in, and all nodes within an Opsview Collector Cluster should have the same time zone set.
This will avoid problems with out of sync schedules, such as a service check’s next scheduled check time not running when expected.
Cron daemon Copied
Opsview relies on the availability of cron to undertake several jobs for the opsview user. In the example below, we use the command here (for the Ubuntu platform) to determine the status of cron.
Checking cron is running Copied
Use the following command to see if cron is running on the system, if it is it will return the Process Identifier (PID). In the example below, we can see that cron is running and has PID 857.
$ sudo service cron status
cron start/running, process 857
If cron is not running on your system you can start it using the command below
sudo service cron start
Automated Installation Copied
Some packages are required to be able to run the automated install script; these are listed below and must be installed before running the script.
Once called, the automated installation process will ensure that your system has the most up-to-date packages for your given platform.
Opsview Monitor Reporting Module requires Java version 8 To install this specific version, run the following commands as the root user:
sudo yum install java-1.8.0-openjdk
/usr/sbin/alternatives --config java
and then select JDK 1.8.
Opsview Monitor relies on the availability of sudo to allow users to execute programs with the security privileges of another user.
The Curl URL Request Library (cURL) is free and open software that compiles and runs across many operating systems. It’s a command line tool and library that allows the transfer of data with a Uniform Resource Locator (URL) syntax and library; see curl.haxx.se.
Opsview Monitor relies on the availability of lsb-release to determine the Operating System and version when running the automatic install script.
Installing packages Copied
Packages can easily be installed on any of our supported Operating Systems using a package manager.
For Debian and Ubuntu apt-get can be used to install any of the above packages, for example:
sudo apt-get install cron
For Red Hat, Oracle Linux and CentOS, yum can be used to install any of the above packages, for example:
sudo yum install cron