graph Templates

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
yaanatech
Posts: 74
Joined: Thu Mar 29, 2012 1:23 pm

graph Templates

Post by yaanatech »

Hi All,

I have some scripts I wrote and need to graph the data. I understand the output of the script so Nagios knows it is performance data, but I am not finding much in the terms of documentation for making the .php graph template I need.

Is there any documentation on this?

Gavin
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: graph Templates

Post by lmiltchev »

We don't have a documentation on creating custom graph templates, but you can review the pnp4nagios documentation:

http://docs.pnp4nagios.org/pnp-0.4/tpl

graph templates in Nagios XI are placed in "/usr/local/nagios/share/pnp/". You can install them via the web interface by going to: Admin->graph Templates->Browse->...->Upload Template

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
yaanatech
Posts: 74
Joined: Thu Mar 29, 2012 1:23 pm

Re: graph Templates

Post by yaanatech »

Is there a way to forge NagiosXI to re-create the .rrd and .xml files for a particular service check?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: graph Templates

Post by slansing »

Yes you can navigate to and delete specific RRD's from the following directory:

Code: Select all

/usr/local/nagios/share/perfdata/xxxx/xxxx.rrd
WARNING, THIS WILL PERMANENTLY REMOVE THIS DATA, IT IS SUGGESTED THAT YOU BACK IT UP.

This will remove the .rrd and upon the next check, Nagios will recreate an .rrd file for that host/service.