Old thread I know but I have the same question. Does Nagios XI support the "Special Templates" when using the PNP. I see the directory /usr/local/nagios/share/pnp/templates.special but XI doesn't seem to pull from it.
I was thinking about installing the full and latest version of pnp4nagios as suggested to the OP to test this further. Will this break XI?
Advanced Graphing
Advanced Graphing
Last edited by tmcdonald on Fri Oct 10, 2014 9:05 am, edited 2 times in total.
Reason: Split topic from: http://support.nagios.com/forum/viewtopic.php?f=16&t=8467
Reason: Split topic from: http://support.nagios.com/forum/viewtopic.php?f=16&t=8467
Grumpy Olde IT Guy
Re: Advanced Graphing
I guess my first questions are:
What version of Nagios XI are you trying this on?
Are you sure you're using PNP and not Highcharts?
What version of Nagios XI are you trying this on?
Are you sure you're using PNP and not Highcharts?
Former Nagios employee
Re: Advanced Graphing
Using 2014 right now. Have highcharts disabled. When I put a PNP template in templates.special the check continues to report "No performance graphs were found for this service."
To clarify my queries.
I assume this is pnp-latest ( Revision: 665 ) in XI.
Can I install the latest latest pnp-latest ( Revision: 665 ) on top of Nagios XI 2014R1.4 without breaking it?
Can I install pnp4nagios-0.6.24 on top of Nagios XI 2014R1.4 without breaking it?
This was what I was using before I upgraded to XI and really really liked it. I think the XML files are different between the two and this might break XI.
Special Templates are different than Custom Templates. http://docs.pnp4nagios.org/pnp-0.4/tpl_special
To clarify my queries.
I assume this is pnp-latest ( Revision: 665 ) in XI.
Can I install the latest latest pnp-latest ( Revision: 665 ) on top of Nagios XI 2014R1.4 without breaking it?
Can I install pnp4nagios-0.6.24 on top of Nagios XI 2014R1.4 without breaking it?
This was what I was using before I upgraded to XI and really really liked it. I think the XML files are different between the two and this might break XI.
Special Templates are different than Custom Templates. http://docs.pnp4nagios.org/pnp-0.4/tpl_special
Grumpy Olde IT Guy
Re: Advanced Graphing
It will indeed break XI. pnp4nagios 0.4 ships with XI and upgrading it will break graphing.rseiwert wrote:This was what I was using before I upgraded to XI and really really liked it. I think the XML files are different between the two and this might break XI.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Advanced Graphing
There may have been some test and dev done with pnp4nagios 0.6 and this is probably a remnant of that. The templates.special directory will just be ignored because XI uses pnp4nagios 0.4.rseiwert wrote:Does Nagios XI support the "Special Templates" when using the PNP. I see the directory /usr/local/nagios/share/pnp/templates.special but XI doesn't seem to pull from it.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Advanced Graphing
templates.special is not ignored, btw. I recently added perf data to a check that didn't have any but it would not generate the graph. I tried a lot of things but it would not graph. Was very simple and the rrd and xml were valid but I just got an broken image for the graph.
Previously I had attempted to used templates.special to build a graph for this check using the data in other rrds. When the service did not have an rrd and xml file all that displayed was "No performance graphs were found for this service.". As soon as there was an rrd and xml file the special template kicked in. Deleting the special template caused the default template to kick in and the graph rendered normally. Just took me awhile to check that since I was running under the impression that it ignored. Fun debugging at 2am.
Previously I had attempted to used templates.special to build a graph for this check using the data in other rrds. When the service did not have an rrd and xml file all that displayed was "No performance graphs were found for this service.". As soon as there was an rrd and xml file the special template kicked in. Deleting the special template caused the default template to kick in and the graph rendered normally. Just took me awhile to check that since I was running under the impression that it ignored. Fun debugging at 2am.
BTW, PNP 0.4 OOB does define templates.special https://docs.pnp4nagios.org/pnp-0.4/tpl_special so technically it makes sense.The templates.special directory will just be ignored because XI uses pnp4nagios 0.4.
Grumpy Olde IT Guy
Re: Advanced Graphing
I'm not really clear by your last post if things are graphing properly for you now, but if not could you share the template you made?
Former Nagios employee
Re: Advanced Graphing
I'm good you can close this. Just wanted to let the next person who searched for this topic know that templates.special is definitely not ignored by XI, just not 100% sure how it's used by XI.
Grumpy Olde IT Guy