Force check_nrpe to use a particular interface
Andreas Ericsson
ae at op5.se
Tue Sep 27 13:33:21 CEST 2005
Borgström Georg wrote:
> Hi,
> Our Nagios server has multiple interfaces. Is it possible to force check_nrpe
> to use a particular interface when contacting the nrpe daemon on clients?
No. The interface is selected based on the routing tables you've set up
in the linux kernel. If your traffic is sent on wrong interface you've
done something wrong when configuring the various routes and/or
networks+netmasks.
man 8 ip
man 8 route
It *is* ofcourse possible to force outgoing traffic to go via a
particular interface (portably, traffic can be sent from a particular
address assigned to one of the network interfaces - man 2 bind for
details). This is usually considered terribly bad practice, since the
same effect can be achieved through proper routing on the box initiating
the connection.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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