Send netdisco-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: Netdisco 2 - port name problem (Edward Vopata)
   2. Re: Netdisco 2 - port name problem (Edward Vopata)
   3. Re: Netdisco 2 - port name problem (Steven Xu)
--- Begin Message ---

I got my workers issue corrected. I had "task: 60" and it needs to be "tasks: 60" or "tasks: 'AUTO * 2'".

I am relieved to see that someone else is having the same issues.


I have purged my database and have forced netdisco to only recognize 16, several of these devices exhibited the ifIndex issues. I performed an initital discover on all 16 devices, and have setup a schedule as follows:

schedule:
  discoverall:
    when: '1,31 9,10,11,12,1,2,3,4,5 * * *'
  macwalk:
    when:
      min: 20
  arpwalk:
    when:
      min: 50
  expire:
    when: '20 23 * * *'

workers:
  tasks: 'AUTO * 10'
        ## it created 160 netdisco-daemon: worker processes

I realize that this is excessive, but I am trying to isolate and reproduce that issue.

-- Ed.


On 02/10/16 08:15, Steven Xu wrote:
Hi Edward,

I don't have a networking background, so, unfortunately, I can't help look at your device SNMP config if it is indeed the cause of your problems. I was simply speculating as a layman.

Note that in Netdisco V1, as far as I know, it only discovered one device at a time unless you specifically wrote custom code otherwise. In Netdisco V2, it queries multiple devices at the same time. The problem may have only become visible when querying multiple devices at a time.

Steven


--- End Message ---
--- Begin Message ---

I may have reproduced the issues on device 10.255.32.81.
Attached is the netdisco-daemon  log for that device.

Hope this helps.

-- Ed.




On 02/10/16 13:33, Edward Vopata wrote:

I got my workers issue corrected. I had "task: 60" and it needs to be "tasks: 60" or "tasks: 'AUTO * 2'".

I am relieved to see that someone else is having the same issues.


I have purged my database and have forced netdisco to only recognize 16, several of these devices exhibited the ifIndex issues. I performed an initital discover on all 16 devices, and have setup a schedule as follows:

