thanks for the reply.
can you give me more details about the above two options or push some more links on the same. Also can I use event_handler option to execute different commands based on the current state?
What I want is to do specific things (tests) based on the notifications from nagios about a specific service. For example, say if nagios say that apache service is down or critical then I can view it from the frontend (the webpage). But is there a way to catch that response and run a script or command?
I think this is what event_handler do. But can you provide some more details.