Commit Graph

86 Commits

Author SHA1 Message Date
Oliver Gorwits
179ae2553f macsuck_unsupported setting to allow node gathering on delinquent switches 2015-03-04 22:54:52 +00:00
Oliver Gorwits
bb49b695a6 [#179] Catch failure to get uptime from device 2015-01-25 10:26:31 +00:00
Oliver Gorwits
b2d61b3d5f [#193] DBI Exception for Cisco ACE MacAddr format
Also standardise on IEEE MAC format now that NetAddr::MAC has that corrected.
2015-01-08 11:07:28 +00:00
Oliver Gorwits
d91ee66634 Discovered devices are polled for ARP and MAC immediately 2014-11-19 22:05:34 +00:00
Oliver Gorwits
1f7fe169ec [#159] Macsuck archive behaviour same as ND1 (unseen nodes remain active) 2014-11-14 23:55:25 +00:00
Oliver Gorwits
a308d1a177 [#162] Change from Net::MAC to NetAddr::MAC
Note that IEEE and Microsoft are the WRONG WAY ROUND in NetAddr::MAC. I've
emailed the author about this. A dirty hack is in place to deal with it.
2014-11-14 22:49:07 +00:00
Oliver Gorwits
b89988cd69 Skip device aliases which cannot be parsed as IPs 2014-09-03 10:39:30 +00:00
Oliver Gorwits
2bc92999b8 [#123] Allow devices with no LLDP/CDP to be found as Nodes 2014-08-25 18:48:11 +01:00
Oliver Gorwits
6695f659a1 fix get_arp docs 2014-08-23 13:35:32 +01:00
Oliver Gorwits
1c3e0f260c Push a row into Device Modules for the chassis even if no module info 2014-08-08 22:33:52 +01:00
Oliver Gorwits
70531a17f1 UTF-8 encoding for Port Name (description) 2014-08-02 14:39:28 +01:00
Oliver Gorwits
b96793bd72 Fix POD errors in Nbtstat and ResultSet::Device 2014-08-02 08:19:34 +01:00
Oliver Gorwits
2dbcc25843 + * Sort CDP/LLDP data to be more consistent when multiple neighbors on a port
+  * Add "AP" as a hint for WAP support
2014-07-31 21:23:50 +01:00
Oliver Gorwits
62d92df44a [#122] CDP/LLDP discovery for some HP switches (M. Kosmach) 2014-07-29 13:10:48 +01:00
Oliver Gorwits
df71cf946e UTF8 decode the remote type string in neighbor protocol 2014-07-22 23:13:11 +01:00
Eric A. Miller
657eb7fe7b Encode NetBIOS name, domain, user as UTF-8 2014-07-21 20:57:40 -04:00
Oliver Gorwits
7241db7a23 Fake one device aliases entry for devices not providing ip_index 2014-07-21 21:24:12 +00:00
Eric A. Miller
e7803caa59 Asynchronous NBTstat 2014-07-20 21:51:20 -04:00
Oliver Gorwits
d6f2d357cc Track how many times the device uptime wrapped (F. Schiavarelli) 2014-07-01 20:46:34 +01:00
Eric A. Miller
94bee28fc8 Use accessor 2014-06-24 21:22:14 -04:00
Eric A. Miller
e293a1b819 Use the SNMP::Info class attribute rather than re-querying for device_type. SNMP::Info classes that override the layers attribute may not return the same device_type after object instantiation. This also saves a SNMP query. 2014-06-23 20:54:13 -04:00
Oliver Gorwits
ba38f9e93d Revert "[#23] Move to NetAddr::MAC for better handling of MACs"
This reverts commit 562b3d26db.

Discovered a few unpolished bits of NetAddr::MAC, unfortunately. For example
$NetAddr::MAC::errstr is not reset when new instances are created.
2014-05-28 23:23:08 +01:00
Oliver Gorwits
562b3d26db [#23] Move to NetAddr::MAC for better handling of MACs 2014-05-24 13:12:32 +01:00
Oliver Gorwits
2d180b1f16 fix undefined key in Discover 2014-05-22 16:52:20 +01:00
Oliver Gorwits
9685eb182a Merge pluggable job queue branch.
Squashed commit of the following:

commit e2ca15c0f8
Merge: 0a90308 ffcf6ed
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed May 21 21:18:58 2014 +0100

    Merge branch 'master' into og-pluggable-daemon

commit 0a90308ecf
Merge: e80c575 ee398fc
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 17 22:20:40 2014 +0100

    Merge branch 'master' into og-pluggable-daemon

    Conflicts:
    	Netdisco/lib/App/Netdisco.pm

commit e80c575c57
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 17 22:14:44 2014 +0100

    move worker sleep into jobqueue

commit c83b999597
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 17 22:01:43 2014 +0100

    support disable manager from jobqueue dynamic code

commit 4792b0dc49
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 17 21:34:28 2014 +0100

    fix pod name

commit 187fc84937
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 17 21:22:06 2014 +0100

    better naming

commit 1c43aaa0f4
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 17 21:18:49 2014 +0100

    make worker use only JobQueue not LocalQueue directly

commit 5316058ba8
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 17 20:42:19 2014 +0100

    remove unecessary scrub subroutine

commit 8077e3de9d
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 17 20:31:18 2014 +0100

    remove any duplicate jobs when locking

commit d4b5e4e6cd
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 17 20:20:32 2014 +0100

    rename DefaultSettings to Configuration

commit aacb149d09
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 17 19:57:45 2014 +0100

    no need to check - mgr is not started if 0 workers

commit 46ebe4cd6a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 17 19:50:37 2014 +0100

    remove unecessary job scrub

commit 60522fe555
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 17 19:27:53 2014 +0100

    fixes for DefaultSettings

commit 2c6f0dd0f7
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 17 19:11:50 2014 +0100

    rename housekeeping to schedule

commit c12034d2b0
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 17 19:06:22 2014 +0100

    new DefaultSettings package, and mv queue to be key of workers

commit 49e9079f9a
Merge: ec8ad3b 213f44e
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 17 08:00:02 2014 +0100

    Merge branch 'master' into og-pluggable-daemon

commit ec8ad3b2d8
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun May 11 01:18:21 2014 +0100

    fix entered_stamp

commit 471724dd89
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 10 23:44:14 2014 +0100

    fix auto hack

commit 4620deff33
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 10 23:27:11 2014 +0100

    final migration

commit 5413e34e83
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 10 23:18:12 2014 +0100

    more JobQueue migration

commit 9569bda4d8
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 10 22:44:20 2014 +0100

    migrate to JobQueue :)

commit 41ee8f91f2
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 10 22:38:20 2014 +0100

    simplify again

commit 58cba4da24
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 10 22:06:41 2014 +0100

    add POD for JobQueue

commit c9afbab26b
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 10 21:36:01 2014 +0100

    use Module::Load tricks to avoid some other mess

commit 50c72c1d64
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 10 21:12:52 2014 +0100

    use Module::Load for dynamic loading

commit 54510a1560
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu May 8 22:05:10 2014 +0100

    hack to make functional and OO interface

commit b8c706a2e7
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu May 8 21:29:31 2014 +0100

    simplify role apply for jobqueue

commit 8a816b9764
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue May 6 22:20:50 2014 +0100

    remove debug print

commit f3131adfc8
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue May 6 21:47:30 2014 +0100

    big patch to remove knowledge of DB from most worker code

commit 39a0efb3c3
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Apr 28 23:46:10 2014 +0100

    port Worker Common to pluggable jobqueue

commit 8c0614357a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Apr 28 23:04:13 2014 +0100

    port Scheduler to pluggable jobqueue

commit 3882c157ec
Merge: 44e6c49 2480646
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Apr 28 22:36:57 2014 +0100

    Merge branch 'master' into og-pluggable-daemon

commit 44e6c49419
Merge: fdeeffc 5fc6209
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Apr 28 22:35:53 2014 +0100

    Merge branch 'master' into og-pluggable-daemon

commit 5fc62090e2
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Apr 28 22:15:07 2014 +0100

    edge topology
      17   * Use

commit fdeeffcbe4
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 24 23:13:20 2014 +0100

    book specifically same jobs which were seen

commit 0d97c2b819
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 24 22:57:37 2014 +0100

    fix typos

commit 47265a5292
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 24 21:56:52 2014 +0100

    rename file to follow name change

commit fd169149c4
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 24 21:52:57 2014 +0100

    remove job types from web code

commit 319489ae00
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 24 21:46:30 2014 +0100

    remove job types from scheduler

commit ccdeca600c
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 24 21:33:01 2014 +0100

    remove job types from netdisco-daemon-fg

commit 349bddf609
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 24 21:05:42 2014 +0100

    move default env settings to Netdisco.pm

commit b4b5cce00a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 24 21:01:26 2014 +0100

    remove job type knowledge from code into config
2014-05-21 21:20:27 +01:00
Oliver Gorwits
f223d1206a another check for macsuck_bleed (J. Leonhardt) 2014-05-15 08:11:30 +01:00
Oliver Gorwits
b464f4b3bd release 2.027001 2014-05-03 08:30:14 +01:00
Oliver Gorwits
2739ab3ba8 add port skiplist and fix broken macbleed option 2014-04-28 20:29:59 +00:00
Oliver Gorwits
5d5563713e Display Phone and Wifi icon on nodes even when not discovered as neighbors 2014-04-21 20:53:49 +00:00
Oliver Gorwits
3edef4719d Legitimate for same MAC to be in two VLANs on same switchport 2014-04-19 21:41:43 +01:00
Oliver Gorwits
e922ec9c68 Store device model and serial via UTF8 conversion 2014-03-25 21:18:49 +00:00
Oliver Gorwits
563f6d3a86 refactor nbtstat to group probes by device 2014-03-25 21:05:53 +00:00
Eric A. Miller
989a8d450d Fix database MAC look-up when MAC not returned by nbtstat 2014-02-23 16:11:04 -05:00
Oliver Gorwits
dd667505bc kwalitee fixes 2014-02-14 20:24:52 +00:00
Oliver Gorwits
81fe9bd014 refactor to make check_no/acl/only share code between device and node paths 2014-02-10 22:32:35 +00:00
Eric A. Miller
529b797a8a Silence some uninitialized variable warnings in discover 2014-02-03 20:17:46 -05:00
Eric A. Miller
5847dafb6d [#73] NetBIOS Poller - nbtstat and nbtwalk 2014-02-03 19:54:58 -05:00
Eric A. Miller
053b0a65fa fix formatting of debug message when zero entries are archived during macsuck 2014-01-20 22:02:00 -05:00
Oliver Gorwits
642546fd24 LAG support.
Also, archive disappeared nodes from device after macsuck.

Squashed commit of the following:

commit 6d16cddaab
Merge: 37d9bda 3fdf780
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 19 15:48:41 2014 +0000

    Merge branch 'master' of ssh://git.code.sf.net/p/netdisco/netdisco-ng into og-agg

commit 37d9bda2bb
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 18:50:22 2014 +0000

    release 2.021000_004

commit 3939a2a51c
Merge: cf23636 571d57d
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 18:45:14 2014 +0000

    Merge branch 'og-agg' of ssh://olly_g@git.code.sf.net/p/netdisco/netdisco-ng into og-agg

commit cf23636ddf
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 18:43:59 2014 +0000

    archive disappeared nodes from device - really important!

commit 571d57dcc7
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 18:20:51 2014 +0000

    release 2.021000_003

commit 444bc1e81d
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 17:51:54 2014 +0000

    protect sprintf from undefined remote_type

commit 5b875c4641
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 17:49:40 2014 +0000

    tidy connected device+node layout

commit c09dddb7d1
Merge: 4f5501c 95fc6b1
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 17:46:39 2014 +0000

    Merge branch 'og-agg' of ssh://olly_g@git.code.sf.net/p/netdisco/netdisco-ng into og-agg

commit 4f5501c613
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 17:46:23 2014 +0000

    allow sanity checks on lag member before moving node

commit 95fc6b18dc
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 14:02:19 2014 +0000

    release 2.021000_002

commit 8b809c445f
Merge: 04d486e fe3e8e3
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 13:58:31 2014 +0000

    Merge branch 'og-agg' of ssh://git.code.sf.net/p/netdisco/netdisco-ng into og-agg

commit fe3e8e3ef2
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 13:57:31 2014 +0000

    do not set master neigh if master is a slave

commit 04d486e433
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 13:38:45 2014 +0000

    display remote ip if only remote ip

commit 14f9eb01ad
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 13:35:54 2014 +0000

    show all members of lag when searching for lag master

commit 5b2a0a0a4b
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 13:35:16 2014 +0000

    fix copy of remote master to local master remote_port

commit 86a9854f39
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 10:00:13 2014 +0000

    show both link and device type icons

commit 88510552e5
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 09:57:29 2014 +0000

    hide neighbor device ID and add sidebar option to show

commit 29da3097cb
Merge: 8bca30d 9fe92fb
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 09:04:15 2014 +0000

    Merge branch 'og-agg' of ssh://git.code.sf.net/p/netdisco/netdisco-ng into og-agg

commit 9fe92fb5e8
Merge: 6620a03 5557811
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 09:03:02 2014 +0000

    Merge branch 'og-agg' of ssh://olly_g@git.code.sf.net/p/netdisco/netdisco-ng into og-agg

commit 6620a03686
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 08:56:13 2014 +0000

    also store master neighbor port

commit 8bca30d085
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 00:41:46 2014 +0000

    release 2.021000_001

commit 5557811aeb
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 00:38:18 2014 +0000

    fix icon placement in editable device port cells

commit 25292e1ce8
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 22:20:08 2014 +0000

    fix name of class

commit 99ce56d794
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 22:13:53 2014 +0000

    remove brackets from lag name

commit 27aa80ed93
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 22:12:06 2014 +0000

    rename link agg legend

commit 84ed4c5008
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 22:11:15 2014 +0000

    move lag member icon into port icon column

commit 67c9c783ec
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 21:58:11 2014 +0000

    fix Cisco stack port ignore

commit 4531c61246
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 21:51:41 2014 +0000

    move nodes to lag master port

commit ffc6b9c315
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 20:45:58 2014 +0000

    use group icon for slave and master

commit 68fd345e37
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 20:34:01 2014 +0000

    indicate aggregate master

commit 79c69f5a0f
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 19:14:48 2014 +0000

    show aggreate parent in device ports

commit 3a4beed2f1
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 18:46:25 2014 +0000

    store aggregate port into db

commit fd7bb0cd62
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 17:49:39 2014 +0000

    add device_port cols for aggregate links data
2014-01-19 15:51:47 +00:00
Oliver Gorwits
899563534a [#52] Check is neighbour remote_id is a MAC (R. Kerr) 2014-01-11 14:08:46 +00:00
Eric A. Miller
7cd99f17dc Correct macsuck for Q-BRIDGE-MIB based devices 2014-01-10 17:56:21 -05:00
Oliver Gorwits
929723ea1b [#66] store i_vlan in pvid column of device_port 2014-01-10 20:48:59 +00:00
Oliver Gorwits
f50e9d6a22 Revert "[#66] store pvid in vlan column of device_port"
This reverts commit 441b967bde.
2014-01-10 20:43:06 +00:00
Oliver Gorwits
441b967bde [#66] store pvid in vlan column of device_port 2014-01-10 19:37:58 +00:00
Eric A. Miller
2992004354 [#60] Incorrect format string in store_vlans 2013-12-16 11:17:54 -05:00
Eric A. Miller
982b8c3fd2 [#61] Arpnip debug text says it is resolving aliases instead of ARP entries 2013-12-16 09:35:14 -05:00
Eric A. Miller
ec31a75dd4 Require SNMP::Info 3.10+, use new c_cap method to tag device remote_type as 'IP Phone:' or 'AP:' when those capabilities are advertised by LLDP or CDP 2013-12-16 09:26:27 -05:00
Eric A. Miller
d869b7ea08 Correct logic to prevent duplicate queuing of jobs during discover due to previous change in admin table 2013-12-09 22:56:49 -05:00
Eric A. Miller
8690fe0272 Significant improvements in arpwalk performance by adding an additional index to node_ip and reduction in database calls 2013-12-09 22:52:08 -05:00
Eric A. Miller
d31655e86d Incremental macsuck improvements through reduction of database calls 2013-12-09 22:44:14 -05:00