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
graph Templates
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: graph Templates
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.
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!
-
- Posts: 74
- Joined: Thu Mar 29, 2012 1:23 pm
Re: graph Templates
Is there a way to forge NagiosXI to re-create the .rrd and .xml files for a particular service check?
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: graph Templates
Yes you can navigate to and delete specific RRD's from the following directory:
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.
Code: Select all
/usr/local/nagios/share/perfdata/xxxx/xxxx.rrd
This will remove the .rrd and upon the next check, Nagios will recreate an .rrd file for that host/service.