[647] 2016-02-10 14:50:30 debug [10.255.32.81] try_connect with ver: 1, class: 
SNMP::Info::Layer3::Cisco, comm: <hidden>
[647] 2016-02-10 14:51:30 debug  [10.255.32.81] arpnip - found subnet 
10.255.32.64/26
[647] 2016-02-10 14:51:30 debug  [10.255.32.81] arpnip - processed 0 ARP Cache 
entries
[647] 2016-02-10 14:51:30 debug  [10.255.32.81] arpnip - processed 0 IPv6 
Neighbor Cache entries
[647] 2016-02-10 14:51:30 debug  [10.255.32.81] arpnip - processed 1 Subnet 
entries
[647] 2016-02-10 15:01:16 debug [10.255.32.81] try_connect with ver: 1, class: 
SNMP::Info::Layer3::Cisco, comm: <hidden>
[647] 2016-02-10 15:01:56 debug [10.255.32.81] try_connect with ver: 1, new 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[647] 2016-02-10 15:02:36 debug  [10.255.32.81] device - aliased as 10.255.32.81
[647] 2016-02-10 15:03:16 debug  [10.255.32.81] device - removed 1 aliases
[647] 2016-02-10 15:03:16 debug  [10.255.32.81] device - added 1 new aliases
[647] 2016-02-10 15:07:37  info  [10.255.32.81] interface - device uptime 
wrapped 2 times - correcting
[647] 2016-02-10 15:07:37 debug  [10.255.32.81] interfaces - removed 8 
interfaces
[647] 2016-02-10 15:07:37 debug  [10.255.32.81] interfaces - added 9 new 
interfaces
[647] 2016-02-10 15:07:57 debug  [10.255.32.81] vlans - removed 2 device VLANs
[647] 2016-02-10 15:07:57 debug  [10.255.32.81] vlans - added 5 new device VLANs
[647] 2016-02-10 15:07:57 debug  [10.255.32.81] vlans - removed 0 port VLANs
[647] 2016-02-10 15:07:57 debug  [10.255.32.81] vlans - added 0 new port VLANs
[647] 2016-02-10 15:08:17 debug  [10.255.32.81] power - 0 power modules
[647] 2016-02-10 15:12:37 debug  [10.255.32.81] modules - removed 1 chassis 
modules
[647] 2016-02-10 15:12:37 debug  [10.255.32.81] modules - added 4 new chassis 
modules
[647] 2016-02-10 15:12:37 debug  [10.255.32.81] neigh - setting manual topology 
links
[655] 2016-02-10 15:20:26 debug [10.255.32.81] try_connect with ver: 1, class: 
SNMP::Info::Layer3::Cisco, comm: <hidden>
[655] 2016-02-10 15:23:26 debug  [10.255.32.81] macsuck - no VLANs found.
[655] 2016-02-10 15:23:26 debug  [10.255.32.81] macsuck - 0 updated forwarding 
table entries
[655] 2016-02-10 15:23:26 debug  [10.255.32.81] macsuck - removed 0 fwd table 
entries to archive
[653] 2016-02-10 15:50:44 debug [10.255.32.81] try_connect with ver: 1, class: 
SNMP::Info::Layer3::Cisco, comm: <hidden>
[653] 2016-02-10 15:51:04 debug  [10.255.32.81] check_mac - HSRP mac 
[00:00:0c:07:ac:02] - skipping
[653] 2016-02-10 15:51:24 debug  [10.255.32.81] arpnip - found subnet 
10.255.32.64/26
[653] 2016-02-10 15:51:24 debug  [10.255.32.81] arpnip - processed 1 ARP Cache 
entries
[653] 2016-02-10 15:51:24 debug  [10.255.32.81] arpnip - processed 0 IPv6 
Neighbor Cache entries
[653] 2016-02-10 15:51:24 debug  [10.255.32.81] arpnip - processed 1 Subnet 
entries
[11915] 2016-02-10 16:01:36 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[11915] 2016-02-10 16:02:36 debug [10.255.32.81] try_connect with ver: 2, new 
class: SNMP::Info::Layer3, comm: <hidden>
[11915] 2016-02-10 16:02:57 debug  [10.255.32.81] device - aliased as 
10.255.32.81
[11915] 2016-02-10 16:03:17 debug  [10.255.32.81] device - removed 1 aliases
[11915] 2016-02-10 16:03:17 debug  [10.255.32.81] device - added 1 new aliases
[11915] 2016-02-10 16:07:37 debug  [10.255.32.81] interfaces - removed 68 
interfaces
[11915] 2016-02-10 16:07:38 debug  [10.255.32.81] interfaces - added 68 new 
interfaces
[11915] 2016-02-10 16:08:18 debug  [10.255.32.81] vlans - removed 0 device VLANs
[11915] 2016-02-10 16:08:18 debug  [10.255.32.81] vlans - added 0 new device 
VLANs
[11915] 2016-02-10 16:08:18 debug  [10.255.32.81] vlans - removed 0 port VLANs
[11915] 2016-02-10 16:08:18 debug  [10.255.32.81] vlans - added 0 new port VLANs
[11915] 2016-02-10 16:08:18 debug  [10.255.32.81] power - 0 power modules
[11915] 2016-02-10 16:11:58 debug  [10.255.32.81] modules - removed 82 chassis 
modules
[11915] 2016-02-10 16:11:58 debug  [10.255.32.81] modules - added 82 new 
chassis modules
[11915] 2016-02-10 16:11:58 debug  [10.255.32.81] neigh - setting manual 
topology links
[11915] 2016-02-10 16:11:58 debug  [10.255.32.81] neigh - CDP/LLDP not enabled!
[11923] 2016-02-10 16:20:37 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info::Layer3, comm: <hidden>
[11923] 2016-02-10 16:20:38 debug [10.255.32.81] try_connect with ver: 2, new 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[11920] 2016-02-10 16:50:19 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info::Layer3, comm: <hidden>
[11920] 2016-02-10 16:50:19 debug [10.255.32.81] try_connect with ver: 2, new 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[11920] 2016-02-10 16:51:19 debug  [10.255.32.81] arpnip - found subnet 
10.255.32.64/26
[11920] 2016-02-10 16:51:19 debug  [10.255.32.81] arpnip - processed 0 ARP 
Cache entries
[11920] 2016-02-10 16:51:19 debug  [10.255.32.81] arpnip - processed 0 IPv6 
Neighbor Cache entries
[11920] 2016-02-10 16:51:19 debug  [10.255.32.81] arpnip - processed 1 Subnet 
entries
[11933] 2016-02-10 17:01:20 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info::Layer3, comm: <hidden>
[11933] 2016-02-10 17:01:40 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info, comm: <hidden>
[11933] 2016-02-10 17:01:40 debug [10.255.32.81] try_connect with ver: 2, new 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[11933] 2016-02-10 17:01:40 debug  [10.255.32.81] device - aliased as 
10.255.32.81
[11933] 2016-02-10 17:03:00 debug  [10.255.32.81] device - removed 1 aliases
[11933] 2016-02-10 17:03:00 debug  [10.255.32.81] device - added 1 new aliases
[11933] 2016-02-10 17:06:00 debug  [10.255.32.81] interfaces - removed 68 
interfaces
[11933] 2016-02-10 17:06:01 debug  [10.255.32.81] interfaces - added 68 new 
interfaces
[11933] 2016-02-10 17:07:01 debug  [10.255.32.81] vlans - removed 0 device VLANs
[11933] 2016-02-10 17:07:01 debug  [10.255.32.81] vlans - added 5 new device 
VLANs
[11933] 2016-02-10 17:07:01 debug  [10.255.32.81] vlans - removed 0 port VLANs
[11933] 2016-02-10 17:07:01 debug  [10.255.32.81] vlans - added 0 new port VLANs
[11933] 2016-02-10 17:07:21 debug  [10.255.32.81] power - 0 power modules
[11933] 2016-02-10 17:09:01 debug  [10.255.32.81] modules - removed 82 chassis 
modules
[11933] 2016-02-10 17:09:01 debug  [10.255.32.81] modules - added 82 new 
chassis modules
[11933] 2016-02-10 17:09:01 debug  [10.255.32.81] neigh - setting manual 
topology links
[11933] 2016-02-10 17:10:01 debug  [10.255.32.81] neigh - adding neighbor 
10.255.32.69, type [], on FastEthernet0/0 to discovery queue
[11936] 2016-02-10 17:20:08 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[11936] 2016-02-10 17:20:48 debug [10.255.32.81] try_connect with ver: 2, new 
class: SNMP::Info::Layer3, comm: <hidden>
[11936] 2016-02-10 17:21:29 debug  [10.255.32.81] macsuck - 0 updated 
forwarding table entries
[11936] 2016-02-10 17:21:29 debug  [10.255.32.81] macsuck - removed 0 fwd table 
entries to archive
[11919] 2016-02-10 17:50:16 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[11919] 2016-02-10 17:50:16 debug  [10.255.32.81] check_mac - HSRP mac 
[00:00:0c:07:ac:02] - skipping
[11919] 2016-02-10 17:50:56 debug  [10.255.32.81] arpnip - processed 1 ARP 
Cache entries
[11919] 2016-02-10 17:50:56 debug  [10.255.32.81] arpnip - processed 0 IPv6 
Neighbor Cache entries
[11919] 2016-02-10 17:50:56 debug  [10.255.32.81] arpnip - processed 0 Subnet 
entries
[11939] 2016-02-10 18:01:11 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[11939] 2016-02-10 18:01:51 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info, comm: <hidden>
[11939] 2016-02-10 18:01:51 debug [10.255.32.81] try_connect with ver: 2, new 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[11939] 2016-02-10 18:01:51 debug  [10.255.32.81] device - aliased as 
10.255.32.81
[11939] 2016-02-10 18:01:51 debug  [10.255.32.81] device - removed 1 aliases
[11939] 2016-02-10 18:01:51 debug  [10.255.32.81] device - added 1 new aliases
[11939] 2016-02-10 18:04:52 error  [10.255.32.81] interfaces - Error! Failed to 
get uptime from device!
[11939] 2016-02-10 18:05:52 debug  [10.255.32.81] vlans - removed 5 device VLANs
[11939] 2016-02-10 18:05:52 debug  [10.255.32.81] vlans - added 5 new device 
VLANs
[11939] 2016-02-10 18:05:52 debug  [10.255.32.81] vlans - removed 0 port VLANs
[11939] 2016-02-10 18:05:52 debug  [10.255.32.81] vlans - added 0 new port VLANs
[11939] 2016-02-10 18:05:52 debug  [10.255.32.81] power - 0 power modules
[11939] 2016-02-10 18:06:12 debug  [10.255.32.81] modules - removed 82 chassis 
modules
[11939] 2016-02-10 18:06:12 debug  [10.255.32.81] modules - 0 chassis 
components (added one pseudo for chassis)
[11939] 2016-02-10 18:06:12 debug  [10.255.32.81] neigh - setting manual 
topology links
[11937] 2016-02-10 18:20:12 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[11937] 2016-02-10 18:20:32 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info, comm: <hidden>
[11937] 2016-02-10 18:20:52 debug [10.255.32.81] try_connect with ver: 1, 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[11937] 2016-02-10 18:22:13 debug  [10.255.32.81] macsuck - 0 updated 
forwarding table entries
[11937] 2016-02-10 18:22:13 debug  [10.255.32.81] macsuck - removed 0 fwd table 
entries to archive
[11916] 2016-02-10 18:50:25 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[11916] 2016-02-10 18:51:45 debug  [10.255.32.81] arpnip - found subnet 
10.255.32.64/26
[11916] 2016-02-10 18:51:45 debug  [10.255.32.81] arpnip - processed 0 ARP 
Cache entries
[11916] 2016-02-10 18:51:45 debug  [10.255.32.81] arpnip - processed 0 IPv6 
Neighbor Cache entries
[11916] 2016-02-10 18:51:45 debug  [10.255.32.81] arpnip - processed 1 Subnet 
entries
[14535] 2016-02-10 19:11:52 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[14535] 2016-02-10 19:12:33 debug [10.255.32.81] try_connect with ver: 2, new 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[14535] 2016-02-10 19:15:53 debug  [10.255.32.81] device - removed 1 aliases
[14535] 2016-02-10 19:15:53 debug  [10.255.32.81] device - added 1 new aliases
[14526] 2016-02-10 19:18:00 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[14624] 2016-02-10 19:18:09 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[14624] 2016-02-10 19:18:09 debug  [10.255.32.81] check_mac - HSRP mac 
[00:00:0c:07:ac:02] - skipping
[14532] 2016-02-10 19:18:11 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[14526] 2016-02-10 19:18:20 debug  [10.255.32.81] device - aliased as 
10.255.32.81
[14624] 2016-02-10 19:18:50 debug  [10.255.32.81] arpnip - found subnet 
10.255.32.64/26
[14624] 2016-02-10 19:18:50 debug  [10.255.32.81] arpnip - processed 1 ARP 
Cache entries
[14624] 2016-02-10 19:18:50 debug  [10.255.32.81] arpnip - processed 0 IPv6 
Neighbor Cache entries
[14624] 2016-02-10 19:18:50 debug  [10.255.32.81] arpnip - processed 1 Subnet 
entries
[14526] 2016-02-10 19:19:00 debug  [10.255.32.81] device - removed 1 aliases
[14526] 2016-02-10 19:19:00 debug  [10.255.32.81] device - added 1 new aliases
[14535] 2016-02-10 19:19:34  info  [10.255.32.81] interface - device uptime 
wrapped 2 times - correcting
[14535] 2016-02-10 19:19:34 debug  [10.255.32.81] interfaces - removed 68 
interfaces
[14535] 2016-02-10 19:19:34 debug  [10.255.32.81] interfaces - added 68 new 
interfaces
[14532] 2016-02-10 19:19:52 debug  [10.255.32.81] macsuck - no VLANs found.
[14532] 2016-02-10 19:19:52 debug  [10.255.32.81] macsuck - 0 updated 
forwarding table entries
[14532] 2016-02-10 19:19:52 debug  [10.255.32.81] macsuck - removed 0 fwd table 
entries to archive
[14627] 2016-02-10 19:20:14 debug [10.255.32.81] try_connect with ver: 2, 
class: SNMP::Info::Layer3::Cisco, comm: <hidden>
[14535] 2016-02-10 19:20:54 debug  [10.255.32.81] vlans - removed 5 device VLANs
[14535] 2016-02-10 19:20:54 debug  [10.255.32.81] vlans - added 5 new device 
VLANs
[14535] 2016-02-10 19:20:54 debug  [10.255.32.81] vlans - removed 0 port VLANs
[14535] 2016-02-10 19:20:54 debug  [10.255.32.81] vlans - added 0 new port VLANs
[14535] 2016-02-10 19:20:54 debug  [10.255.32.81] power - 0 power modules

