Hi,
is it possible to change the colors of the lines in the performance graphs? The default color is blue for a single performance output. Am requested to change this to green, while if having three performance data into one graph, am to make the first one blue, the next red and the third orange.
is there a configuration file where the rrd colors my be changed?
Rgds,
Changing the line colour in graph
Re: Changing the line colour in graph
Yes .. you can customize from the pnp/templates.dist/<check command .template file>
Re: Changing the line colour in graph
Hello padu_3891,
Thanks for your response, i managed to find these but it seems there is no template involved in my current check.
Basically i took a look at the rrd and xml file of the current service i'm monitoring and it seems the xml is looking for this template:
Not sure this has to do with the template am looking for. This service is a script on a remote machine i check with check_by_ssh. The default.php template doesn't seem to be used here as the colours differ.
Thanks for your response, i managed to find these but it seems there is no template involved in my current check.
Basically i took a look at the rrd and xml file of the current service i'm monitoring and it seems the xml is looking for this template:
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<NAGIOS>
<DATASOURCE>
<TEMPLATE>check_active_calls</TEMPLATE>
<RRDFILE>/usr/local/nagios/share/perfdata/am1slc03_[OCNCC]/Active_Calls.rrd</RRDFILE>Re: Changing the line colour in graph
By default, the Nagios XI server used Highcharts to display the graphs and those cannot be changed. Only the Legacy graphs can be edited through the templates.
To disable Highcharts and enable the legacy graphs, login to the Nagios XU GUI and going to the Admin > System Setting menu and click in the Theme & Display tab, un-check the Use Highcharts box and Update the settings.
Then the templates you would have to edit, can be edited by going to the Admin > Manage Graph Templates menu, there you can edit the template for your graphs.
To disable Highcharts and enable the legacy graphs, login to the Nagios XU GUI and going to the Admin > System Setting menu and click in the Theme & Display tab, un-check the Use Highcharts box and Update the settings.
Then the templates you would have to edit, can be edited by going to the Admin > Manage Graph Templates menu, there you can edit the template for your graphs.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Changing the line colour in graph
Thanks. Not exactly what we were after, as we wanted to change the highlights.
Thanks for your input once more!
Thanks for your input once more!
Re: Changing the line colour in graph
Your welcome.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Changing the line colour in graph
This thread can be considered as closed
Thank you
Thank you