Page 1 of 1

Changes the looks of Performance Graphs

Posted: Tue May 17, 2011 1:56 pm
by arnab.roy
Hi Guys,

One more from me :) is there a way of changing the colours and scales of the perf graphs, the one's for localhost looks nice where as all of mines look a very dirty yellow ...any chance could change this that would be great.

I know in PNP you can do templates, but dont know where to do it in XI and am afraid I might break things hence didnt go down much that far.

Many Thanks
Arnab

Re: Changes the looks of Performance Graphs

Posted: Wed May 18, 2011 10:27 am
by mguthrie
We don't have any real documentation on this. However you can find the existing templates at:
/usr/local/nagios/share/pnp/templates

Templates are associated with defined check commands, so you can probably copy and modify a template that you like and change the name to match your command definition. pnp4nagios.org may have some better documentation on how they handle their templates.

Re: Changes the looks of Performance Graphs

Posted: Wed May 18, 2011 11:34 am
by arnab.roy
Just to clarify is tied to command def or name of check plugin that is being used...?

Re: Changes the looks of Performance Graphs

Posted: Wed May 18, 2011 1:12 pm
by arnab.roy
Thanks for that I managed to work it out...

Re: Changes the looks of Performance Graphs

Posted: Wed May 18, 2011 1:23 pm
by mguthrie
ok cool. For other forum viewers it's the "command_name" that the templates are tied to, not the check plugin.