any way to specify source address for server?

Hugo van der Kooij hvdkooij at vanderkooij.org
Tue May 9 22:45:36 CEST 2006


On Tue, 9 May 2006, Paul Archer wrote:

> I'd like to give my Nagios server a virtual IP address, so that if we want
> to migrate the monitoring service to another machine in the future, it'll
> be easy (just setup the new machine and give it the same virtual IP).
> While nrpe can be configured to only listen on certain interfaces, I can't
> find any way to make Nagios send only on certain interfaces. Right now, it
> uses the primary interface only.
> So, is it possible to tell Nagios only to use a particular interface? Or
> is this at least coming in a future release?

This is a tricky issue. First of all I must assume you are referring to
the actions taken by the various checks. These are in fact regulated by
the individual plugins so there is not a single way to solve this.

Example:
If my dns plugin calls dig to do the job then how do I run dig in the
manner you describe? And will such a soulution work for other plugins?

In general I think nagios expects your host to solve these issues. In your
case you could considere working around the issue with NAT rules in the
IP stack of your OS.

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.


-------------------------------------------------------
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