Commit Graph

186 Commits

Author SHA1 Message Date
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
Oliver Gorwits
1c7c749f0e custom fields on devices and ports in the web from config (#945)
* custom device field web display and edit

* make display work; relies on T::T calling dict slot or method with same syntax

* add storing port custom fields

* use resultset method instead, use cf_ prefix

* update Pg min ver for jsonb

* allow override of position and default for port custom fields

* support hidden for custom fields

* update description of Objects API class

* allow left and mid position for custom fields

* add custom fields in csv

* change port control sidebar label

* fix default missing bug on backend jobs
2022-12-09 10:20:26 +00:00
Oliver Gorwits
7f3e9485f9 #943 search fields HTML5 type "search" to allow clearing 2022-11-28 20:07:47 +00:00
Oliver Gorwits
8cdb4890db #943 Add clearbutton to searchbar 2022-11-28 17:25:33 +00:00
Oliver Gorwits
893c0abdef add space in enum references in snmp node descr 2022-10-18 13:09:27 +01:00
Oliver Gorwits
2a35a0bc56 #936 user auth method should be drop-down 2022-10-18 11:50:12 +01:00
nick n
a9b2589624 fix ordering to match headers, could be fallout from pr902 or adding ifindex (#931) 2022-10-04 10:53:57 +01:00
Oliver Gorwits
f1f4659d0d show canonical IP in Device Details tab 2022-09-24 22:37:35 +01:00
Oliver Gorwits
7884a87e18 sort the tenants in menu 2022-09-24 20:04:31 +01:00
Oliver Gorwits
1d5f3ce316 #929 implement first half of multi tenancy with tenant_databases setting 2022-09-24 19:01:16 +01:00
Oliver Gorwits
4d49f04d2a #875 Node Search - swap IP and DNS, add system name, highlight most recent, in the Switch Port rows 2022-08-16 22:25:27 +01:00
Oliver Gorwits
dd468efdd5 #834 VLAN Mismatch report - add sysname, port comment, and vlan diff 2022-08-16 18:12:35 +01:00
Oliver Gorwits
e85198731f add remote dns to undiscovered neighbors report 2022-08-15 09:17:11 -04:00
Oliver Gorwits
ba15cd08a2 #917 resolve dns for undiscovered neighbors 2022-08-14 21:42:44 +01:00
Oliver Gorwits
3684451f2a add ifindex column for show 2022-08-14 21:13:27 +01:00
Oliver Gorwits
c4e4bd7633 add option to limit snmp node search to current device only 2022-08-09 10:19:05 +01:00
Oliver Gorwits
f3aade5b24 reorder fields in snmpnode view 2022-08-08 08:58:15 +01:00
Oliver Gorwits
1e2d9f36bf #912 use new all_oids format with additional status,enum,descr 2022-08-07 23:03:45 +01:00
Oliver Gorwits
24b94d3092 auto expand SNMP browser more now the perf is good 2022-08-03 17:57:54 +01:00
Oliver Gorwits
fd42aff447 #888 add 1.0.8802.1.1 and 1.3.111.2.802 to the SNMP browser 2022-08-03 13:03:55 +01:00