Page 1 of 1

Not getting performance graph for memory usage.

Posted: Mon Jun 17, 2019 10:55 am
by vinish098
Hi,

We are monitoring windows server through check_nt. But we are facing an issue with memory usage monitoring check_nt is giving memory usage of both physical and virtual memory. But we want to monitor only physical memory so that for this we changed plugin from check_nt to check_nrpe and it's giving me only physical memory usage. But after checking the performance graph for the same service. We are unable to get the response in performance graph after changed monitoring plugin to check_nrpe. Pls, help us to troubleshoot this issue.

Re: Not getting performance graph for memory usage.

Posted: Mon Jun 17, 2019 11:26 am
by scottwilkerson
If you chaneg the plugin you are going to have a different quantity of datasources for the performance data and in a different order, you need to delete the .rrd file associated with the service, it will be located in the following path (replacing HOSTNAME and SERVICEDESC)

Code: Select all

rm -f /usr/local/nagios/share/perfdata/HOSTNAME/SERVICEDESC.rrd
after finding and removing the file, it should start populating within about 10 minutes

Re: Not getting performance graph for memory usage.

Posted: Tue Jun 18, 2019 5:02 am
by vinish098
Thanks for the reply. I'm able to get the performance graph.

Re: Not getting performance graph for memory usage.

Posted: Tue Jun 18, 2019 6:38 am
by scottwilkerson
vinish098 wrote:Thanks for the reply. I'm able to get the performance graph.
Great!

Locking