Welcome to docs.opsview.com

Performance Data Imports

Opsview uses performance data from individual plugins and stores this in RRD files for quick access for the interactive graphs to display.

The performance data updates are done asynchronously, which means that NagiosĀ® Core continues processing results while the RRD files are being updated.


Nagios Core writes the performance data to the /usr/local/nagios/var/perfdata.log file. This file is moved into the /usr/local/nagios/var/perfdatarrd directory every 10 seconds.

The main daemon is import_perfdatarrd. This picks up the file and then processes it by updating the RRD files.

The interface between Nagios Core and import_perfdatarrd are the log files that are held in /usr/local/nagios/var/perfdatarrd.

Note that if there is a problem with the import process, Nagios Core will continue to run and do its monitoring and continue alerting. However, the graphing information may not be up to date.


Round Robin Databases, RRDs, are used to store the performance data in Opsview.

All RRDs used for performance data from Nagios plugins have a set resolution.

  • 5 minute is the smallest resolution
  • 50 hours averaged over 5 mins
  • 14 days averaged over 30 mins
  • 2 months averaged over 2 hours
  • 2 years averaged over 1 day

This produces an RRD file which is 24K in size.


Where are the debug logs?

import_perfdatarrd writes its debug log files into /var/log/opsview/opsviewd.log.

Can I get extra debug?

You can uncomment the following line in /usr/local/nagios/etc/Log4perl.conf. It may take up to 30 seconds for the daemon to recognise the change:


You will get timing and size information for every log file imported.

Note that a DEBUG level will also copy any log files from /usr/local/nagios/var/perfdatarrd into /usr/local/nagios/var/perfdatarrd.archive, so do not leave the debug level on for longer than necessary as this will use a lot of disk space.

What does "Import of 1257049915.210140, size=1123, took 15.63 seconds > 12 seconds" mean?

If you get log entries such as:

[2009/10/06 21:08:28] [import_perfdatarrd] [WARN] Import of 1254859702.684564, size=530288, took 16.21 seconds > 12 seconds

This means that you probably have some disk I/O limitations as updating of the RRDs should take less than 12 seconds to complete. Check for I/O contention (maybe a backup is writing to disk at the same time).

If this occurs for a long period of time, you will need to investigate where the bottlenecks are for the graph updates.

How do I know that the updates are timely?

In a default install of Opsview, a service check called Opsview Graph Imports will be created and associated with the opsview host.

This service check uses the check_opsview_async_imports plugin to collect information.

We recommend that you have the appropriate notifications setup for this service check so that you are informed when the graphing imports are not being updated to the database in a timely manner.