[Nagios-devel] event handler and status file update order

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] event handler and status file update order

Post by Guest »

--0__=08BBFB07DFE9DE6A8f9e8a93df938690918c08BBFB07DFE9DE6A
Content-type: text/plain; charset=US-ASCII





Hello,
I've found this sequence of what nagios does with event handler and status
file:
- host/service check finds state change, and calls event handler command
- event handler command does its processing, and either finishes or is
killed if runs longer than the nagios event handler timeout
- status.log is updated

Is there any way to get the status file updated before the event handler is
called?

Thanks for any help you can provide.

_____________________
Sean McKell
"Be noble! and the nobleness that lies in other men, sleeping but never
dead, will rise in majesty to meet thine own." - James Russell Lowell
_____________________
--0__=08BBFB07DFE9DE6A8f9e8a93df938690918c08BBFB07DFE9DE6A
Content-type: text/html; charset=US-ASCII
Content-Disposition: inline


Hello,
I've found this sequence of what nagios does with event handler and status file:
- host/service check finds state change, and calls event handler command
- event handler command does its processing, and either finishes or is killed if runs longer than the nagios event handler timeout
- status.log is updated

Is there any way to get the status file updated before the event handler is called?

Thanks for any help you can provide.

_____________________
Sean McKell
"Be noble! and the nobleness that lies in other men, sleeping but never dead, will rise in majesty to meet thine own." - James Russell Lowell
_____________________

--0__=08BBFB07DFE9DE6A8f9e8a93df938690918c08BBFB07DFE9DE6A--






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked