Problem with check_procs

Victor Severgnini victor.severgnini at opservices.com.br
Thu Sep 25 14:11:16 CEST 2008


Hello Esteban,

   You have to use chek_nrpe for remote checks.

Nagios Server:
define command{
command_name    check_nrpe
command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -to 60
}

Remote Host (nrpe.cfg):
command[check_crond]=/usr/local/opmon/libexec/check_procs -w 1: -c 1: -C crond


Best regards.
---
Victor Severgnini      victor.severgnini at opservices.com.br
OpServices                    www.opservices.com.br
Phone: (55) 51 3275 3588    Mobile: (55) 51 -81944997

----- Mensagem original -----
De: "Esteban Torres Rodriguez" <etorres at dap.es>
Para: nagios-users at lists.sourceforge.net
Enviadas: Quinta-feira, 25 de Setembro de 2008 4:36:35 (GMT-0300) Auto-Detected
Assunto: [Nagios-users] Problem with check_procs

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: etorres at dap.es 


-------------------------------------------------------------------------
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 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

-------------------------------------------------------------------------
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 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