NetXMS Support Forum

English Support => General Support => Topic started by: troffasky on November 20, 2015, 08:23:06 PM

Title: Rediscovering my discovery
Post by: troffasky on November 20, 2015, 08:23:06 PM
I had discovery running a few days ago:

[17-Nov-2015 07:38:13.433] [DEBUG] AcceptNewNode(172.26.1.3): auto filter, flags=0003
[17-Nov-2015 07:38:13.482] [DEBUG] AcceptNewNode(172.26.1.3): auto filter - bResult=0
[17-Nov-2015 07:38:13.482] [DEBUG] NodePoller: processing node 172.26.1.4/32 in zone 0
[17-Nov-2015 07:38:13.482] [DEBUG] AcceptNewNode(172.26.1.4): auto filter, flags=0003
[17-Nov-2015 07:38:13.532] [DEBUG] AcceptNewNode(172.26.1.4): auto filter - bResult=0
[17-Nov-2015 07:38:13.532] [DEBUG] NodePoller: processing node 172.26.1.5/32 in zone 0
[17-Nov-2015 07:38:13.532] [DEBUG] AcceptNewNode(172.26.1.5): auto filter, flags=0003
[17-Nov-2015 07:38:13.582] [DEBUG] AcceptNewNode(172.26.1.5): auto filter - bResult=0
...
[17-Nov-2015 07:53:20.632] [DEBUG] Finished active discovery check on range 172.26.1.1 - 172.26.1.255


What does flags=0003 and bResult=0 mean? I have Network Discovery configured for Active and Passive and 172.26.1.0/24 is in the Active Discovery Targets, but the above three nodes haven't been added. Also, 172.26.1.0/24 is in zone 11 not zone 0.

Since then I have restarted the netxmsd service and I haven't seen any more active discovery messages. Can I force an active discovery? In the Server Configuration, ActiveNetworkDiscovery = 1 which I assume means 'on'.
Title: Re: Rediscovering my discovery
Post by: Alex Kirhenshtein on November 20, 2015, 10:30:50 PM
flags==3 is DFF_ALLOW_AGENT + DFF_ALLOW_SNMP – automatically generated filter, which will accept any node with agent or with active snmp.
bResult==0 means "false", this filter was no matched (0 - false, anything else - true).
Title: Re: Rediscovering my discovery
Post by: troffasky on November 21, 2015, 12:34:48 AM
OK, I don't get it. Why wouldn't 172.26.1.3/32 match a filter of 172.26.1.0/24? Is it because the  the subnet doesn't match the zone?

All the agents have a community string of 'public' which is on my list of strings in the SNMP Credentials.
Title: Re: Rediscovering my discovery
Post by: Victor Kirhenshtein on November 24, 2015, 08:59:52 PM
172.26.1.3/32 is within 172.26.1.0/24, but likely do not respond to SNMP or do not have netXMS agent.

Best regards,
Victor
Title: Re: Rediscovering my discovery
Post by: troffasky on November 26, 2015, 12:42:56 AM
Filter not matched means the host is accepted, not rejected?

I will re-order the communities in the SNMP settings and....well, I was going to say try again but it seems you just leave it and it does recovery by itself. I know SNMP works on all these devices because I am already monitoring them with SNMP from the same server with Zabbix.
Title: Re: Rediscovering my discovery
Post by: Victor Kirhenshtein on November 30, 2015, 10:27:17 PM
Filter not matched means host rejected. Could you please share a screenshot of network discovery configuration screen?

Best regards,
Victor
Title: Re: Rediscovering my discovery
Post by: troffasky on June 16, 2016, 11:56:55 PM
Has been a while since I looked at this [still no "active discovery check" lines in 2.7M lines of log files] so I will upgrade to newer version before troubleshooting further.