205 Commits

Author SHA1 Message Date
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
8397eabe50 custom reports returning array columns will be split over lines 2023-12-05 21:32:41 +00:00
Oliver Gorwits
2afa56dde9 add device port external links support 2023-12-05 21:11:43 +00:00
Oliver Gorwits
d428b82220 add new preset fields and custom fields to device external links 2023-12-05 18:41:48 +00:00
Oliver Gorwits
95fc721ca2 do not reverse the external links for IPs and Devices 2023-12-05 18:03:27 +00:00
Oliver Gorwits
bf64f0f368 #830 subnets report can show all subnets to start with 2023-11-25 10:18:30 +00:00
Oliver Gorwits
9ad34c425a #1018 VLANs with Multiple Names report 2023-11-25 10:16:28 +00:00
Oliver Gorwits
6830c39105 #1130 port control tick for new users should be dropdown 2023-11-21 15:44:31 +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
0867417430 fix bug in netmap sidebar and better hiding for too_many_devices 2023-11-12 07:30:23 +00:00
Oliver Gorwits
ac54635628 #1118 user configurable external links from node search and device details
* frontend example

* process config with template macro

* shared external links template for mac and IP search

* default into product config

* add support for device external links

* better presentation of IP links and change color to grey
2023-11-11 22:05:02 +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
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
d6e36dcad0 change order of totals in jobqueue report 2023-10-24 20:07:22 +01:00
Oliver Gorwits
ae3ad986f7 #969 add job queue totals to report 2023-10-24 20:03:14 +01:00
Oliver Gorwits
b1e253465a filtered web queue (#1113)
implements #969 partially
2023-10-24 18:29:48 +01:00
Ambroise
f65e2970ba Update the statistics template to add an option to open external URL in (#1104)
a new tab
2023-09-26 09:23:11 +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
3912134306 #1071 improve understanding of IP Inventory Last Seen column 2023-08-31 21:46:27 +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
04ee1e1613 #1064 display device and device port tags in web ui 2023-07-19 13:01:51 +01:00
Oliver Gorwits
0eb26159f9 #1060 portctl_topology setting for web access to manual topo for port_control users 2023-07-12 21:53:38 +01:00
Oliver Gorwits
d7bdcc8edb delete device is now always a job 2023-07-01 09:37:27 +01:00
Oliver Gorwits
39562e0633 avoid CSS vulnerability in Job Queue page 2023-06-28 11:26:43 +01:00
Oliver Gorwits
2cbb68889a #975 RBAC for port control with new portctl_by_role setting 2023-06-27 22:52:04 +01:00
Oliver Gorwits
bb046f036e tune the portvlanmismatch and include domain name in report view 2023-06-19 21:28:23 +01:00
Oliver Gorwits
f14e495e49 use new faster portvlanmismatch query without duplication 2023-06-13 17:41:20 +01:00
Oliver Gorwits
339ecd429a #1038 ability to set "partial" default "on" in device ports sidebar 2023-06-05 17:50:32 +01:00
Oliver Gorwits
ac959ff6a6 add links for API, config, sponsor, to user menu 2023-05-31 17:35:43 +01:00
Oliver Gorwits
11bca7b80e add links for API, config, sponsor, to user menu 2023-05-31 14:46:46 +01:00
Oliver Gorwits
949aeb9eea delete hook (#1032)
* make log_message optional in delete_device

* add hooks support to delete job

* make delete job high prio

* web delete now queues job instead of inline delete

* move web logging into web package and remove userlog from device delete helper

* submit delete job for expire device instead of inline delete

* fixes to get web submit form for delete device to work

* enable delete hook functionality
2023-04-30 22:58:42 +01:00
Oliver Gorwits
e268b9d522 #1010 Search port descriptions 2023-04-03 22:02:43 +01:00
Oliver Gorwits
653ea75935 always make a sidebar for custom reports with bind params; add show_sidebar setting 2023-03-16 11:32:36 +00:00
Oliver Gorwits
4de2a916fc fix nonimpacting error in template html 2023-03-16 11:31:34 +00:00
Oliver Gorwits
67a6e6560d better term 2023-03-09 21:03:13 +00:00
Oliver Gorwits
9fd1e71b8b #974 show all chassis serials in device details 2023-03-08 22:56:18 +00:00
Oliver Gorwits
2848877d74 #977 add comment to netdisco-do renumber about device_identity 2023-03-07 20:15:54 +00:00
Oliver Gorwits
692a797f7c #478 csv 2023-02-25 16:54:04 +00:00
Oliver Gorwits
252c9c7e66 #478 rewrite wireless client count report which was bobbins 2023-02-25 14:07:44 +00:00
Oliver Gorwits
4e6f143dec #933 separate Duplex port info into running and configured columns 2023-02-24 14:57:00 +00:00
Oliver Gorwits
c9a4c1404a #956 numberic interpretation error in Node MAC search template 2023-01-11 15:07:12 +00:00
Oliver Gorwits
3b8360d580 reorder ports csv cols to match device ports tab 2022-12-13 15:01:21 +00:00
Oliver Gorwits
c82dfc8a10 #948 Column order wrong when displaying custom fields 2022-12-13 11:30:36 +00:00
Christian Ramseyer
8cc8bdcd19 Add NAC columns to UI (#941)
* Add NAC columns to UI

* Compact variant with a "NAC Summary" column

* display PAE stuff as very short summary in web and full columbs in csv

* add tooltips for actual port status and state detail

* minor naming tweaks

Co-authored-by: Oliver Gorwits <oliver@cpan.org>
2022-12-13 09:16:32 +01:00
Oliver Gorwits
93bf427f05 show PostgreSQL version in red if < 9.6 2022-12-10 14:58:24 +00:00
Oliver Gorwits
2433439a45 show PostgreSQL version in red if < 9.6 2022-12-09 22:37:00 +00:00
Oliver Gorwits
5a7250396e show PostgreSQL version in red if < 9.6 2022-12-09 22:09:51 +00:00