I don't receive a changing state

Victor Severgnini victor.severgnini at opservices.com.br
Tue Sep 30 14:30:29 CEST 2008


Hello Jean,

Try to use check_procs ( http://nagiosplugins.org/man/check_procs ).

Run on the server host A. With the command :
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_procs 1 1 crond

Define in the nrpe.cfg Host B:
command[check_procs]=/usr/local/opmon/libexec/check_procs -w $ARG1$: -c $ARG2$: -C $ARG3$

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: "Jean Frontin" <frontin at irit.fr>
Para: "nagios" <nagios-users at lists.sourceforge.net>
Enviadas: Terça-feira, 30 de Setembro de 2008 4:13:44 (GMT-0300) Auto-Detected
Assunto: [Nagios-users] I don't receive a changing state

Hello,

I apologize if you receive this message for a second time but Ithink of 
that my first mail didn't start.

I run nagios 2.9 on the server host A. With the command :

command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_xxx

I look at if processes are running on the host B with the command in 
"nrpe.cfg" :

command[check_xxx]=/etc/nagios/check_xxx

where check_xxx is a "ps -ef"...

When processes are running I receive on A "processes are running". But 
when processes are down I receive :

CHECK_NRPE: No output received from daemon

the command on B "ps -ef ..." writes nothing !

I should receive, on server nagios A, an alert "critical state" ! and, 
of course, a "recovery" when processes are running again !

Regards


-- 
Jean Frontin
System team
I R I T
Université Paul-Sabatier
118, rte de Narbonne
31062 Toulouse cedex 9
France
tel  (33)(0)5 61 55 63 03
mail frontin at irit.fr


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