Performance Metric for 6 to 12 month

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bennyboy
Posts: 157
Joined: Thu Oct 29, 2015 9:42 am

Performance Metric for 6 to 12 month

Post 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!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Performance Metric for 6 to 12 month

Post 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".
Be sure to check out our Knowledgebase for helpful articles and solutions!
bennyboy
Posts: 157
Joined: Thu Oct 29, 2015 9:42 am

Re: Performance Metric for 6 to 12 month

Post by bennyboy »

That setting will impact the rrd file ?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Performance Metric for 6 to 12 month

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
xlin125
Posts: 172
Joined: Mon Jan 19, 2015 6:01 pm

rrd files not created

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Performance Metric for 6 to 12 month

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Performance Metric for 6 to 12 month

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked