bind nagios to a fix ip

Chris Wilson chris at aidworld.org
Fri Jul 29 10:50:20 CEST 2005


Hi, 

On Wed, 2005-07-27 at 19:42, Fa. Schramm e.K. - Deutschland wrote:

> I am running an nagios daemon with serveral checks. My server machine 
> which contains the nagios process, has 5 ip's collective.
> 
> My problem is that nagios uses one of the 5 ip's, but not a fix ip. I 
> want to tell nagios to use one fix ip. In other daemons i can tell the 
> programm to bind an ip to it.

If you're running on Linux, you could try "iptables -t nat -I
POSTROUTING -j SNAT --to-source my.first.ip.address" and see if that
helps.

Cheers, Chris.
-- 
(aidworld) chris wilson | chief engineer (chris at aidworld.org)



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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