Page 2 of 2

Re: [Design Advice Needed] Push POST notifications into Nagi

Posted: Mon Dec 01, 2014 1:26 pm
by wally
I based my analysis on this link:

http://nagios.sourceforge.net/docs/3_0/extcommands.html

When Does Nagios Check For External Commands?
- At regular intervals specified by the command_check_interval option in the main configuration file (default 60 seconds)
- Immediately after event handlers are executed. This is in addition to the regular cycle of external command checks and is done to provide immediate action if an event handler submits commands to Nagios.

Not sure when the event handlers are executed? Do you think that's the reason you get fast execution?

Re: [Design Advice Needed] Push POST notifications into Nagi

Posted: Mon Dec 01, 2014 5:34 pm
by abrist
That is indeed what the docs say, though in my experience it is always within just a second or two that the commands run (when system is not under load). I wonder if there has been a undocumented change somewhere?