Help in Running Nrpe inside inetd with TCP Wrappers on FreeBSD.

Mukarram Syed muksyed at yahoo.com
Wed Nov 24 07:55:46 CET 2004


Thanks Jan for your suggestions.

I did add gaia's IP in the nrpe.cfg file as allowed
hosts, enabled logs and I get the following message in
the /var/log/messages:

Nov 23 20:56:22 gaia nrpe[78179]: Unable to open
config file '//nrpe.cfg' for reading 
Nov 23 20:56:22 gaia nrpe[78179]: Config file
'//nrpe.cfg' contained errors, bailing out...
Nov 23 20:56:27 gaia nrpe[78188]: Unable to open
config file '//nrpe.cfg' for reading 
Nov 23 20:56:27 gaia nrpe[78188]: Config file
'//nrpe.cfg' contained errors, bailing out..

My nrpe.cfg file seems okay.  But why am I getting
these errors.  The permissions are set to 777.
I did a preflight check no errors.  But still it
reports the following error.
Don't know why.
Any suggestions will be very helpful.
Thanks Much.

-Mukarram.

--- Jan Scholten <Jan.Scholten at iconz.net> wrote:

> > 
> > Here is my /etc/inetd.conf file with the nrpe
> line:
> > 
> > # Enable NRPE
> > nrpe    stream  tcp

     nowait  nagios
> > /usr/libexec/tcpd
> /usr/local/etc/nagios/libexec/nrpe
> > -i /usr/local/etc/nagios/etc/nrpe.cfg --inetd
> 
> > Here is my hosts.allow file:
> > 
> > nrpe: gaia : allow 
> > nrpe: ALL : deny 
> 
> Did you edit the nrpe.cfg and added gaias IP as
> allowed host?
> 
> 
> > I am trying to connect nrpe on the same box, but
> > unable to connect.
> > 
> > gaia# /usr/local/etc/nagios/libexec/check_nrpe -H
> gaia
> > -p 5666
> > CHECK_NRPE: Received 0 bytes from daemon.  Check
> the
> > remote server logs for error messages.
> > gaia# 
> 
> try debug mode in nrpe and check logfiles
> 
> 
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> 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
> 


=====
Mukarram Syed
muksyed at yahoo.com


		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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