Page 1 of 1

NRPE CheckCounter for memory reads/sec

Posted: Tue Sep 10, 2013 8:50 am
by Brick
I am trying to setup a NRPE counter to read the Memory Reads/sec and Memory Faults/sec using the following command-

Code: Select all

./check_nrpe -u -H 10.210.26.31 -c CheckCounter -a "Counter=\\Server\\Memory\\Page Reads/sec"
But I get the following return-

Code: Select all

CRIT: Counter not found: \Server\Memory\Page Reads/sec: -1073738823: The specified counter could not be found.
I do have another CheckCounter command which is running fine-

Code: Select all

./check_nrpe -u -H 10.210.26.31 -c CheckCounter -a "Counter=\\Server\\Bytes Total/sec" ShowAll
So I suspect its a syntax error with the actual command rather than a problem with nrpe or perfmon... But I have tried every iteration of server\memory\ that I can think of and still no luck!

Re: NRPE CheckCounter for memory reads/sec

Posted: Tue Sep 10, 2013 10:42 am
by slansing
Have you tried running the counter check without \Server\ in the string? What Windows version are you running this against? And what NSclient version is installed on it. I'll be able to test it on my end once we have that info.

Re: NRPE CheckCounter for memory reads/sec

Posted: Wed Sep 11, 2013 4:36 am
by Brick
Cheers slansing, it all worked fine once I removed the \server\