Icinga2 and PAT network for the monitored hosts

hello, and welcome :slight_smile: I’m new here and new for Icinga2.

Can’t see similar topics. So provide a new entry regarding the PAT network and how to set up in monitoring.

Please share information on how to setup monitoring for hosts that are using the same IP address outside their local network.
Is it possible to provide a host IP address with the port number in Icinga2 object configuration?
Do Icinga2 support Virtual IPs?

I managed to solve the ICMP issue be using the paping tool for ping those hosts. But this does not solve a problem with monitoring services on different hosts using the same IP (PAT network). How to get around this. Any suggestion will be welcome :slight_smile:

Hayt

1 Like

hello, and welcome :slight_smile: I’m new here and new for Icinga2.

Can’t see similar topics. So provide a new entry regarding the PAT network
and how to set up in monitoring.

Please share information on how to setup monitoring for hosts that are
using the same IP address outside their local network.

So, you’re asking about several machines which you want to monitor, all of
which are behind a router which maps their sent packets to a single IP
address?

Is it possible to provide a host IP address with the port number in Icinga2
object configuration?

No.

Do Icinga2 support Virtual IPs?

What does that mean? What are virtual IPs?

I managed to solve the ICMP issue be using the paping tool for ping those
hosts. But this does not solve a problem with monitoring services on
different hosts using the same IP (PAT network). How to get around this.

Simple.

Set up the monitorED hosts to connect to the monitorING server.

Do not tell the monitorING server to connect to the monitorED hosts.

In other words, on the master, define the monitored hosts without specifying
their addresses.

On the monitored hosts, define the master with an address.

That way the monitored systems will connect to the monitoring master and all
will be happy. Icinga doesn’t care which end of the connection initiates the
communication - so long as it works at least one way, you’re fine.

If you’re using the node setup wizard as documented at
https://icinga.com/docs/icinga2/latest/doc/06-distributed-monitoring/
#agentsatellite-setup then on all the monitored hosts you would answer the
question “Do you want to establish a connection to the parent node from this
node? [Y/n]:” with a Yes.

Regards,

Antony.

1 Like