Page 1 of 1

CLoning not taking event handler

Posted: Tue Feb 24, 2015 6:28 am
by venkitesh
Hi All,

i have a linux machine say test with an event handler say notify-service-by-test

but when i am cloning this machine and creating a new one this event hanler is not taking automatically

if i see the test.cfg file i can see event_handler = notify-service-by-test

but in the cloned machine only i can see event_handler =1 which is there is test also

kindly help as it is difficult to add manually

Re: CLoning not taking event handler

Posted: Wed Feb 25, 2015 11:13 am
by lmiltchev
I just cloned a host using the Bulk Host Import and Cloning wizard, which had a event_handler directive defined, and can verify that the "event_handler" directive was not transferred. I will discuss this with out developers and see if this functionality could be added.

You can however create your configs via a script, place them in the "import" directory and run "reconfigure_nagios.sh" to add all of the "cloned" hosts. Please, check out the following document:

http://assets.nagios.com/downloads/nagi ... gement.pdf

Hope this helps.

Re: CLoning not taking event handler

Posted: Thu Feb 26, 2015 12:57 am
by venkitesh
Thanks man it worked !!!

Re: CLoning not taking event handler

Posted: Thu Feb 26, 2015 10:13 am
by ssax
I'm glad that worked for you, can we mark this as resolved and lock the topic?

Re: CLoning not taking event handler

Posted: Mon Mar 02, 2015 1:58 am
by venkitesh
Hi

Yes PLease