change network interface?

Marc Powell mpowell at ena.com
Mon Nov 24 23:23:41 CET 2003


Short answer: man route; read the man page, then search for 'route add' and/or 'route add default gw'.
 
Longer answer: Nagios doesn't control this, nor do any of the plugins that I am aware of. The most universal way of controlling what source IP a check uses is to route the packets out the appropriate interface on the monitoring machine. This can not be done on a per check basis but on a per destination host (or network) basis .
 
--
Marc

	-----Original Message----- 
	From: David [mailto:geekwhite at yahoo.com] 
	Sent: Mon 11/24/2003 4:03 PM 
	To: nagios-users at lists.sourceforge.net 
	Cc: 
	Subject: [Nagios-users] change network interface?
	
	

	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.
	
	Thanks
	
	Dave
	
	__________________________________
	Do you Yahoo!?
	Free Pop-Up Blocker - Get it now
	http://companion.yahoo.com/
	
	
	-------------------------------------------------------
	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
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031124/82ded9ad/attachment.html>


More information about the Users mailing list