[14535] 2016-02-10 19:21:14 debug  [10.255.32.81] modules - removed 1 chassis 
modules
[14535] 2016-02-10 19:21:14 debug  [10.255.32.81] modules - 0 chassis 
components (added one pseudo for chassis)
[14535] 2016-02-10 19:21:14 debug  [10.255.32.81] neigh - setting manual 
topology links
[14627] 2016-02-10 19:22:35 debug  [10.255.32.81] macsuck - no VLANs found.
[14627] 2016-02-10 19:22:35 debug  [10.255.32.81] macsuck - 0 updated 
forwarding table entries
[14627] 2016-02-10 19:22:35 debug  [10.255.32.81] macsuck - removed 0 fwd table 
entries to archive
[14526] 2016-02-10 19:22:41 error  [10.255.32.81] interfaces - Error! Failed to 
get uptime from device!
[14526] 2016-02-10 19:23:41 debug  [10.255.32.81] vlans - removed 5 device VLANs
[14526] 2016-02-10 19:23:41 debug  [10.255.32.81] vlans - added 5 new device 
VLANs
[14526] 2016-02-10 19:23:41 debug  [10.255.32.81] vlans - removed 0 port VLANs
[14526] 2016-02-10 19:23:41 debug  [10.255.32.81] vlans - added 0 new port VLANs
[14526] 2016-02-10 19:24:01 debug  [10.255.32.81] power - 0 power modules
[14526] 2016-02-10 19:24:21 debug  [10.255.32.81] modules - removed 1 chassis 
modules
[14526] 2016-02-10 19:24:21 debug  [10.255.32.81] modules - 0 chassis 
components (added one pseudo for chassis)
[14526] 2016-02-10 19:24:21 debug  [10.255.32.81] neigh - setting manual 
topology links

