Commit Graph

761 Commits

Author SHA1 Message Date
Oliver Gorwits
dc1f76c1aa Feature to gather SNMP Walk, use as Pseudo Device, and Browse Objects
* fix anomalous name

* add gather worker

* fix encoding of binary storage

* store results back to job

* now parsing mbis report to translate

* fix the broken report parser

* rename gather to snapshot

* implement walk code copied from SNMP::Info

* can now bulkwalk and parse mibs report and store resolved walk in cache

* add func/glob aliasing broken

* better aliasing

* implement aliasing from globals and funcs

* fix regexp for matching netdisco-mibs report

* fake cache entry for all ND2 methods called, add comments

* also save to logs/snapshots/IP

* add doc for netdisco-do

* add is_pseudo column to device table

* support for loading cache for pseudo devices

* check for hrSystemUptime as well as sysUpTime for snmp connect

* display pseudo devices with yellow pill for name

* color all cells for layers for pseudo

* no need to b64 encode binary data in scalars as we b64 whole thing after

* tweaked uptime check

* store snapshot to database instead of Job

* expose snapshots in device details tab

* small ux improvements on snap download

* fixes for errors in subnet mask searching

* hide snapshot management for pseudo devices

* update to use new netdisco-mibs object cache

* update for new format oids file

* start of work on loading walk into db for browsing

* store values and meta

* add auto increment col and oid index to browser

* start web plugin for browser

* add virtual search for oid children

* have all oid in separte table (60 seconds load on my laptop)

* rename table and add relation

* store oid as int array

* fix sql for children

* make jstree start working

* working very slow tree expand

* fix to work when first displaying tree

* store both oid and oid_parts

* simplify SQL to speed up (more complicated perl)

* fix sql bug, add better index, prettify tree

* render the snmp node detail

* add node template, make scrollable, pretty print data values (insecure)

* store munge hint

* some dubious code to munge the data

* make sure to filter by IP on device_browser

* make safer the rendering of value data (but need to come back to key ordering)

* fix sorting on object values

* limit the opening of child nodes to keep response good and unclutter

* factor out the munge and make safer

* reject unknown mungers

* show the munger and option (not working) to change

* additional js for munge select

* complete custom munge

* change so that saving to database is only at CLI and on request

* hide snmp tab if no browser rows in the db

* add helpful message when no browser rows for the device

* stub handler for search and add recurse control

* working search

* minor ui fixes

* implement typeahead for leaf search

* limit rows in typeahead

* make sure device_browser is visited in delete and renumber

* add requirements for this branch

* update manifest

