Page 1 of 1

Performance Metric for 6 to 12 month

Posted: Tue Dec 05, 2017 3:29 pm
by bennyboy
Hi,

I need to keep detail information on the cpu usage of couple server. Do you have advice for me ? Can I use the RRD of Nagios to do that ?
Do you suggest other opensource solution to store RRD information of Nagios for graphing at long term ?

Thank you!

Re: Performance Metric for 6 to 12 month

Posted: Tue Dec 05, 2017 3:45 pm
by lmiltchev
You can specify how long to keep historical data under the "Performance Settings" page. To access the page, go to:

Admin > System Config > Performance Settings > Databases tab

Modify any value that you need to change from "defaults", and click on "Update Settings".

Re: Performance Metric for 6 to 12 month

Posted: Tue Dec 05, 2017 4:23 pm
by bennyboy
That setting will impact the rrd file ?

Re: Performance Metric for 6 to 12 month

Posted: Wed Dec 06, 2017 10:32 am
by lmiltchev
Yes, it will. The bigger the retention period, the larger the RRDs would be. Some "tweaks" could be made to the /usr/local/nagios/etc/pnp/rra.cfg file in case you want to change the "defaults".

Keep in mind that we don't recommend doing it, unless you know what you are doing. You could end up with significantly larger RRDs, which could lead to some other issues. Any processing of the RRDs will take more memory as the RRDs will now be substantially bigger. They will also take more disk space for the same reason. When values are added, cpu usage will probably be a bit higher as well as there will be many more steps to compress/aggregate.

rrd files not created

Posted: Tue Feb 20, 2018 4:58 pm
by xlin125
We have a number of Nagios XI 5.2.3 on Redhat 6.9. There is one Nagios XI server that does not create rrd files for all the services for the managed hosts in /usr/local/nagios/share/perfdata. All other Nagios XI servers do not have such a problem. What possible reasons that caused this problem (rrd files not created)? Any suggestions/recommendations to best troubleshoot this rrd file issue? Thanks in advance

Re: Performance Metric for 6 to 12 month

Posted: Wed Feb 21, 2018 10:22 am
by lmiltchev
Not all of the checks return perfdata. Can you show us the actual check, run from the command line on the Nagios XI server, along with the output of it? We need to see if the plugin that you are using returns perfdata (an output after the pipe "|").

Also, from the Nagios XI web interface, go to Home > Service Detail, click on your service, then go to the "Advanced" tab, and show a screenshot of this page. We would like to see how the perfdata (if any) is formatted.

Re: Performance Metric for 6 to 12 month

Posted: Wed Feb 21, 2018 10:55 am
by lmiltchev
You have a second thread open on the same issue here: https://support.nagios.com/forum/viewto ... 60#p245360, therefore I will be locking this topic.