change network interface?

Subhendu Ghosh sghosh at sghosh.org
Tue Nov 25 23:07:43 CET 2003


On Mon, 24 Nov 2003, David wrote:

> I is posable to make Nagios use a differant network
> interface (i.e. hme0:1 or eth2)?
> 
> I want to have Nagios run on an IP that is not the
> host IP. That way if I ever change the Nagios to a new
> host I won't have to change all the ipfilter rules on
> the remote machines.
> 

Close to impossible as each plugin uses a socket or another extrernal 
program to access the network.

Easier would be to have iptables do a MASQ between the virtual IP and the 
host ip so your ipfilter rules can stay intact. (1-to-1 NAT)

-- 
-sg



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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