bind nagios server to a certain IP

Greg Cope greg.cope at e-dba.net
Mon Jul 17 18:01:20 CEST 2006


On Mon, 2006-07-17 at 17:56 +0200, Giles Coochey wrote:
>  >Thanks Giles.
> >
> >The host already runs linux heartbeat, and is in an 
> >active-passive ha cluster running bind, ldap and dhcpd.  
> >I wanted to add nagios to the mix.  When setting this 
> >up it is usual to give each app a VIP address, and 
> >configure that on the active host.
> >
> >As I have configured nrpe clients to only allow checks 
> >from one IP - the nrpe checks needs to come from that 
> >IP address.
> 
> Well the short answer is nagios will run it's checks from the Interface
> which is most suited to be the route to that host.

Yes - that's what I realised.

So my only choice is to either remove the allow host constraint on nrpe,
or to add more IP's to it.  I suppose either is roughly the same amount
of work. 

> Under Linux, with iptables patches, it *may* be possible to mark packets
> coming from a particular process and have them processed in their own ip
> routing table. This is a complicated set up however, and I get the
> impression that you're looking for an easier solution.

Done that before - but I do not want to start playing with firewall
rules just for this.

Greg



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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