Page 1 of 1

Configure nagios to force run a check after another check?

Posted: Mon Nov 24, 2014 4:13 pm
by westernuniv
I’m using check_http to monitor URL login check of a SSO enabled web page and I’d like to force logout after each login. I do have the URL for the Signout and so I can run another check_http after the login check, but how I can configure in nagios to automate this?

Thanks

Re: Configure nagios to force run a check after another chec

Posted: Mon Nov 24, 2014 4:21 pm
by tmcdonald
Take a look at event handlers:

http://assets.nagios.com/downloads/nagi ... ios-XI.pdf

Specifically, make sure you set the "is_volatile" setting to 1 or true, so that each check is treated as a state change (otherwise the event handler won't run all the time).