Hi Lingyun, Have a look at NRPE.
Basically you run an NRPE daemon on the remote machines (which is configured with the commands to use.) You set up a service in Nagios to use check_nrpe to query the remote NRPE daemon. The NRPE daemon takes the command name to use, runs the command associated on the system, then sends the result back to Nagios, which determines if it was successful or not. You get the check_nrpe plugin by compiling NPRE (you just have to copy it to Nagios' libexec directory. Andy. Lingyun Yang wrote: > Hi: > I am running nagios to monitoring a cluster. There are different > kinds of services running on different machines. How could I use nagios > to monitor the services on remote machines? I know I may need to write > new plugins to check the service status. My question is: how could I > send the service status back to nagios's machine. Do I need to write a > client which running on the remote machine and send check results back > to nagios periodically? or is there any existing nagios's figure > supporting this functionality? > > thanks > Lingyun > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > 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 > > !DSPAM:37,46c499c8107501549885501! > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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