[EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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@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