[Nagiosplug-help] NRPE allowed_hosts directive doesn't work?

Horvath Tamas zsitfa at axelero.hu
Fri Jun 18 19:27:00 CEST 2004


Hi!

I have to allow just two IP adresses.

I've tried today the following configurations:

1. allowed_hosts=10.200.40.253,10.200.40.254
2. allowed_hosts=10.200.40.253 10.200.40.254 (space between IPs)
3. allowed_hosts=10.200.40.253, 10.200.40.254 (space and comma)
4. allowed_hosts=10.200.40.253	10.200.40.254 (tab)
5. allowed_hosts=10.200.40.253;10.200.40.254
6. allowed_hosts=10.200.40.253
   allowed_hosts=10.200.40.254 (IPs in two raws)

The result was the same at all the above cases: it seems to me, that
nrpe only accept the second IP in the lists.

I use nrpe as standalone daemon and I compiled the same version under
Linux (the monitoring station) as well as under Solaris (the monitored
boxes). I complied nrpe with the --disable-ssl directive, because
without this I always get an "..SSL handshake" error.

After every change in the nrpe.cfg I restarted nrpe daemon.

Can anyone have a tip how can I use nrpe with two allowed addresses?

Thanks is advance, Tamas!
:
> s/,/ /g
> 
> 
> (that's "change the commas to spaces")
> 
> 
> On Wed, 2004-06-16 at 20:48 +0200, Horvath Tamas wrote:
> > Hi Everybody!
> > 
> > My Nagios (1.1) runs on Debian woody. I monitor private local resources
> > of some Solaris (v.8) boxes via nrpe.
> > 
> > It seems to me that the "allowed_hosts" directive only works when I give
> > just 1 IP address. If I list several comma separated IP addresses it
> > doesn't work at all. For example:
> > allowed_hosts=10.200.40.253,10.200.40.254.
> > 
> > I use nrpe as a standalone daemon!
> > 
> > Can anybody help me?
> > 
> > Thanks a lot, Tamas!
> > 
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> > _______________________________________________
> > Nagiosplug-help mailing list
> > Nagiosplug-help at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> > ::: Please include plugins version (-v) and OS when reporting any issue. 
> > ::: Messages without supporting info will risk being sent to /dev/null
> 
> 



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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