<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6249.1">
<TITLE>[Nagios-users] change network interface?</TITLE>
</HEAD>
<BODY dir=ltr>
<DIV>Short answer: man route; read the man page, then search for 'route add'
and/or 'route add default gw'.</DIV>
<DIV> </DIV>
<DIV>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 .</DIV>
<DIV> </DIV>
<DIV>--</DIV>
<DIV>Marc</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT size=2>-----Original Message----- <BR><B>From:</B> David
[mailto:geekwhite@yahoo.com] <BR><B>Sent:</B> Mon 11/24/2003 4:03 PM
<BR><B>To:</B> nagios-users@lists.sourceforge.net <BR><B>Cc:</B>
<BR><B>Subject:</B> [Nagios-users] change network
interface?<BR><BR></FONT></DIV>
<P><FONT size=2>I is posable to make Nagios use a differant
network<BR>interface (i.e. hme0:1 or eth2)?<BR><BR>I want to have Nagios run
on an IP that is not the<BR>host IP. That way if I ever change the Nagios to a
new<BR>host I won't have to change all the ipfilter rules on<BR>the remote
machines.<BR><BR>Thanks<BR><BR>Dave<BR><BR>__________________________________<BR>Do
you Yahoo!?<BR>Free Pop-Up Blocker - Get it now<BR><A
href="http://companion.yahoo.com/">http://companion.yahoo.com/</A><BR><BR><BR>-------------------------------------------------------<BR>This
SF.net email is sponsored by: SF.net Giveback Program.<BR>Does SourceForge.net
help you be more productive? Does it<BR>help you create better
code? SHARE THE LOVE, and help us help<BR>YOU! Click Here: <A
href="http://sourceforge.net/donate/">http://sourceforge.net/donate/</A><BR>_______________________________________________<BR>Nagios-users
mailing list<BR>Nagios-users@lists.sourceforge.net<BR><A
href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>:::
Please include Nagios version, plugin version (-v) and OS when reporting any
issue.<BR>::: Messages without supporting info will risk being sent to
/dev/null<BR></FONT></P></BLOCKQUOTE>
</BODY>
</HTML>