NagiosXI- Perfmon metric checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rgarin
Posts: 4
Joined: Mon Mar 14, 2016 1:43 pm

NagiosXI- Perfmon metric checks

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI- Perfmon metric checks

Post by scottwilkerson »

If you look at the counter in the perfmon application on the same server does it come back with a value > 0?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rgarin
Posts: 4
Joined: Mon Mar 14, 2016 1:43 pm

Re: NagiosXI- Perfmon metric checks

Post 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?
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI- Perfmon metric checks

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rgarin
Posts: 4
Joined: Mon Mar 14, 2016 1:43 pm

Re: NagiosXI- Perfmon metric checks

Post 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.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI- Perfmon metric checks

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rgarin
Posts: 4
Joined: Mon Mar 14, 2016 1:43 pm

Re: NagiosXI- Perfmon metric checks

Post by rgarin »

Ok thank you Scott.
I appreciate the feedback.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI- Perfmon metric checks

Post by scottwilkerson »

Let us know if you have other issues.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked