Page 1 of 1
Changing status of a check_nrpe check
Posted: Thu Sep 10, 2015 9:48 am
by tbmay
Installed Version: 2014R2.7
Centos 6.7
Good morning,
Can I change a check_nrpe check from Critical to Warning?
Regards
Re: Changing status of a check_nrpe check
Posted: Thu Sep 10, 2015 10:26 am
by hsmith
tbmay wrote:Installed Version: 2014R2.7
Centos 6.7
Good morning,
Can I change a check_nrpe check from Critical to Warning?
Regards
Hello,
What kind of check are you doing? If you see a
-w 40 and
-c 20 or similar in the service for that check, you could adjust those values accordingly.
Re: Changing status of a check_nrpe check
Posted: Thu Sep 10, 2015 10:32 am
by tbmay
Sorry.
CheckServiceState
No values.
Re: Changing status of a check_nrpe check
Posted: Thu Sep 10, 2015 2:53 pm
by tmcdonald
Are you trying to force a particular check into a certain state regardless of what it is currently in? Or are you trying to change the thresholds for that check?
Re: Changing status of a check_nrpe check
Posted: Thu Sep 10, 2015 3:08 pm
by tbmay
I would say the only practical way to deal with this for me is to force all those to be warnings. Since I'm only firing when services are not running that are supposed to be, I don't want to cherry pick. I'd just like this to be WARNING instead of CRITICAL.
Re: Changing status of a check_nrpe check
Posted: Thu Sep 10, 2015 3:18 pm
by ssax
Ok, the only way that I can see this being possible is to write a wrapper script.
Please post your exact service definition so that I can set it up properly for you, go to Configure > Core Config Manager > Services, find the service and click the little blue disk icon next to it and post it's (sanitized) defintion.
Thank you
Re: Changing status of a check_nrpe check
Posted: Thu Sep 10, 2015 3:19 pm
by tbmay
Understand. No need. I just hoped there was something I didn't know. You can close the ticket.