Page 1 of 1

Performance counter

Posted: Thu Feb 08, 2018 4:46 am
by stefitalia
on our Nagios we have implemented different based controls on the performances counter that correctly works, there however we have realized that when Nagios only returns integer and not decimal part values… is it possible to have a more precise measurement? If so?

Cordially.

Re: Performance counter

Posted: Thu Feb 08, 2018 10:57 am
by kyang
Could you provide us some more information? Any screenshots or commands would help us a lot.

What is the check_command for the performance counter?

Does it actually return decimal values? Any command output or screenshot of this?

Are you using NSClient++? NCPA? WMI? Something else?

Re: Performance counter

Posted: Tue Feb 13, 2018 8:26 am
by stefitalia
For example:

Re: Performance counter

Posted: Tue Feb 13, 2018 12:38 pm
by kyang
What version of NSClient and check_nt do you have?

Code: Select all

/usr/local/nagios/libexec/check_nt -V
Can you take a screenshot of what it's showing in the GUI under that host?

Here's my example. Please post what yours looks like.
test.PNG

Re: Performance counter

Posted: Wed Feb 14, 2018 8:39 am
by stefitalia
Ecco qui:

Re: Performance counter

Posted: Wed Feb 14, 2018 9:52 am
by scottwilkerson
What is reporting is Ultimo NOT Media
Capture.PNG

Re: Performance counter

Posted: Wed Feb 14, 2018 11:20 am
by stefitalia
But the control si for Media not for ultimo

Re: Performance counter

Posted: Wed Feb 14, 2018 12:32 pm
by scottwilkerson
stefitalia wrote:But the control si for Media not for ultimo
That is the name of the counter, that same counter id reporting the last value. The "Media" you are seeing is in perfmon is the "Media" since you started running this counter.

When you query the performance counter, it can only give the Last value "Ultimo"