Page 1 of 1

local and global event_handlers

Posted: Mon Mar 24, 2014 3:10 pm
by vvz
Hello!
quick question - to enable local_event_handler we have to enable global_event_handler option in main config file.
In this case we are getting one event from global and one more from local event handler in /var/log/messages.
For sure I can assign fake script for global event handler, but - is there better way to get events only for local event handler (host or service)?
Thank you

Re: local and global event_handlers

Posted: Mon Mar 24, 2014 4:03 pm
by slansing
Well, I believe global event handlers are either on, or off, they are most typically seen as notification commands that are responsible for sending out email/sms/etc alerts upon host/service state changes. Though you can set up standard event handlers on a case by case basis as well. So, after that spiel, are you sure you want to disable them? If so, you can certainly do so that way.

Re: local and global event_handlers

Posted: Mon Mar 24, 2014 5:41 pm
by vvz
no, it was just a question.

Re: local and global event_handlers

Posted: Tue Mar 25, 2014 11:08 am
by slansing
Fair enough, I just wanted to make sure you understood it correctly, do you have further questions on it?