How to change graph Templates

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tribbink
Posts: 32
Joined: Tue Mar 06, 2012 8:53 am

How to change graph Templates

Post by tribbink »

Hi,

I'm using RRDCached on Nagios 2012R1.2 all graphs are currently displayed. But all have a Default Template.
How to change the graph template for a service and how to change scaling.

Therefore it would be nice if i could combine incoming and outgoing traffic (snmp) in one graph.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: How to change graph Templates

Post by mguthrie »

PNP / RRD templates are only "templates" in a loose sense of the word. All of the current graph templates are web accessible from the Admin->graph templates page. Any of the templates can be downloaded and modified. Template names have to correspond with the "command_name" for whatever check_command a service is using.

Just note that since the graph templates are just PHP code, the graphs will not display if there are bugs in the template.
Here's some more info on PNP templates:
http://docs.pnp4nagios.org/pnp-0.6/tpl