nagios bind to specific ip

Brian A. Seklecki lavalamp at spiritual-machines.org
Sat Jan 19 18:26:54 CET 2008


On Fri, 2008-01-18 at 19:17 -0800, 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. 

The CGI module is just an Apache/HTTPD addon code module, and Apache can
be easily bound to single IP on a multi-homed system using VirtualHost
containers.

As for the HC modules, the ad-hoc child process fork()/exec() model
makes it difficult, but I would assert that the lack of a standard
argument model for binding/sourcing check traffic is a serious design
flaw.

Actually I would do it using exported environmental variables.

Best solution I imagine (but haven't tested) is to run Nagios inside a
FreeBSD jail.

~BAS



-------------------------------------------------------------------------
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
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