Page 1 of 2

Performance counters with Nsclient++

Posted: Fri Oct 14, 2016 10:21 am
by mdsupersonic
Hi Support team,
unfortunately after locking the previous thread ,My service stopped working and return this error : ' Failed to poll counter: Web Service PdhAddCounter failed: c0000bb9: The specified counter could not be found.'
I don't know what exactly happened,everything was fine and suddenly it shows Unknow status with above error message.
Any help appreciated.

Re: Performance counters with Nsclient++

Posted: Fri Oct 14, 2016 10:40 am
by rkennedy
Doh! Did you make the change in the CCM, or the raw file?

Could you post the entire check_command for us to review?

One thing to note - if it just magically changed, after previously working, you may have multiple processes running. What is the full output of ps -ef?

Re: Performance counters with Nsclient++

Posted: Fri Oct 14, 2016 10:49 am
by mdsupersonic
check_nrpe!CheckCounter!-a "Counter:Web Service=\\Web Service(_Total)\\Total Get Requests" ShowAll MinWarn=500 MinCrit=256!!!!!!

This is the check command,I went and rewrite it and now is working.
Its weired

Re: Performance counters with Nsclient++

Posted: Fri Oct 14, 2016 12:04 pm
by rkennedy
Did you modify it in the Core Config Manager, or the raw file on the machine? If you edited the raw file, it'll get overwritten by the CCM every time you apply configuration.

Re: Performance counters with Nsclient++

Posted: Fri Oct 14, 2016 12:13 pm
by mdsupersonic
Just modifying in CCM,but honestly I don't know what really happened :?: :?:

Re: Performance counters with Nsclient++

Posted: Fri Oct 14, 2016 1:08 pm
by rkennedy
mdsupersonic wrote:Just modifying in CCM,but honestly I don't know what really happened :?: :?:
Do you believe in ghosts?

Hehe, I'm not sure either, but it sounds like things are working once again. It could have been a case of multiple processes as I mentioned above.

I'll leave this thread open for now since your last one was locked - let us know if it comes up again and we'll address it.

Re: Performance counters with Nsclient++

Posted: Fri Oct 14, 2016 1:26 pm
by mdsupersonic
So far so good. I think If nothing happen in 2 hours you can close this thread.
Thank you again for your help.

Re: Performance counters with Nsclient++

Posted: Fri Oct 14, 2016 1:55 pm
by bwallace
You're welcome, we'll have begun our weekend by that time so we'll of course leave this thread open - please update it when appropriate - thanks.

Re: Performance counters with Nsclient++

Posted: Mon Oct 17, 2016 9:04 am
by mdsupersonic
Thank you again for your help.I think you can lock this thread and everything went right during weekend.

Re: Performance counters with Nsclient++

Posted: Mon Oct 17, 2016 9:12 am
by mdsupersonic
Thank you for your help.
Everything went well during weekend and I think we can lock this thread.