* make sure node search and typeahead are restricted to current device only
2021-11-06 07:47:29 +00:00
Christian Ramseyer
74210dd78f Fix snmpretries parsing #835 2021-10-29 20:14:13 +02:00
Oliver Gorwits
a3d405533f release 2.050003 2021-10-19 09:09:57 +01:00
Oliver Gorwits
685fb2ab50 release 2.050002 2021-10-19 09:08:36 +01:00
Oliver Gorwits
feeebe04cb explicit no-op layout so that layout hook gets triggered which makes API work 2021-10-19 09:06:43 +01:00
Oliver Gorwits
8902efc6d3 release 2.050001 2021-10-12 15:25:15 +01:00
Oliver Gorwits
e4ac38871e #761 explicit null template layout for xhr/fetch snippets 2021-10-12 15:23:59 +01:00
Oliver Gorwits
d3abc63c72 release 2.050000 2021-10-12 13:24:05 +01:00
Oliver Gorwits
202d02a64a #827 add ignore_interface_types setting 2021-10-12 13:21:07 +01:00
Oliver Gorwits
7ba097ec18 #761 explicit null template layout for xhr/fetch snippets 2021-10-12 08:57:31 +01:00
Oliver Gorwits
15b05b56cc release 2.049011 2021-10-12 08:40:49 +01:00
Oliver Gorwits
5f095faa46 release 2.049010 2021-10-11 21:31:00 +01:00
Oliver Gorwits
f1d45b7842 release 2.049009 2021-10-06 22:30:02 +01:00
Oliver Gorwits
d74bf2c59e try explicit null layout for device search 2021-10-06 22:29:01 +01:00
Oliver Gorwits
8838720f7b release 2.049008 2021-10-06 16:49:49 +01:00
Oliver Gorwits
3e0ff9e134 #808 avoid dns for node search on IPish thing 2021-10-06 15:45:53 +01:00
Oliver Gorwits
0dbf1b73cb add a code path for unauthorized XHR 2021-10-06 09:07:35 +01:00
Oliver Gorwits
d8a9ad9007 #808 avoid dns for fuzzy search on IPish thing 2021-10-06 08:28:56 +01:00
Oliver Gorwits
cfa9bb662b release 2.049007 2021-10-05 17:34:37 +01:00
Oliver Gorwits
0ee5646fac make swagger-ui follow the scheme of netdisco hosting 2021-10-05 17:16:38 +01:00
Oliver Gorwits
a040e8ae38 #814 when deleting device, avoid deleting jobs running on the device 2021-10-04 19:35:42 +01:00
Oliver Gorwits
741190e5f0 add helpful comment 2021-10-04 14:10:52 +01:00
Oliver Gorwits
4fba6d5896 release 2.049006 2021-10-03 08:52:48 +01:00
Christian Ramseyer
9d24c3f6d8 Added support for IPv6 neighbors in NXOS SSHCollector 2021-09-28 18:50:44 +02:00
Oliver Gorwits
854f19d49e #816 skip duplicate bssid on ports on wireless discovery 2021-09-26 08:27:46 +01:00
Oliver Gorwits
1e71f0da5c release 2.049005 2021-09-09 08:49:35 +01:00
Oliver Gorwits
3e6ec6883f #809 fix crash in Node search due to regexp translation perl to SQL 2021-09-08 20:39:50 +01:00
Oliver Gorwits
b38ceaaeeb Change duplicate job status from 'error' to 'info' 2021-09-08 20:19:56 +01:00
Oliver Gorwits
3cf2a8a168 release 2.049004 2021-09-03 21:33:28 +01:00
Oliver Gorwits
0cbce4ab3f Swap error and info return status from Jobs to avoid info() on error 2021-09-03 21:32:48 +01:00
Oliver Gorwits
43ce26ef3d Allow port_control_reasons setting to actually work 2021-09-03 21:17:11 +01:00
Oliver Gorwits
9e9b0489e5 release 2.049003 2021-09-03 08:07:35 +01:00
Oliver Gorwits
691cedb3c6 Hide portctl features in Device Ports where ACLs would not permit the action 2021-09-03 08:07:01 +01:00
Oliver Gorwits
b368ae9b11 release 2.049002 2021-09-03 06:24:00 +01:00
Oliver Gorwits
5f3ae3bf10 Config setting portctl_nowaps to prevent port control on WAP ports 2021-09-03 06:22:16 +01:00
Oliver Gorwits
e953e3945f ACLs portctl_no and portctl_only for limiting port control targets 2021-09-03 06:15:20 +01:00
Oliver Gorwits
c1b2e0e025 release 2.049001 2021-08-22 20:29:41 +01:00
Oliver Gorwits
3b508683be release 2.049000 2021-08-22 14:26:26 +01:00
Oliver Gorwits
b0ea7bc0bd release 2.048000 2021-08-14 13:38:16 +01:00
Oliver Gorwits
2498d9766b #800 gather and report SNMP Chassis ID http://oid-info.com/cgi-bin/display?oid=1.3.6.1.4.1.9.3.6.3&a=display 2021-08-14 13:28:13 +01:00
Oliver Gorwits
f3478571a3 bug fix for #775 radius dict finding 2021-08-12 11:32:11 +01:00
Oliver Gorwits
d206b9ccbf a bunch of logic changes to allow tests to run standalone 2021-08-12 10:58:55 +01:00
Oliver Gorwits
f1224b087c #767 also respect dns->no configuration in hostname_from_ip() 2021-07-24 12:23:43 +01:00
Oliver Gorwits
c584689e9c release 2.047008 2021-07-21 09:53:14 +01:00
Oliver Gorwits
9eaef17680 Revert "#767 also respect dns->no configuration in ip_from_hostname()"
This reverts commit 74b9583fae.
2021-07-21 09:51:00 +01:00
Oliver Gorwits
083090ef03 release 2.047007 2021-07-14 13:15:49 +01:00
Oliver Gorwits
f323fd1d81 release 2.047006 2021-07-14 12:34:46 +01:00
Oliver Gorwits
74b9583fae #767 also respect dns->no configuration in ip_from_hostname() 2021-07-14 12:25:01 +01:00
Oliver Gorwits
485cfd24fa #775 redux - use bundled dictionary 2021-07-14 12:16:23 +01:00
Oliver Gorwits
ce29cf2ddb #783 fix FQDN discovery in node monitor emails 2021-07-14 12:07:47 +01:00