Page 1 of 1
Graph containing AVG value, improper graph. need a bar type
Posted: Tue Oct 08, 2019 1:37 pm
by mejokj
Hi Team,
I want to generate one specific graph in nagios in bar graph format? is it possible for a single graph?
For example: Below graph showing some avg value, due to this I am not getting a proper graph like bar graph format.
Thanks
Re: Graph containing AVG value, improper graph. need a bar t
Posted: Tue Oct 08, 2019 2:39 pm
by benjaminsmith
Hello,
Can you post a larger image of the screenshot, as I'm having trouble seeing any details. Thanks.
Also, to clarify, you'd like a
Bar Chart for performance graphs? Is this correct.
Re: Graph containing AVG value, improper graph. need a bar t
Posted: Wed Oct 09, 2019 1:19 am
by mejokj
Hi Team,
Also, to clarify, you'd like a Bar Chart for performance graphs? Is this correct.
-----> Yes, Bar Chart
Thanks
Re: Graph containing AVG value, improper graph. need a bar t
Posted: Wed Oct 09, 2019 10:28 am
by benjaminsmith
Hello
@mejokj,
Currently, the best workaround for creating bar charts from performance graphs would be to click the hamburger menu in the upper right and download the data (csv,json or xml), and use another application such as Excel.
Re: Graph containing AVG value, improper graph. need a bar t
Posted: Wed Oct 09, 2019 12:28 pm
by mejokj
Hi Team,
We are looking for a customized feature for bar chart graph in nagios, as i said before we are getting an avg value in graph, due to this graph is not proper. would you please let me know any customization possible fro bar chart type graph in nagios?
Thanks,
Re: Graph containing AVG value, improper graph. need a bar t
Posted: Wed Oct 09, 2019 1:02 pm
by benjaminsmith
Hello,
The time series performance graphs in Nagios XI are created from RRD 's (Round Robin Database) to save space. The size of each rrd file remains the same over time and this is accomplished by using consolidation functions ( average, min, max) for primary data points. This is necessary as large XI systems will have thousands of host and services requiring performance graphs.
The fact that you are getting average value is a feature of RRD's. If you would like more information, please see the following page:
https://oss.oetiker.ch/rrdtool/tut/rrdtutorial.en.html
Re: Graph containing AVG value, improper graph. need a bar t
Posted: Thu Oct 10, 2019 6:23 am
by mejokj
Hello Benjaminsmith,
Thanks for your reply!!
I understood the point which you have mentioned.
Is there any chance to avoid these options only for single performance graph?
As my requirement will fulfill if the graph value remains an integer instead of decimal.
Thanks
Re: Graph containing AVG value, improper graph. need a bar t
Posted: Thu Oct 10, 2019 10:58 am
by benjaminsmith
Hello
@mejokj,
The RRD configuration files is located in
/usr/local/nagios/etc/pnp/rra.cfg, and defines the number of data entries per time period. Basically, the resolution is highest for recent data and lower for the oldest, again to save space.
You can up resolution but you will lose existing historical data, and it will require more space and processing power. The change will apply to all RRD graphs on your server.
We are planning to add more flexibility to performance graphs in Nagios XI 6.
https://www.nagios.com/roadmaps/
Also, if you do make any changes, please
backup your system.