PDA

View Full Version : How do I


venatici
27th December 2006, 00:28
Sorry if this has been asked a million times...

I'm fairly new to this tool. I am trying to learn Linux while i implement this. I did not setup our Oreon/Nagios environment, however, I help with the mangement of it. So, my question is...

How do I add a custom Event_Handler for a service?

Do i just build it and drop it into a folder? or Do i build it and add a Plugin?

Thanks.

And, no, I don't speak French, sorry.

Austin

rom
27th December 2006, 12:11
Hello,

Make a script command according to nagios mechanisms :
http://nagios.sourceforge.net/docs/2_0/eventhandlers.html

Create a command in Oreon (config->commands) to use this script.

Apply it in a service definition with your command selection.

venatici
8th January 2007, 21:06
Thanks. I got it.