bind nagios server to a certain IP

Hugo van der Kooij hvdkooij at vanderkooij.org
Mon Jul 17 23:42:57 CEST 2006


On Mon, 17 Jul 2006, Greg Cope wrote:

> On Mon, 2006-07-17 at 11:14 -0400, Morris, Patrick wrote:
> > > -----Original Message-----
> > > From: nagios-users-bounces at lists.sourceforge.net
> > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf
> > > Of Greg Cope
> > > Sent: Monday, July 17, 2006 7:43 AM
> > > To: nagios
> > > Subject: [Nagios-users] bind nagios server to a certain IP
> > >
> > > Hi All,
> > >
> > > Is it possible to get a nagios server to bind to an IP?
> > >
> > > Searching seems to reveal no config for this.
> > >
> > > I want to get nagios to use one IP on a cluster so that the other host
> > > (active-passive) can take it over in the event of a failure.
> > >
> > > This also means I can move the IP to any other host with out
> > > having to re-configure all the clients.
> >
> > Nagios itself doesn't bind to an IP address.  What do you want to bind
> > to the IP?
>
> I've set allowed_hosts in nrpe.conf - so the clients will only accept
> checks from a certain IP.
>
> This is the IP I am trying to get nrpe checks bound to.

Sounds like you are in need of post-route packet mangling. Time to hit the
iptables manuals and setup a custome ruleset to rewrite the addresses as
needed.

Hugo.

-- 
	I hate duplicates. Just reply to the relevant mailinglist.
	hvdkooij at vanderkooij.org		http://hvdkooij.xs4all.nl/
		Don't meddle in the affairs of magicians,
		for they are subtle and quick to anger.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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