Most configuration is performed via Web User Interface however some system options are located in configuration files.
This is the main configuration file for Opsview, it can be found in /usr/local/nagios/etc. Make your local changes to this file.
Do not edit opsview.defaults as this is changed during upgrades.
opsview.conf can be used to override options in Nagios Core configuration files automatically generated by Opsview.
To override an option in nagios.cfg or cgi.cfg you must copy that option to an overrides section in opsview.conf and prepend with either 'nagios_' or 'cgi_'.
For example, to change the default layout of the status map to 'collapsed tree' within the web front end, the following could be added to
$overrides = <<'EOF'; cgi_default_statusmap_layout=2 EOF
More examples can be seen in the
opsview.defaults file (Note: do not change this file as any changes made will be lost on an upgrade) which can be added into
opsview.conf as required.
Further information on nagios configuration can be found here.
NOTE: Be aware that changing some options will adversely affect the performance of Opsview.