Distributed Nagios - duplicate IPs a problem?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Distributed Nagios - duplicate IPs a problem?

Post by eloyd »

We'll be deploying a distributed (via mod_gearman) configuration for a customer that is all coordinated back to a central Nagios XI server. Our customer is monitoring things at dozens of remote sites, each with a local network that is likely duplicated between sites. Meaning, site A is 192.168.1.0/24, site B is 192.168.1.0/24, site C is 192.168.1.0/24, etc. It's hard for us to test this in our lab exactly, but is Nagios going to have an issue with the fact that multiple machines will appear to have the same IP addresses, even though they're on different networks (reached via mod_gearman workers at each of those sites)?
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Distributed Nagios - duplicate IPs a problem?

Post by tmcdonald »

Shouldn't be a problem at all. As long as mod_gearman is handling the checks, each IP will be locally-scoped to that gearman worker's network. Nagios doesn't really do any checking of the address, to my knowledge. Not sure why it would either, since you might need two hosts with the same address in a DR or similar setup where the secondary node takes over the IP of the first.
Former Nagios employee
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Distributed Nagios - duplicate IPs a problem?

Post by eloyd »

Yeah, just being paranoid. Thanks. Close. Forget.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Distributed Nagios - duplicate IPs a problem?

Post by mcapra »

Closing this up
Former Nagios employee
https://www.mcapra.com/
Locked