skip to main content
Graphs
   
Graphs
Introduction
op5 Monitor is using PNP to create the graphs available for most standard services in the user interface.
PNP is an add-on to nagios which analyzes performance data provided by plugins and stores them automatically into RRD-databases (Round Robin Databases).
PNP only processes performance data built according to the Developer Guidelines for nagios plugins. With this limitation we want to honour the work of Nagios Plugin Developers who stick to the guidelines.
This is a short description of how to use PNP and it’s functions pages and templates.
For more info please refer to the online manual for pnp
http://www.pnp4nagios.org/pnp/start
Kudos to Joerg Linge for letting us use his text.
Graph web front end
The behavior of the PNP Web-Front end can be controlled through the config file
/opt/monitor/etc/pnp/config.php.
This file will be overwritten during updates of PNP as the paths and options are detected during ./configure.
Own adjustments should be made in:
/opt/monitor/etc/pnp/config_local.php
If this file does not exist the file config.php can be taken as a guideline.
To access the PNP web front end through the GUI click on Graphs in the menu.
 
Collections
About Collections
Collections provides the opportunity to collect graphs of different hosts and services on to one page. That way - as an example - you can display the traffic rates of all tape libraries.
Creating a new collection
The setup of Graph Collections is done through the configuration page.
Go to Configure and click on the Graph Collections icon.
There are two ways to select which services to show in the graph, either use the GUI to select the services from the list or use regular expressions.
GUI selection
Enter a collection name and select which services to put in the collection by selecting them from the list.
Regex selection
Check the checkbox for Use regex
The host and services is now selected by a regular expression.
In the example below we select all graphs from the host which names starts with “switch” and services that contains “Interface” and “Traffic”. Note that regular expressions are case sensitive.
Viewing Collections
The collections are found under graphs in the main menu on the left and click on the Collection icon
Note that his icon is only visible when at least one collection is created.
All the collections are listed in the panel to the right.
 
Combined Graphs
What is a combined graph?
A combined graph overlays several graphs in the same graph which will give a better overview of how two different checks are performing.
It takes one or more service from one or more host and lays them on top of each other in the same graph.
 
The service checks must have the same name on all the hosts for combined graphs to work.
Creating combined graphs
The combined graphs is created though the configuration.
Go to Configure in the menu
Click on Combined Graphs
Enter a name of the combined graph and click on Add
Select the service to graph and from which hosts this service should be fetched from. Also add a name and comment.
Click on Submit
Viewing combined graphs
The combined graphs can be found under Graphs in the main menu
and click on the Combined Graphs icon.
All the combined graphs can be found under Combined graphs in the right side menu.
Graph templates
Graph templates controls how your graphs look.
By changing the template for on check command you can customize how the graph for that check will look.
Changing Graph template
By default a the template default is used for drawing graphs. This can be changed for a specific check command.
To change the template for a check command go to configuration and select graph templates. Select a template that you would like to modify, then press go.
Select the check command that will use this temple and select the template. There are several templates in the system by default.
Graph prediction
A graph prediction plots a line across the graph to predict when it will cross the thresholds.
Activate graph prediction
The graph prediction is not used by default. To enable graph prediction you have to change the template that is used for the specific check command.
Edit the template for the check command, follow instructions in Changing Graph template on page 148.
Select the template lslprediction-label and click on submit.
Note: This will change the layout of your graphs.