Re: [Nagios-users] Please help. Problem using check_nrpe and check_mailq

2009-01-15 Thread Sergio Ariel
I stopped Nagios first, and executed from Nagios Server:
check_nrpe -H Postfix Server's IP -t 500 -c check_cola_correo

and the result was the same (NRPE: Command timed out after 60 seconds) 
so, I don't think it's because a nagios.cfg's timeout definition.

Please, what do you think about?





jmose...@corp.xanadoo.com wrote:
 
 
 
 Sergio Ariel sergio.ar...@iris.uh.cu  wrote:
 
 
 I have installed NRPE to check a Postfix Server's mail queue.
 I have changed timeouts in order to obtain what I want.

 In Postfix Server I have declared in nrpe.cfg this:

 command[check_cola_correos]=/usr/local/nagios/libexec/check_mailq -w
 5000 -c 7000 -M postfix -t 450

 and when I run from Nagios Server this:
 check_nrpe -H Postfix Server's IP -t 500 -c check_cola_correo

 I obtain this error message:
 NRPE: Command timed out after 60 seconds

 What can I do?
 I don't know where is this timeout of 60 seconds.

 Thanks
 
 Perhaps the 'service_check_timeout' setting in the main nagios.cfg file?
 
 James
 
 
 

-- 
Sergio Ariel de la Campa Saiz
Administrador Red UH

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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


Re: [Nagios-users] Please help. Problem using check_nrpe and check_mailq

2009-01-15 Thread jmoseley




Sergio Ariel sergio.ar...@iris.uh.cu  wrote:

I stopped Nagios first, and executed from Nagios Server:
check_nrpe -H Postfix Server's IP -t 500 -c check_cola_correo

and the result was the same (NRPE: Command timed out after 60 seconds)
so, I don't think it's because a nagios.cfg's timeout definition.

Please, what do you think about?

You need to adjust the timeout setting in nagios.cfg on the nagios server
AND adjusting the timeout setting (command_timeout=60) in the nrpe.cfg on
the Postfix server...  Those values will override anything you set in the
command line argument.

James



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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


Re: [Nagios-users] Please help. Problem using check_nrpe and check_mailq

2009-01-15 Thread Marc Powell

On Jan 15, 2009, at 8:06 AM, Sergio Ariel wrote:

 I stopped Nagios first, and executed from Nagios Server:
 check_nrpe -H Postfix Server's IP -t 500 -c check_cola_correo

 and the result was the same (NRPE: Command timed out after 60 seconds)
 so, I don't think it's because a nagios.cfg's timeout definition.

 Please, what do you think about?

Does whatever plugin 'check_cola_correo' runs have a timeout? Did you  
increase that?

--
Marc

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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


[Nagios-users] Please help. Problem using check_nrpe and check_mailq

2009-01-14 Thread Sergio Ariel
I have installed NRPE to check a Postfix Server's mail queue.
I have changed timeouts in order to obtain what I want.

In Postfix Server I have declared in nrpe.cfg this:

command[check_cola_correos]=/usr/local/nagios/libexec/check_mailq -w 
5000 -c 7000 -M postfix -t 450

and when I run from Nagios Server this:
check_nrpe -H Postfix Server's IP -t 500 -c check_cola_correo

I obtain this error message:
NRPE: Command timed out after 60 seconds

What can I do?
I don't know where is this timeout of 60 seconds.

Thanks




-- 
Sergio Ariel de la Campa Saiz
Administrador Red UH

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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


Re: [Nagios-users] Please help. Problem using check_nrpe and check_mailq

2009-01-14 Thread jmoseley




Sergio Ariel sergio.ar...@iris.uh.cu  wrote:


I have installed NRPE to check a Postfix Server's mail queue.
I have changed timeouts in order to obtain what I want.

In Postfix Server I have declared in nrpe.cfg this:

command[check_cola_correos]=/usr/local/nagios/libexec/check_mailq -w
5000 -c 7000 -M postfix -t 450

and when I run from Nagios Server this:
check_nrpe -H Postfix Server's IP -t 500 -c check_cola_correo

I obtain this error message:
NRPE: Command timed out after 60 seconds

What can I do?
I don't know where is this timeout of 60 seconds.

Thanks

Perhaps the 'service_check_timeout' setting in the main nagios.cfg file?

James



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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