Configuring nrpe

Subhendu Ghosh sghosh at sghosh.org
Fri Apr 18 20:34:54 CEST 2003


Do you have the correct port number configured?

Does the command line and configure syntax match?

-sg

On Fri, 18 Apr 2003, Jeff Lane wrote:

> Oddly enough, I tried changing the command bit to mysqld and it 
> worked... weird...  and changing it to just safe_mysqld worked as well...
> 
> Here is another problem however...
> 
> I have also put nrpe on a web server and I am getting problems iwth the 
> checks timing out automatically...
> 
> Here is what the GUI shows:
> webgnostics
> 	
> 	
> Cobalt Admin Status
> CRITICAL 	04-18-2003 14:26:25 	0d 0h 38m 1s 	3/3 	CHECK_NRPE: Socket 
> timeout after 10 seconds.
> 	
> Current Load
> CRITICAL 	04-18-2003 14:26:48 	0d 0h 37m 41s 	3/3 	CHECK_NRPE: Socket 
> timeout after 10 seconds.
> 	
> Current Users
> CRITICAL 	04-18-2003 14:27:10 	0d 0h 37m 11s 	3/3 	CHECK_NRPE: Socket 
> timeout after 10 seconds.
> 
> 
> and there are many others... what causes this?  If I run the check_nrpe 
> commands by hand, each and every one works perfectly... HOWEVER when 
> they are run by nagios automatically, they all fail...
> 
> This failure is ONLY occuring for this one host.  I checked service.cfg 
> and hosts.cfg and everthing seems to be correct in each of them
> 
> Any thoughts?
> 
> Jeff
> 	
> Subhendu Ghosh wrote:
> > You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld"
> > 
> > note the ps on the command line probably has different defaults than ps in 
> > check_procs.  Take look at your config.h for PS_COMMAND.
> > 
> 
> 
> 
> 

-- 




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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