Page 1 of 1

NagiosXI- Perfmon metric checks

Posted: Thu Sep 07, 2017 2:28 pm
by rgarin
Hello Nagios Support,
We tried setting up a perfmon Cache Hit Rate command check in XI to monitor a Windows 2012 Server.
The command is this:
check_xi_service_nsclient!COUNTER!-l "\\HTTP Service Request
Queues(ptw1.aetna.com)\\CacheHitRate","Cache Hit Rate is %.f " -w 40 -c 60

When we apply the service to the host the metric always comes back as : Cache Hit
Rate is 0.

We also added the Perfmon data collector set in Windows for HTTP Service Requests/CacheHit per this article: https://technet.microsoft.com/en-us/lib ... s.11).aspx
Any ideas why it doesn't gather the metrics from Windows?

Thanks.

Re: NagiosXI- Perfmon metric checks

Posted: Thu Sep 07, 2017 3:21 pm
by scottwilkerson
If you look at the counter in the perfmon application on the same server does it come back with a value > 0?

Re: NagiosXI- Perfmon metric checks

Posted: Fri Sep 08, 2017 9:57 am
by rgarin
It looks like it does yes.
(screenshot uploaded)


Question:
Does the data collector set have to be started in order for Nagios to capture the data?
Or is this something that Nagios will automatically gather?

Re: NagiosXI- Perfmon metric checks

Posted: Fri Sep 08, 2017 1:00 pm
by scottwilkerson
The counters displayed are RejectionRate, what if you add to the view and ONLY choose

Code: Select all

\\HTTP Service Request Queues(ptw1.aetna.com)\\CacheHitRate

Re: NagiosXI- Perfmon metric checks

Posted: Tue Sep 12, 2017 1:57 pm
by rgarin
Ok , I tried to add/view only CacheHitRate for all instances and shows 0
Do you know how this should be set up for Nagios to fetch this data?

Thanks again.

Re: NagiosXI- Perfmon metric checks

Posted: Tue Sep 12, 2017 3:22 pm
by scottwilkerson
I think you have it setup correctly above, it's just that the value is 0 for this counter and that is what Nagios is retrieving.

Re: NagiosXI- Perfmon metric checks

Posted: Wed Sep 13, 2017 11:05 am
by rgarin
Ok thank you Scott.
I appreciate the feedback.

Re: NagiosXI- Perfmon metric checks

Posted: Wed Sep 13, 2017 11:12 am
by scottwilkerson
Let us know if you have other issues.