Hi,
After using Cacti and Nagios Core for many years I've now got an installation of Nagios XI (Enterprise Feature license) to manage. I like the product so far but I'm struggling with some of the performance graphs. Specifically, bandwidth graphing.
I have some interfaces that the Switch/Router wizard discovered correctly as 20Gbps-capable. However, the traffic that uses those interfaces is limited further upstream to MUCH lower values (ie. 6Mbps); with the throughput most of the time more accurately measured in Kbps. The Highcharts performance graphs show Gb/s on the Y-Axis and each step is "0.00", I assume because of the comparatively low numbers being graphed. I've added an example below.
I've been scouring the forums, as well as the XI settings, to see if there's a way to get the y-axis to auto-scale according to the data being presented, but I haven't been able to find anything. Ideally, from the example above, I'd want the graph to be displaying in Kb/s rather than Gb/s.
Thanks in advance for any assistance.
Cheers,
Ben
Auto-Scaling Performance Graphs
-
silverbenz
- Posts: 30
- Joined: Wed Nov 14, 2012 9:06 pm
Auto-Scaling Performance Graphs
You do not have the required permissions to view the files attached to this post.
Re: Auto-Scaling Performance Graphs
There are two parts to this problem (and three things to do to fix it):
1) Your plugin configuration is measuring things in gigabits, not kilobits. If you look at this screenshot, you can see that you can change the G to K, and it will rescale how it's reporting the data:
2)
The second part is that once you define the actual graph in the GUI, it'll be set to whatever scale the plugin was set to at the time of it's creation. So, once you've changed the G to K above, you can now delete and recreate the graph, and it should do the right thing.
There is also one more thing to do:
The performance data files will have to be deleted so they can be recreated to account for the changes ( you'll lose the old data).
cd /usr/local/nagios/share/perfdata/yourhostname
Delete the .rrd and .xml file with the name of the service, and that should allow them to be updated.
Wait for 15 minutes for them to update in the GUI, and see if everything looks as you'd expect.
1) Your plugin configuration is measuring things in gigabits, not kilobits. If you look at this screenshot, you can see that you can change the G to K, and it will rescale how it's reporting the data:
2)
The second part is that once you define the actual graph in the GUI, it'll be set to whatever scale the plugin was set to at the time of it's creation. So, once you've changed the G to K above, you can now delete and recreate the graph, and it should do the right thing.
There is also one more thing to do:
The performance data files will have to be deleted so they can be recreated to account for the changes ( you'll lose the old data).
cd /usr/local/nagios/share/perfdata/yourhostname
Delete the .rrd and .xml file with the name of the service, and that should allow them to be updated.
Wait for 15 minutes for them to update in the GUI, and see if everything looks as you'd expect.
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
silverbenz
- Posts: 30
- Joined: Wed Nov 14, 2012 9:06 pm
Re: Auto-Scaling Performance Graphs
Firstly: Thank you very much for the info.
Secondly: Bugger.
I've got quite a lot of graphs in this condition so if I verify your suggestion works as expected I'll have a fair bit of work to do to fix them all.
So, for future reference, I need to manually manage the values for each discovered port if I'm using the Router/Switch wizard to ensure the graphs look sensible.
Thanks again.
Secondly: Bugger.
I've got quite a lot of graphs in this condition so if I verify your suggestion works as expected I'll have a fair bit of work to do to fix them all.
So, for future reference, I need to manually manage the values for each discovered port if I'm using the Router/Switch wizard to ensure the graphs look sensible.
Thanks again.