Page 1 of 1
How do I change the default output for the graphs? rrdtool?
Posted: Thu Apr 08, 2010 8:45 am
by perius
I suspect that rrdtool is the one who generates the graphs for all the monitoring results in nagiosxi. Am I right?
If so, how do you change the options for how the graphs generates. The background colors, colors for the lines, Y and X sides, text etc.
If there is another tool for this. Please name it and describe for that one to.
Yours truly
Perius
Re: How do I change the default output for the graphs? rrdtool?
Posted: Thu Apr 08, 2010 9:30 am
by admin
RRDtool is indeed used on the backend, but it is PNP that determines the colors, labels, etc. You can find more information on PNP and modifying the PNP templates files (the files that determine colors, etc.) by visiting:
http://docs.pnp4nagios.org/pnp-0.4/start
Re: How do I change the default output for the graphs? rrdtool?
Posted: Fri Apr 09, 2010 4:28 am
by perius
Thanks. I got the line colors changed.
Now I wonder if the the hole graph window can be changed. I mean this one
graphwindow.JPG
The white in the middle and the lightgreen.
My first thought were the /usr/local/nagiosxi/html/includes/components/perfdata/.
Theres a png file called noperfdata.png. The default image that comes up if there is no performance data to collect.
Is there a similar png file that perfdata uses to fil in the lines and text?
I didnt get any real helpfull info from the perfdata.php.