Setting up custom graph

With reference to the new performance data format in Enhanced Linux memory monitoring, we need to customize the graph for it.

Find out the Data Sources

Example perfdata:

ram_used=292872;1024757;1024757;0;1035108 swap_used=0;0;0;0;0

We can see 2 Data Sources:

  • ram_used
  • swap_used

Create a Graph Template

Go to Views → Graphs → Templates, add a template like:

Options

Scale Graph Value - convert 30000 to 30k for easy reading.

Create Curve for the Data Sources

Go to Views → Graphs → Curves, add the Data Sources like:

Used different colors for each source.

Clear old data

If there is old data, the graph will be cluttered with old legend and data. See Resetting Graphs to clear the old data.

Result

Hiding unwanted data source

Sometimes you need to hide useless data source in the graph, like OK_NICs and BAD_NICs from the perfdata output of ESX-Traffic:

net_receive=0.00KBps;95;99 net_send=0.00KBps;95;99 OK_NICs=1;; Bad_NICs=0;;

Go to Administration → Options → CentStorage → Manage → ESX-Traffic,
and set the unwanted data source to Hidden:

nagios/centreon/setting_up_custom_graph.txt · Last modified: 2011-02-08 16:03 by admin
Back to top
GNU Free Documentation License 1.3
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0