Netprobe - Why does a rejection message appear in my Netprobe log when trying to connect my netprobe to a gateway?
The below information appears, when a connection from a netprobe is getting rejected by the gateway as it is already connected to another gateway.
<Sat Feb 25 02:30:54> INFO: GW Accepting connection from gateway named 'geneos-dr'. <Sat Feb 25 02:30:54> INFO: ORB Gateway 'geneos-dr' from denpda3gwitr02 is not the first and has been rejected. Gateway is SECONDARY. Primary Gateway name is geneos-dr connected from denpda3gwitr01:52586. <Sat Feb 25 02:30:54> INFO: ORB Adding to the non-master list. (0x3bbeab0)
In the above example:
- Netprobe rejects gateway connection to ‘*geneos-*dr’ from denpda3gwitr02 - This is because it is already connected to the following gateway: denpda3gwitr01 (10.223.132.48) Reasons why this occurs:
-
1x netprobe can ONLY have a 1:1 relationship with 1x gateway - to add more monitoring, you will need to install a 2nd netprobe and ensure it is running on a different port
-
Double check that each netprobe connection is different i.e. use the right port number for each connecting netprobe
-
If you’re running a hot-stand by pair, the gateway may now think its primary. The gateway name will be the same, but will have a different IP Address. This information will be available on the netprobe log to which gateway it is connecting to
-
There is a conflict between 2x network interfaces - check if the correct gateway is being connected to, by checking the connections in the gateway log as well as the netprobe log. The information can be found further towards the start of the log
-
Netprobe log - will show which gateway it is connecting to
-
Gateway log - will show all the connected netprobes on that gateway You can check & confirm which gateway the netprobe is connecting to by running the following command on the netprobe server: netstat -panut grep <netprobe port number>
grep 7036 tcp 0 0 0.0.0.0:7036 0.0.0.0:* LISTEN 7712/netprobe.linux tcp 0 0 10.219.117.112:7036 10.223.132.48:38128 ESTABLISHED 7712/netprobe.linux ```
The above output tells us that netprobe *dendrc3apqts02* is connecting to a gateway and gives the following IP address of that gateway (**10.223.132.48**)