On Jan 18, 2008, at 9:17 PM, Nelson Serafica wrote: > Can I configure nagios to bind to specific ip address? I have 2 ips > 10.0.1.14 and 10.4.0.65. 10.0.1.14 is NAT to the gateway. while > 10.4.0.65 is for the network 10.4.0.0/24. > > If 10.4.0.65 is up, I can see an error in my logs in 10.4.0.0/24 > network cause only allowed to run this plugins is from 10.0.1.14. > This plugins is to check if radius is running or not. > > Can I bind in nagios that all plugins will run on 10.0.1.14 ip?
The plugins are not able to bind to specific IP's when sending out traffic. They use the IP of the interface defined by your routing tables as the best route to the destination. The easiest option would be to make the 10.0.1.14 IP the base IP on your interface and the other the alias. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list [email protected] 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
