Changing status of a check_nrpe check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tbmay
Posts: 67
Joined: Wed Jan 22, 2014 6:23 pm

Changing status of a check_nrpe check

Post by tbmay »

Installed Version: 2014R2.7
Centos 6.7

Good morning,

Can I change a check_nrpe check from Critical to Warning?

Regards
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Changing status of a check_nrpe check

Post 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.
Former Nagios Employee.
me.
tbmay
Posts: 67
Joined: Wed Jan 22, 2014 6:23 pm

Re: Changing status of a check_nrpe check

Post by tbmay »

Sorry.

CheckServiceState

No values.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Changing status of a check_nrpe check

Post 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?
Former Nagios employee
tbmay
Posts: 67
Joined: Wed Jan 22, 2014 6:23 pm

Re: Changing status of a check_nrpe check

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Changing status of a check_nrpe check

Post 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
tbmay
Posts: 67
Joined: Wed Jan 22, 2014 6:23 pm

Re: Changing status of a check_nrpe check

Post by tbmay »

Understand. No need. I just hoped there was something I didn't know. You can close the ticket.
Locked