Thanks but it didn't work. It works on the command line but not in the test or where it matters.
In the test it gives me this.
OUTPUT: Could not construct return packet in NRPE handler check client side (nsclient.log) logs...
It has no effect in the nagios output. The service still shows up.
So both double and single quotes work on the command.
Double quotes work in the test.
Neither works where we want it to work.
check_nrpe - CheckServiceState Exclusion Problem
Re: check_nrpe - CheckServiceState Exclusion Problem
Can you post the nsclient.ini file from the Windows server? Hide sensitive info - IPs, passwords, etc.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: check_nrpe - CheckServiceState Exclusion Problem
Sorry for delay. Busy this time of year.
Please find the attached file.
Please find the attached file.
You do not have the required permissions to view the files attached to this post.
Re: check_nrpe - CheckServiceState Exclusion Problem
Try editing the exclusion like below. $ have to be escaped a little differently.
Code: Select all
exclude="SQLAgent$"$"DESTINY"Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: check_nrpe - CheckServiceState Exclusion Problem
Thanks tgriep but it didn't have any effect. No error, but the service is not excluded.
Re: check_nrpe - CheckServiceState Exclusion Problem
I stand corrected. I missed the first $ sign. Don't think I've ever escaped anything with a $ sign before and I used to be pretty decent with regex.
Thanks for you help.
Thanks for you help.
Re: check_nrpe - CheckServiceState Exclusion Problem
Is this working for you now?tbmay wrote:I stand corrected. I missed the first $ sign. Don't think I've ever escaped anything with a $ sign before and I used to be pretty decent with regex.
Thanks for you help.
Former Nagios Employee.
me.
me.
Re: check_nrpe - CheckServiceState Exclusion Problem
Thank you for the update.tbmay wrote:Yes
I am going to close this topic.
Glad we could help!
Former Nagios Employee.
me.
me.