Re: [Nagios-users] nrpe and critical state

2010-05-25 Thread Stier, Matthew
From the check_nrpe usage message:  

 

Options:

 -n = Do no use SSL

 -u = Make socket timeouts return an UNKNOWN state instead of
CRITICAL

 

From: shadih rahman [mailto:shadhi...@gmail.com] 
Sent: Tuesday, May 25, 2010 11:35 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] nrpe and critical state

 

I am doing  a check which counts the number of process running on the
remote host.  Lets say for whatever reason nrpe could not establish
connection during the test.  In this situation, should it not go to
UNKNOWN state.  However I see its going to critical state.  Please
advise on this.  Thanks

[user]./check_nrpe -H x -c check_process_x64 -a 0: 10: httpd
Connection refused by host
[user]echo $?
2

-- 
Cordially,
Shadhin Rahman

--

___
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] Host down due to plugins timing out

2010-05-13 Thread Stier, Matthew
The default timeout for nrpe is 10 seconds.How long does your plugin
take to run?

 

 

From: Kaplan, Andrew H. [mailto:ahkap...@partners.org] 
Sent: Thursday, May 13, 2010 1:51 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Host down due to plugins timing out

 

Hi there -- 

I recently set up a new client to be monitored by our Nagios 3.1.2
server. The client is running the CentOS 5.4 
operating system, and it has version 2.6 of NRPE as well as version 2.12
of the plugins installed on it. I made 
sure to deactivate the firewall on the system, disable the SELinux
option, and also modified the /etc/services 
file to include port 5666 with udp and tcp. 

The problem that I am having is that even though everything appears to
be running properly, the requests that 
are sent from the Nagios server to the client are timing out, with the
result being the client appearing as down. 
The client has the nrpe program running with the following
configuration: 

/usr/local/nrpe/bin/nrpe -n -c /usr/local/nrpe/etc/nrpe.cfg -d 

I verified the plugins are working on the client, and also confirmed
there are no other clients being reported as 
down. The configuration that I described is not unique to this client.
This same setup is working for other clients 
that are monitored by the server. 

Does anyone have any idea as to why this is occurring, and what I can do
to correct it? Thanks. 

 

 
 
The information in this e-mail is intended only for the person to whom
it is
addressed. If you believe this e-mail was sent to you in error and the
e-mail
contains patient information, please contact the Partners Compliance
HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you
in error
but does not contain patient information, please contact the sender and
properly
dispose of the e-mail.
--

___
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