nrpe wrapper problems - solaris 8 (try 2 :)

Ben Whaley bwhaley at costrack.com
Thu Nov 20 21:10:47 CET 2003


Thanks for the help. The problem ended up being incorrect permissions on
tcpd. I made it executable by the nrpe user and all was well.

Thanks,
Ben


On 11/19/03 3:35 PM, "Luc I. Suryo" <luc at suryo.com> wrote:

> 
> 
> works for me here....
> 
> try to do this
> 
> a) strings <location-of>/tcpd | grep hosts
> tomake sure you have the correct location of hosts.allow/deny
> 
> b) do a tcpdchk
> 
> c) inetd has been HUP-ed
> 
> d) check inetd.conf, here how mine looks like:
> -------
> #
> # Nagios agent
> #
> nrpe    stream  tcp nowait  sys /usr/sbin/tcpd /usr/local/etc/nagios/sbin/nrpe
> -i /usr/local/etc/nagios/nrpe.cf
> 
> 
> hope this may help a bit
> 
> -ls
> 
> 
>> Terribly sorry about the double message - accidently hit
>> enter :( Let me try this again.
>> 
>> I'm having problems wrapping nrpe on Solaris 8 hosts. The
>> daemon will start up and run fine standalone - just
>> /usr/local/nrpe/nrpe -c /usr/local/nrpe/nrpe.cfg -i works
>> fine. Even putting it in inetd, unwrapped, like the
>> following:
>>  
>>  nrpe stream tcp nowait nrpe /usr/local/nrpe/nrpe
>>  nrpe -c /usr/local/nrpe/nrpe.cfg -i
>> 
>> ... works just fine. However, wrapping it, using the
>> following: 
>> 
>>  nrpe stream tcp nowait nrpe /usr/local/sbin/tcpd
>>  /usr/local/nrpe/nrpe -c /usr/local/nrpe/nrpe.cfg -i
>> 
>> ... does not work. Nothing in any of the logs (unless
>> there's a specific wrapper log that I'm unaware of) that
>> would indicate a problem. I can look in daemon.log and I see
>> an nrpe connection entry. When I telnet to the host, it
>> opens a connection and immediately closes it. hosts.allow
>> has the following pertinent entry:
>> 
>>   nrpe: <myhost> 127.0.0.1 : ALLOW
>> 
>> and /etc/services has:
>> 
>>   nrpe 5666/tcp
>> 
>> I'm at a loss. Any ideas?



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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