graphing Problem

This support forum board is for questions relating to Nagios Fusion.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia

Re: graphing Problem

Post by Box293 »

rajasegar wrote:BTW, how do I get back the previous graph theme?
Go to Admin > System Config > Manage System Config
Under Default Display/Theme Settings change Highcharts Color Theme to Classic(Gray)

Is this what you were after?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: graphing Problem

Post by rajasegar »

Box293 wrote:
rajasegar wrote:BTW, how do I get back the previous graph theme?
Go to Admin > System Config > Manage System Config
Under Default Display/Theme Settings change Highcharts Color Theme to Classic(Gray)

Is this what you were after?
Tried all combinations available but it is still stuck at white background.
That is why I asked for the instructions.
Last edited by rajasegar on Sun Jun 08, 2014 6:48 pm, edited 1 time in total.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: graphing Problem

Post by jomann »

The theme setting appears to be a bug, I've included a zip file with a new "pageparts.inc.php" that fixes this. The php file should be copied or moved to /usr/local/nagiosfusion/html/includes/ and will overwrite your current one. The fix will be included in the next version of Fusion.

As for the graph times I am testing some stuff right now. I believe it will fix the issues with the future time. I've attached a copy of what I am working on please try it out. Make a backup of the file before you overwrite this one! You'll need to copy the new dashlets-visualizations.inc.php to /usr/local/nagiosfusion/html/includes/components/visualizations/
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia

Re: graphing Problem

Post by Box293 »

The themes bug appears to be fixed, great stuff.

The first change I noticed with the dashlets-visualisations was on the Today's alerts by hour. On my test system I only have one Managed Fused server and it has no problems. With the old file, when I viewed todays alerts there was nothing on the graph (assuming everything is zero). With the new file I get a line that indicates 0 alerts. Nice improvement. As for the future time issue, I don't have any XI servers in another timezone so I can't give you feedback on this one sorry.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: graphing Problem

Post by rajasegar »

Box293 wrote:The themes bug appears to be fixed, great stuff.

The first change I noticed with the dashlets-visualisations was on the Today's alerts by hour. On my test system I only have one Managed Fused server and it has no problems. With the old file, when I viewed todays alerts there was nothing on the graph (assuming everything is zero). With the new file I get a line that indicates 0 alerts. Nice improvement. As for the future time issue, I don't have any XI servers in another timezone so I can't give you feedback on this one sorry.
Mine showed zero alerts even with the old version. So your issue must have been due to some other bug.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: graphing Problem

Post by rajasegar »

jomann wrote:The theme setting appears to be a bug, I've included a zip file with a new "pageparts.inc.php" that fixes this. The php file should be copied or moved to /usr/local/nagiosfusion/html/includes/ and will overwrite your current one. The fix will be included in the next version of Fusion.

As for the graph times I am testing some stuff right now. I believe it will fix the issues with the future time. I've attached a copy of what I am working on please try it out. Make a backup of the file before you overwrite this one! You'll need to copy the new dashlets-visualizations.inc.php to /usr/local/nagiosfusion/html/includes/components/visualizations/
Your update caused all the graph to show zeros now. Was this actually tested?
Zeros.png
Here is the same graph after reverting to the old files.
Some fused server are gone, this could be due to the instance issue.
orig.png
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: graphing Problem

Post by jomann »

It was meant to be a potential fix since I can not reproduce your issue on my graphs. It was tested to my system. The new graph is supposed to be making sure that it only has 24 hours in the graph (removing the extra time that is getting added for whatever reason) and it looks like it's either not counting your data correctly or the data itself isn't how it was supposed to be. I'll have to try doing this a different way since it didn't show all the data.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: graphing Problem

Post by rajasegar »

Can I know what is the status of this issue?
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: graphing Problem

Post by slansing »

When the issue is found/fixed it will be included in a release version of Nagios Fusion, it is possible the developer may post a fix here if it is something that can be done at the user level. You can keep an eye on the change logs here:

http://assets.nagios.com/downloads/nagi ... HANGES.TXT