Page 1 of 1

check_memory graph is not showing

Posted: Wed Jul 13, 2016 11:52 am
by Naveed
memory.PNG
Hello,

I am monitoring my windows machines with check_nrpe, all my services are working fine.

I instantly checked and found that my memory plugin is not making graph although service is running fine.

Please check and let me know what goes wrong due to which graph is not populating.

Thank you!

Re: check_memory graph is not showing

Posted: Wed Jul 13, 2016 12:20 pm
by rkennedy
Can you show us a screenshot of the 'Advanced' tab? The plugin may not be returning performance data.

Re: check_memory graph is not showing

Posted: Wed Jul 13, 2016 1:13 pm
by Naveed
What do you want me to provide you?

I could not understand about the Advanced tab

Please explain

Thank you!

Re: check_memory graph is not showing

Posted: Wed Jul 13, 2016 1:21 pm
by tgriep
The tab to the Right of the Performance Graphs for that service is called the Advanced Tab, we need to see a screen shot of that tab to determine if the plugin has performance data.
Also, how long was the check running before looking at the graph? It takes around 15 to 20 minutes to populate with data.

Re: check_memory graph is not showing

Posted: Wed Jul 13, 2016 1:27 pm
by Naveed
I think I have attached what you are asking for?

If not please let me know I will provide you.

Thank you!

Re: check_memory graph is not showing

Posted: Wed Jul 13, 2016 1:44 pm
by tgriep
Did that check get changed in late June? If the check was changed and the performance data output is now different, you may have to delete the xml and the rrd files for that host's memory check so they will get recreated.
Those files are located in this folder

Code: Select all

/usr/local/nagios/share/perfdata/UATSP01
Just delete the files for the for that check and they will be recreated with the correct data.
This is the example of the screen shot we need.
Memory.PNG

Re: check_memory graph is not showing

Posted: Thu Jul 14, 2016 7:11 am
by Naveed
Great!

That worked for me...

But for only one service it is giving below error.

No performance graphs were found for this service. If you have just started monitoring this object then it may take up to 15 minutes for the performance graphs to appear.

I have checked its perdata folder but it does not contain .rdd and .xml file.

Thank you!

Re: check_memory graph is not showing

Posted: Thu Jul 14, 2016 9:40 am
by rkennedy
Can you show us a screenshot for this specific service, that isn't showing performance graphs? If the RRD / XML files aren't there, it may not be generating data.

See the example @tgriep posted, for where the 'Advanced' tab is located. It's right next to the 'Performance Graphs' tab.

Re: check_memory graph is not showing

Posted: Thu Jul 14, 2016 2:11 pm
by Naveed
After much Rnd from google, I have resolved the issue.

I need to tweak my plugin to generate performance data.

You may close this thread as solved.

Thank you everyone for help!

Re: check_memory graph is not showing

Posted: Thu Jul 14, 2016 2:13 pm
by mcapra
Closing this per your request