Commit Graph

2601 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
29de4465f9 replace jquery load with fetch (#828) 2021-10-12 13:15:29 +01:00
Oliver Gorwits
6e79e1fa05 replace jquery load with fetch (#828)
* initial implementation

* working with Dancer is_ajax

* better network errors
2021-10-12 12:59:54 +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
b1aa815d31 bump SNMP::Info requirement 2021-10-11 21:28:28 +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
e741b31057 add missing halflings file 2021-10-06 18:12:35 +01:00
Oliver Gorwits
3c3b9f286c better Content-Security-Policy 2021-10-06 17:56:46 +01:00
Oliver Gorwits
8838720f7b release 2.049008 2021-10-06 16:49:49 +01:00
Oliver Gorwits
381f412df9 clickjacking prevention via X-Frame-Options and Content-Security-Policy headers 2021-10-06 16:44:36 +01:00
Oliver Gorwits
726e8c611a add missing JS files to quieten console warnings 2021-10-06 16:11:02 +01:00
Oliver Gorwits
3e0ff9e134 #808 avoid dns for node search on IPish thing 2021-10-06 15:45:53 +01:00
Oliver Gorwits
2cea94c59a Update test_and_publish.yml 2021-10-06 15:10:18 +01:00
Oliver Gorwits
4d7a06e20e Update test_and_publish.yml 2021-10-06 15:03:03 +01:00
Oliver Gorwits
ba86b652ae Update test_and_publish.yml 2021-10-06 15:01:41 +01:00
Oliver Gorwits
021c3bcbb7 Update test_and_publish.yml 2021-10-06 14:59:11 +01:00
Oliver Gorwits
4cc4ebea6d Update test_and_publish.yml 2021-10-06 14:57:59 +01:00
Oliver Gorwits
e4243e5c2e change openssh for openssh-server 2021-10-06 14:51:47 +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
9881af551d add git attributes hack to avoid searching in minified files https://stackoverflow.com/a/51564689 2021-10-04 19:58:52 +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
fd6a7ea5fb Merge remote-tracking branch 'origin/master' 2021-10-04 18:07:22 +01:00
Oliver Gorwits
741190e5f0 add helpful comment 2021-10-04 14:10:52 +01:00
Oliver Gorwits
69ba616312 add session_secure to the recommended config 2021-10-03 14:35:11 +01:00
Oliver Gorwits
9b46e868fe turn off docker upload irc message 2021-10-03 14:31:38 +01:00
Oliver Gorwits
4fba6d5896 release 2.049006 2021-10-03 08:52:48 +01:00
Oliver Gorwits
f162825c35 remove email 2021-10-03 08:49:27 +01:00
Oliver Gorwits
0cef3be5a8 GitHub Action to deploy to Heroku after successful release (#824)
* netdisco-web uses PORT env var for --port if given
* new netdisco-demo container, for release to Heroku
* reinitialise and update the demo database
2021-10-03 08:48:46 +01:00
Oliver Gorwits
5890c2d06b Update MANIFEST.SKIP 2021-09-30 21:54:18 +01:00
Oliver Gorwits
ea5d888f4b Update SECURITY.md 2021-09-30 21:53:11 +01:00
Ziding Zhang
020f63c565 Create SECURITY.md (#822)
To let the repository confirm oliver@cpan.org as its security contact.
2021-09-30 21:51:12 +01:00
Christian Ramseyer
9d24c3f6d8 Added support for IPv6 neighbors in NXOS SSHCollector 2021-09-28 18:50:44 +02:00
Oliver Gorwits
3d6425e4c2 Update test_and_publish.yml 2021-09-27 10:15:39 +01:00
Oliver Gorwits
7e83c8cd73 Update release.yml 2021-09-27 10:15:07 +01:00
Oliver Gorwits
361812e9cf github.repository == ‘netdisco/netdisco’ 2021-09-27 10:12:05 +01:00
Oliver Gorwits
534dec37d6 if: github.repository == ‘netdisco/netdisco’ 2021-09-27 10:10:35 +01:00