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.
NagiosXI- Perfmon metric checks
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosXI- Perfmon metric checks
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
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?
(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
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)\\CacheHitRateRe: NagiosXI- Perfmon metric checks
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.
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
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
Ok thank you Scott.
I appreciate the feedback.
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
Let us know if you have other issues.