787 Commits

Author SHA1 Message Date
Oliver Gorwits
ccd2de0651 better approach to HTML entity encoding in custom report searchable fields 2023-12-07 15:45:50 +00:00
Oliver Gorwits
bc47b54f67 improve searchable generic report fields (#1133)
* implement links on all v4/v6/mac found in _searchable fields

* word boundaries on matching
2023-12-07 07:49:18 +00:00
Oliver Gorwits
a91e518f16 new displayname option for default database 2023-12-06 21:06:47 +00:00
Oliver Gorwits
ba1966738b remove debug 2023-11-24 21:57:48 +00:00
Oliver Gorwits
122daf8195 #1018 VLANs with Multiple Names report 2023-11-24 21:53:14 +00:00
Oliver Gorwits
f6cd6a68e8 tidy up some of the report names 2023-11-24 21:17:51 +00:00
Oliver Gorwits
8ac13fa7d4 do not use 'DISTINCT' when a 'GROUP BY' is present (DBIx::Class dies) 2023-11-24 20:46:58 +00:00
Oliver Gorwits
b1024507e9 #1126 acl skip_modules for problematic Entity MIB per device ACL 2023-11-21 15:56:10 +00:00
Oliver Gorwits
5653cb8bbe #1127 uninitialized value in Worker/Plugin/Discover/Entities.pm line 109 2023-11-21 15:49:43 +00:00
Oliver Gorwits
8ea19f320f #1129 no longer clear device_skip with empty job queue 2023-11-21 15:31:21 +00:00
Oliver Gorwits
3d2dd7344c fix bug in snmpwalk parser 2023-11-18 10:00:40 +00:00
Oliver Gorwits
534a9d9378 #1111 Support for OUI28/MA-M and OUI36/MA-S
* new oui importer using IEEE csv for MA-L+M+S

* schema update for new vendor table

* change vendor to manufacturer because Device has a vendor field

* remove oui from manuf table, and update node oui after manuf update

* faster way to bulk update node oui

* switch from using oui table to manufacturer table for vendor lookup

* some other oui cleanup

* faster/scalable way to join a macaddr to manuf table

* remove device.oui support

* update node oui in bulk at end of macsuck run

* correct literal sql instead of bind

* more efficient to get oui base for each mac

* comment better the base lookup in macsuck
2023-11-14 18:55:54 +00:00
Oliver Gorwits
b5c0cd585e #1112 API method for device neighbors 2023-11-09 22:28:58 +00:00
Oliver Gorwits
e52f789b45 #1009 neighbour map depth and/or until end of lldp chains
* sidebar and style changes

* switch server code to new params and values

* working algo for cloud and neighbor depth

* store map positions for lldp cloud with depth

* color the root node uniquely

* restrict all devices, depth, cloud map to < 1000 devices
2023-11-09 19:54:34 +00:00
Christian Ramseyer
0c4d812496 FortiOS.pm: older versions (<= 6.4.7) apparently require leaving config global mode entering before config vdom 2023-11-06 23:54:09 +01:00
Christian Ramseyer
faea72827c incorporated feedback 2023-11-06 20:40:50 +01:00
Christian Ramseyer
8f0434a75a FortiOS.pm: tabs to spaces cleanup 2023-11-03 22:38:39 +01:00
Christian Ramseyer
275d7481f5 FortiOS.pm improvements
* can handle --More-- pagination
 * suppress some uninitialized variable warnings
2023-11-03 21:50:14 +01:00
Oliver Gorwits
82ae76e7b7 when searching for device always prefer matching on device to alias 2023-11-01 21:58:31 +00:00
Oliver Gorwits
6b80626a29 better job queue stats in web 2023-10-27 15:32:06 +01:00
Oliver Gorwits
21bc8cf63e backend field in jobqueue (#1114)
implements #969
2023-10-24 21:49:37 +01:00
Oliver Gorwits
64313ed85a fix again the job type dropdown on jobqueue 2023-10-24 20:05:35 +01:00
Oliver Gorwits
ae3ad986f7 #969 add job queue totals to report 2023-10-24 20:03:14 +01:00
Oliver Gorwits
fb58b62b1a fix jobqueue actions dropdown to get all available 2023-10-24 18:51:41 +01:00
Oliver Gorwits
b1e253465a filtered web queue (#1113)
implements #969 partially
2023-10-24 18:29:48 +01:00
Oliver Gorwits
2536bfc12f fix bug in worker runner 2023-09-27 14:16:17 +01:00
Oliver Gorwits
3a160206a1 make sure internal plugin asciibetical load order is preserved 2023-09-27 14:13:40 +01:00
Oliver Gorwits
582163aa3e instantiate helper SNMP::Info instances with better defaults 2023-09-27 13:32:14 +01:00
Oliver Gorwits
993edd0c6a ACL support for scheduled jobs (#1106)
implements #580
2023-09-27 12:03:49 +01:00
Oliver Gorwits
a8db56fa8c add internal worker plugin to set fqdn for cli actions 2023-09-26 09:27:23 +01:00
Oliver Gorwits
c27fa94e8c also show unknown/unknown platforms and releases in inventory 2023-09-24 20:56:56 +01:00
Oliver Gorwits
c651ff107b collapse on inventory for long lists (#1103)
implements #1083
2023-09-19 08:11:05 +01:00
Oliver Gorwits
3a820c06e4 #1084 move slow skiplist build to the first job on running backend 2023-09-05 22:55:33 +01:00
Oliver Gorwits
791e97b746 #1099 missing join to device_port when searching for device using mac address 2023-08-29 17:56:40 +01:00
Ambroise
848aa05de9 App::Netdisco::SSHCollector::Platform::FortiOS (#1096)
Update the SSH Colector for FortiOS to support the multivdom environment
2023-08-21 13:30:34 +02:00
Oliver Gorwits
82e084a87f #1095 fix with multiple netdisco-do -d, snmpfastdiscover runs multiple times 2023-08-20 21:39:23 +01:00
Matt Haught
eb90458685 add support for custom radius VSAs (#1091) 2023-08-13 19:40:53 +01:00
Oliver Gorwits
bb15abce58 allow deferrable_actions exceptions to device deferrals 2023-08-12 19:51:05 +01:00
Oliver Gorwits
a78870c49f Revert "revert log from internal worker so other failed worker log appears"
This reverts commit 6757bc2d94.
2023-08-11 14:41:26 +01:00
Oliver Gorwits
6757bc2d94 revert log from internal worker so other failed worker log appears 2023-08-11 13:48:08 +01:00
Oliver Gorwits
c4ca7fa1da make sure internal workers run before others 2023-08-11 13:47:47 +01:00
Oliver Gorwits
0ff88a8be2 fix debug messages using -> in wrong place 2023-08-11 13:31:28 +01:00
Oliver Gorwits
f01f03caa4 check loadmibs has run before running snapshot 2023-08-11 13:29:10 +01:00
Oliver Gorwits
5efcdd7707 better status reporting from SNMPFastDiscover 2023-08-11 13:28:55 +01:00
Oliver Gorwits
b9041f87b2 fix bug with internal actions overriding job actions 2023-08-11 13:28:28 +01:00
Oliver Gorwits
3e1d6a1505 #1090 snapshot request via web fix params 2023-08-11 10:28:38 +01:00
Oliver Gorwits
21afacccc4 #1087 netdisco-do show handles qualified MIB leafs 2023-08-11 10:24:05 +01:00
Oliver Gorwits
3e883e163e fix use specific class for snmp transport 2023-08-11 10:13:12 +01:00
Oliver Gorwits
9eb537a4c1 #910 implement import of snmpwalk and more robust snapshot handling (#1086)
* initial work

* initial work

* initial work

* some fixes for time and Layer3 weird spec

* store again the snapshot after update for specific

* resolve the enums

* monkeypatch SNMP::translateObj to avoid hardware exception on macOS

* only save cache to db in the late phase worker

* no need to check for cache on transport, can just go ahead and try

* use database only for oidmap instead of netdisco-mibs

* rewrite device snapshot to gather loaded mib leafs only

* remove old walker code from snapshot worker

* allow snmp browser to work without snapshot

* only store snapshot leafs which the device responded on

* refactor to separate snapshot work from snmp transport work

* refactor to separate snapshot work from snmp transport work

* allow typeahead on MIB qualified leafs

* fixes for snmpwalk input after previous refactor

* add the extra stuff SNMP::Info device class uses into snapshot

* better width for snmp search box

* fix css for snmp options

* add spinner while snmp loading

* add spinner while snmp loading

* add spinner while snmp loading

* support SNMP::Info device class or named MIBs as extra on snapshot

* add final tidy and bug fix
2023-08-10 22:27:02 +01:00
Oliver Gorwits
7afae0b9b2 avoid tags worker if device not in storage 2023-07-27 07:12:08 +01:00