CLoning not taking event handler

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
venkitesh
Posts: 67
Joined: Tue Jan 27, 2015 12:34 am

CLoning not taking event handler

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: CLoning not taking event handler

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
venkitesh
Posts: 67
Joined: Tue Jan 27, 2015 12:34 am

Re: CLoning not taking event handler

Post by venkitesh »

Thanks man it worked !!!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: CLoning not taking event handler

Post by ssax »

I'm glad that worked for you, can we mark this as resolved and lock the topic?
venkitesh
Posts: 67
Joined: Tue Jan 27, 2015 12:34 am

Re: CLoning not taking event handler

Post by venkitesh »

Hi

Yes PLease
Locked