PNP default graph template
PNP default graph template
Recently when I updated XI I noticed my default graph template for PNP charts had been overwritten. This does happen every time I update XI. While the PNP way is to use what is in /usr/local/nagios/share/pnp/templates and if you look at http://xiserver/nagios/pnp it in fact does use the template /usr/local/nagios/share/pnp/templates/default.php. The XI-PNP implementation of performance charts does not. XI ignores /usr/local/nagios/share/pnp/templates/default.php and only uses the the /usr/local/nagios/share/pnp/templates.dist/default.php. This means the only way to change the default charting template is to modify this file. This of course is overwritten when XI is upgraded. The purpose of have the two directories is to avoid this problem. Not sure if this is a bug or feature request but in my humble opinion XI should use the default template defined in /usr/local/nagios/share/pnp/templates.
Grumpy Olde IT Guy
Re: PNP default graph template
As this is wai, but most likely not as expected, I would label this as something in between a bug and a feature. I would suggest creating a bug report on http://tracker.nagios.com.
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.