* WIP Device Ports porting to Laravel
* WIP port links
* Port Links WIP
* Port Links
* in_array -> isset
* Add request to DeviceTab data
* Add initial Pagination
* Missing select component
* Collapsed and expandable port neighbors
New expandable component
* Port sorting
* Fix port transfer
* Use menu entries to filter ports
* Add translatable strings
* style fixes and cleanup
* update css
* graph views and tidy controller
basic port link view
* cleanup
* port row blade to reuse in legacy port view
* Legacy tab url handling
work properly in subdirectory
remove includes from sub tab directory to prevent oddity
* fallback to detail list when the view doesn't exist
* Use named variable to simplify
* Fix issue from file that was a symlink
* Submenu handle sub items and query string urls
* extract pageLinks to improve readability
* fix typo
* Apply fixes from StyleCI
* phpstan was not happy using the relationship HasMany query
* Don't allow *bps etc to be on a second line
* Improve table on small screens
* Fix sort
---------
Co-authored-by: Tony Murray <murrant@users.noreply.github.com>
* fix
* Fix the issue
The left join with the device was pulling in a "port" field which then caused Eloquent to think the port relationship was already loaded.
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* breakout handling of suricata extend v. 1 returns
* initial work for suricata 7.0.0
* add shared file for various Suricata related variables
* update handling for new Suricata stuff
* fix suricata rrd name bits
* update suricata app page a bit
* misc
* add a new v2 suricata graph
* more suricata v2 graphs
* fix app data for suricata
* more graph work
* fix initial graphs
* the page selector for suricata v2
* more cleanup for suricata stuff
* add more graphs
* add suricata_v2_pkt_drop.inc.php
* add suricata_v2_error_delta.inc.php
* add suricata app layer flows graph
* add app layer tx
* start work on bypassed
* add flow bypass stuff
* add suricata error stuff
* add more graphs
* more suricata v2 work
* ...
* add packets overview
* cleanup suricata_packets_overview.inc.php
* more work on the overview graphs
* error delta is now per second
* cleanup suricata_v2_app_layer_error_alloc.inc.php
* add new flow proto stuff
* add suricata_v2_flow_proto
* add new overview graph
* update v2 app layer flows graph
* more v2 graph cleanup
* suricata graph cleanup
* suricata_dec_proto_overview now works
* more graph work for suricata
* more graph work
* add another overview graph
* snmp fix
* add a new overview graph
* add a new over view
* more graph stuff
* more memory graphs
* tidy pages bit
* more work on decoder stuff
* more decoder work
* decoder stuff done
* cleanup suricata_packets_overview.inc.php
* appl layer tx work
* add app flow stuff
* fix suricata_v2_decoder__event__ethernet.inc.php
* fix suricata_v2_decoder__event__ipv4.inc.php
* fix suricata_v2_decoder__event__ipv6.inc.php
* add alloc error stuff
* more error related work
* more error stuff
* start work on internal errors
* add internal error graphs
* parser error stuff done
* more decoder work
* decoder icmpv4
* more decoder work
* ltnull done
* mpls decoder stuff
* nsh decoder work
* decoder ppp done
* more decoder work
* more decoder work
* more vlan work
* vntag decoder stuff done
* descr_len auto set for generic stats
* ipv6 decoder stuff done
* style fix
* style fix
* more style cleanup
* more suricata graph work
* fix require usage
* tweak drop info a bit
* add some checks for for with suricata 7.0.4
* more suricata tweaks
* fix sagan instance handling
* another minor fix
* fix improper munging
* rever something accidentally added to this repo
* add linux_suricata-v2.snmprex
* rename the metrics for instances from instance_ to instances_
* add linux_suricata-v2.json test data
* style fix
* minor munging tweak
* style cleanup
* some app data fixes
* remove a typo from test data
* add deleted_at and make sure discovered is numeric and not a string 1
* derp... json fix
* remove something accidentally added
* fix a small erorr in the test data
* add a missing variable to the test data
* try another tweak for suricata json test stuff
* derp... fix a type in the suricata poller
* revert a test data change
* re-order some the metrics in the test
* some more metric re-ordering
* add a missing status
* remove something that was accidentally added to this branch instead of another
* strcmp cleanup
* style fix
* [vlans] Add VLANs information to Huawei VRP os
Signed-off-by: Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
* ci
* test data
---------
Signed-off-by: Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
* Remove flasher
Just use a bit of custom code to interface with toastr js
This is able to retain our custom theme and work properly
* Fix style issues
* Missed reference rename
* Remove test code :)
* Fix a missed rename
* Fix one more missed reference
* Fix typo
* [wip] add initial support for socomec-ups
based on: https://community.librenms.org/t/add-socomec-ups-with-netvision-snmp-card/24139
Signed-off-by: Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
* ci
* drop cache/precache
* drop MIB definition
---------
Signed-off-by: Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
* Fix Fping bulk
When an ICMP unreachable message was returned (stderr), the output processing would save it as if it were a partial line, breaking parsing.
Only save a line if it is the last line of the output (not ending in a new line)
* Add test case
* safer logic
* Centering of <thead> in device summary table
I add the property "text-align: center;" to class ".gridster *"
* Adding lines in app.css
I add these two lines to the style sheet:
.select2-dropdown:is(.tw-dark *) {background-color: #2E3338;}
.select2-results__group:is(.tw-dark *) {border: 1px solid #1f2225;}
* Fix duplication of processor entries & limit length of type
* delete duplicate processor entry
* added maxLength to processor type
* shorter processor type
* forgot to regen test data
* Update config_definitions.json
Added nfsen_base so that nfsen stats feature works. I had to add as an array as it was the way I was able to make it work, even though another type may make more sense from a user interface perspective. I put it in order 10 as there seemed to be a gap there, but one could argue that it should be higher and other nfsen items renumbered.
* Update config_definitions.json
Fixed typo
* Update config_definitions.json
* Update settings.php
Added Default NFSen Base Directory
* Update settings.php
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Create Alertops.php
This is a request to add this Transport publicly, so alerts can be sent to AlertOps' webhook endpoint - AlertOps is an alerting/notification tool.
* Update Alertops.php
* Update Alertops.php
* Iterate in javascript and separate processing
* Widget refresh/destroy events
* Remove old dom and unbind events
* fix whitespace
* Fix up bootgrid tables, they inserted a div before the first div breaking event propagation
switch to regular js function to scope variables instead of jquery
* Handle settings the same way as the normal widget
* Use standard init_map and add layer control
* May need L.Control.Locate now
* Set maxZoom for marker cluster
* Try setMaxZoom
* worldmap size 100 and resize on refresh/widget resize
* Add resize event (and throttle it a bit)
* Further worldmap cleanup
* Move most javascript to common js, will cause js errors until page is reloaded, but better in the long run