Event Handlers on the External Commands

Andreas Ericsson ae at op5.se
Tue Dec 11 12:24:05 CET 2007


ankit.mehrotra at tcs.com wrote:
> I am trying to get the performance data from the remote machines passively
> and want to control the starting and the stopping of the monitoring probes
> from the Nagios Server machine.
> 
> For this, I want to write Event Handlers on the External Commands, but I am
> not sure How to go about it ?
> Does somebody has any idea about it ? any sample code will be of great
> help.
> 

Write it as a NEB-module. An example module can be found in
modules/helloworld.c in the nagios source tarball.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list