--- End Message ---
--- Begin Message --- Hi Edward,

I don't have a solution yet, but I'm offering my observations in case anyone wants to add to this. I'll ponder a solution tomorrow (hopefully after you can answer some of the following questions).

You have no shortage of bizarre results:
You said you disabled arpnip and macsuck, but I'm still seeing log entries for arpnip and macsuck. Did you restart the netdisco daemon?

On several occasions, Netdisco is trying to connect to the same device with different SNMP Classes and SNMP versions, timing out after 20 seconds if it isn't able to connect. I suspect this is caused by your Netdisco SNMP configuration or with the code.

I find it interesting that at 15:07:37 of your logs, it says the device has 9 interfaces, but on the next discover at 16:07:37, it removes 68 interfaces. How is netdisco removing more interfaces than were already there?
Is this after you purged your database? Still very confusing to me.
Can you confirm that there were no physical changes to the device while you were running discovers? How many actual interfaces are on this device?

In addition, on two discovers, it fails to update the ports because it is not able to get the uptime for the device. This might be caused by the fact that you are discovering this device too often, but this only happens to 1 of our 300 devices, and we discover every four hours.

Netdisco also complains about a wrapped uptime two times out of the four times it successfully updates device port entries, but these messages aren't after sequential discovers. I would expect that it would complain about a wrapped uptime all four times.

Steven

-----Edward Vopata <[email protected]> wrote: -----
To: Steven Xu <[email protected]>
From: Edward Vopata <[email protected]>
Date: 02/10/2016 03:12PM
Cc: <[email protected]>
Subject: Re: [Netdisco] Netdisco 2 - port name problem


I may have reproduced the issues on device 10.255.32.81.
Attached is the netdisco-daemon  log for that device.

Hope this helps.

-- Ed.




On 02/10/16 13:33, Edward Vopata wrote:

I got my workers issue corrected.  I had "task: 60" and it needs to be "tasks: 60" or "tasks: 'AUTO * 2'".

I am relieved to see that someone else is having the same issues.


I have purged my database and have forced netdisco to only recognize 16, several of these devices exhibited the ifIndex issues. 
I performed an initital discover on all 16 devices, and have setup a schedule as follows:

 


[attachment "NetDisco-daemon-log.txt" removed by Steven Xu/fs/YorkU]

--- End Message ---
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to