Hi, You should read up on either NRPE, NCSA or one of the check_ssh plugins to do what you want.
All standard plugins execute directly on the Nagios box. The above solutions allow for plugins to be executed on a remote box and send the result back to Nagios. NRPE is when Nagios requests the plugin to be executed (active check) whereas NCSA is when the NCSA daemon on the remote box does the checks (passive check.) See http://www.nagioscommunity.org/wiki/index.php/Howtos:nrpe_nsca for more info. Andy Esteban Torres Rodriguez wrote: > hello everybody. > > how to check process of remote machine? > > define command{ > command_name check_procs > command_line $USER1$/check_procs -H $HOSTADDRESS$ -w $ARG1$ > -c $ARG2$ > } > > -H $HOSTADDRESS$ this does not work. I get error. > > Bye. > > Esteban Torres Rodríguez > ÁREA DE SOPORTE TÉCNICO - Administración de Servidores > Subdirección de Sistemas Informáticos > Empresa Pública Desarrollo Agrario y Pesquero, > email: [EMAIL PROTECTED] > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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