ITRS Opsview Cloud Documentation

Withdraw of the 6.9.2 Release

Unfortunately, due to critical issues identified with version 6.9.2, we have decided to remove it and ensure it's no longer available for download. These issues impacted the ability to install or upgrade but none were security-related. We are diligently working to resolve these issues and are planning to release an updated version 6.9.3 in early May.

What if you've already upgraded?

For customers who have already upgraded to 6.9.2, no immediate action is required, as none of these issues are security-related. Once it's available, you will still be able to upgrade to 6.9.3 as normal. We appreciate your patience and trust as we continue to enhance our software to better serve you. Thank you for your understanding.


Overview Copied

Opsview Timeseries (opsview-timeseries) provides a Web Service that manages the timeseries data in Opsview. Opsview Timeseries component can be installed on a remote server (OS independent), thus reducing the load on Opsview Master Server. Due to the use of multiple processes, it also allows to utilize available resources on the server.

Adding new data Copied

On Opsview Master server the Opsview Results-Performance component reads the collected service check outputs from the MessageQueue and passes them to the Opsview Timeseries Web Service. One of the Workers parses the raw data and extracts from it the performance metrics - this operation is very CPU intensive. The parsed data is then dispatched in CBOR format to configurable storage providers based on the host name - so given host’s servicechecks metrics are always send to the same Enqueuer.

Timeseries queries Copied

Performance data graphs in Opsview UI query the Opsview Timeseries Web Service which dispatches the request to the storage providers that handle given host servicechecks metrics. The returned information is in JSON format and can be cached by reverse-proxies.

Dependencies Copied

Opsview Timeseries can be installed on any supported platform.

Installation Copied

Refer to Advanced Automated Installation.

Configuration Copied

If opsview-timeseries was installed on other than Opsview Master host, you need to update the /opt/opsview/coreutils/etc/opsview.conf file to be able to query the graphs, eg.:

$timeseries_url = '';

And Results Performance configuration file /opt/opsview/resultsperformance/etc/resultsperformance.yaml, so it knows where to send the tests results:

        port: 1600

As Opsview Timeseries by default listens only on loopback interface, so you need to update its configuration located in /opt/opsview/timeseries/etc/timeseries.yaml:


All configurable options are listed in the /opt/opsview/timeseries/etc/timeseries.defaults.yaml and /opt/opsview/timeseries/etc/timeseries.yaml.example.

        # IP to listen on, use to listen on all interfaces
        # port to listen on
        port: 1600
        # number of pre-forked subprocesses handling the incoming requests
        workers: 4
        # username and password for HTTP Basic authorization
        user: opsview
        password: opsview
    # should it parse the output of the servicecheck (old style plugins that not use the separate performance metrics field)
    # and the path to the file used
        parse_output: true
        mapfile: /opt/opsview/timeseries/etc/map
    # list of providers handling the actual requests
          # url to the host
        - url:
          # username and password for HTTP Basic authorization
          user: opsview
          password: opsview
          # port used by the Enqueuer
          updates_port: 1620
          # port used by the Queries
          queries_port: 1660
          # add more hosts for storing timeseries data
        - url:
          user: opsview
          password: opsview
          updates_port: 1620
          queries_port: 1660
                # syslog compatible log level, at INFO level HTTP requests are logged
                level: NOTICE

Service administration Copied

As root, start, stop and restart the service using:

/opt/opsview/watchdog/bin/opsview-monit <start|stop|restart> opsview-timeseries

Troubleshooting Copied

Performance data is not being generated or it is not interpreted correctly Copied

Some Servicechecks do not provide performance data. Other checks do provide it but the data isn’t interpreted correctly. In both cases a change can be made via a ‘map’ file /opt/opsview/timeseries/etc/map.local — this file is used to read the plugin output and (if a match is found) generate performance data for use in graphs (if no match is found then any performance data output by the plugin is used).

This file is a series of perl regular expressions which matches Servicecheck output. You can see examples within the file /opt/opsview/timeseries/etc/map but you should only ever make changes to /opt/opsview/timeseries/etc/map.local; this is because map will be overwritten on an upgrade whereas map.local will not.

Any changes should be followed by a

perl -c map.local

to ensure there are no grammatical errors in the file.

After making a change, the opsview-timeseries daemon will need to be restarted.

["Opsview On-premises"] ["User Guide"]

Was this topic helpful?