nrpe allowed_hosts

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Tue Oct 8 00:12:20 CEST 2002


I'm curious:  How many Nagios servers do you have monitoring the same host?

Surely even if you had a very generous 5 Nagios servers monitoring this
host, it wouldn't be a big deal to have those addresses explicitly listed.

If you're more concerned with the volatility of moving/renumbering your
Nagios server and having to redeploy nrpe.cfg among N hosts, you might want
to take an approach similar to the following:

1) Create an nrpe.cfg which is identical across all (or at least most) of
your hosts;
2) Manage this nrpe.cfg file from a trusted central host (ie, a 'gold'
server);
3) Distribute this file from the gold server, using rsync, or
NFS/automount/cp, or scp, etc;
4) Restart the nrpe daemon (using ssh, or a Makefile/cronjob).

As Brian Whitehead pointed out, this is of no concern if you're kicking off
nrpe from (x)inetd.

jc

PS - These concepts were inspired by www.infrastructures.org.

> -----Original Message-----
> From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com]
> Sent: Monday, October 07, 2002 4:22 PM
> To: Nagios-User (E-mail)
> Subject: [Nagios-users] nrpe allowed_hosts
> 
> 
> All,
> 
> In the nrpe.cfg file there is the line allowed_hosts.
> 
> Can a range of addresses be used instead of a single address. 
> If so what
> would be the syntax?  
> 
> i.e. 10.24.2.0-50
> 
> or 10.24.2.x
> 
> Thanks,
> 
> Dan
>  
> 
> 
> -------------------------------------------------------
> 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
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list