Cannot find zone proxy node for address range

Started by troffasky, June 18, 2021, 05:03:32 PM

Previous topic - Next topic

troffasky

Is this actually an error?:

2021.06.18 14:56:55.860 *D* [poll.discovery     ] Cannot find zone proxy node for address range 172.22.141.0/24@19

I can't tell if it's given up at this point or what. There is no proxy required to reach it, should be direct from the server. On the zone it had a proxy of "unknown", which I have now deleted but doesn't seem to have made any difference.

Running a manual scan on this subnet. It's not discovering a couple of routers in this subnet that I *know* have correct SNMP credentials and can be walked and are pingable from the server.

troffasky

I'm no programmer, but I've looked over server/core/poll.cpp and it seems that because the Zone is not 0, then it's assuming the discovery needs to be done via a proxy and not directly from the server? Polling of data from nodes in this zone directly from the server otherwise works fine.

Victor Kirhenshtein

Yes, currently network discovery code assumes that other zones are only fully reachable via proxy. I will think how to fix that.
Out of curiosity, what is the reason for creation of separate zone if everything within that zone is directly reachable from server?

Best regards,
Victor

troffasky

It's more of an organisational thing - I created different zones for different customers, some of which go via their proxies, some of which are reachable directly from the server.