* Fix expandable sizing
* Temp fix: port_id_{low,high} is actually ifIndex
* new PortsStack discovery module, store actual port_ids
* Show 4 rows of ports by default
* Add test data
* Fix up the single port view too
* Apply fixes from StyleCI
* Update db_schema.yaml
* Update base migration because sqlite cannot add primary keys
* Fix phpstan failures
---------
Co-authored-by: Tony Murray <murrant@users.noreply.github.com>
* Add link on alert-rules page to display active alerts for rule
* replace ? with / per convention
* make the alert icon clickable too
* Lower the brightness of the warning rows
* Create a case for routeros.
RouterOS doesn't support the bgpPeerInUpdateElapsedTime object, so when
LibreNMS does to insert a peer update into the database from a MikroTik
router, you see the following error:
SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column `librenms`.`bgpPeers`.`bgpPeerInUpdateElapsedTime` at row 2 (Connection: mysql, SQL: UPDATE `bgpPeers` set `bgpPeerAdminStatus`=start,`bgpPeerInUpdateElapsedTime`=...
To fix this, special-case routeros and note that the object is not yet
supported.
* Use spaces, not tabs.
* Use set_numeric() to ensure bgpPeerInUpdateElapsedTime is a number.
---------
Co-authored-by: Joe Clarke <jclarke@cisco.com>
* exclude triplite console servers
* add definition for tripplite console servers
* add test files
* renamed to lowercase
* add testdata
* add testdata
* disable poller and discery modules that do not apply to this device
* lo will always report empty values, so lets ignore it
* removed disabled poller modules
* replace is_int with is_numeric
* update the docs for wireguard for the new extend
* relocate the app data bit
* update the data for the wireguard test
* start reworking the wg app page... details part done
* app page mostly done
* finish the wireguard app page
* style fix
* now sorted
* add additional info to the peer page
* style fixes
* a small fix for the links
* style fix
* make the pubkey column in details link to the peer page
* escape the pubkey
* Update siteboss571.yaml - Tidy up descriptions and fix current sensors
Fix issue with current sensors 1.1 and 200.1 - these were being overwritten with the per-module sensors due to overlapping IDs. insert extra index definition for each type. this is a breaking change that will cause new RRD files to be created for the current sensors with the new index names.
* Update siteboss571_siteboss571.snmprec
update test data
* Update siteboss571_siteboss571.json
* Revert "Update siteboss571_siteboss571.snmprec"
This reverts commit b767dbc91b.
* Revert "Update siteboss571_siteboss571.json"
This reverts commit a144078ed8.
* Create siteboss571_siteboss571-2.snmprec
* Remove Siteboss571 PHP detection, add new json test output
* Update siteboss571_siteboss571.json with new discovery
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* fix version and hardware oid for moxa p510
* update test
* Fix moxa-etherdevice_edsp510a8poe.json
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* checkpoint work for now
* polling should be good now
* re-work php-fpm some more
* re-work the php-fpm app page
* add php-fpm_v1_combined.inc.php
* add more graphs
* more work
* add last request cpu
* fix stats for pools
* more graph work
* update the docs for php-fpm
* more graph work
* more graph stuff
* graph stuff now done
* some style fixes
* another style fix
* remove a unneeded use line
* add new tests
* add some missing items to the test
* json fix
* remove start time and add data
* add nfs-shared.inc.php
* add nfs poller
* polling now works
* add nfs.inc.php page
* mount options works now
* format cleanup
* add some missing items to the stats
* commit work from last night so I can swap over to ldap
* add gauge support
* save the OS type for it
* more work on NFS stuff
* more nfs work
* display cleanup some
* more nfs work
* update docs for NFS
* add nfs_server_rpc
* style fix
* add snmprec file
* more test stuff
* data cleanup
* style cleanup
* more style fix
* another style fix
* add deleted_at
* add client_rpc_info_calls
* more test tweaks
* more tweaks
* set two items as gauges that should be gauges
* convert a few more things from counters to gauges
* a few more tweaks for NFSv4
* New OS broadworks / broadsoft
* Remove unused and cleanup commented lines
* Update and rename BW-BroadworksMediaServer.mib to BW-BroadworksMediaServer
* Update and rename BW-BroadworksApplicationServer.mib to BW-BroadworksApplicationServer
* Update and rename BW-BroadworksNetworkServer.mib to BW-BroadworksNetworkServer
* Update and rename BroadworksMaintenance.mib to BroadworksMaintenance
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* This commit changes two files in the LibreNMS repo, to enable polling of the ArubaOS OID that reports active vpn sessions.
The first file is the arubaos.yaml discovery file to enable polling of the following OID WLSX-USER-MIB::wlsxNumOfUsersVPN(OID: .1.3.6.1.4.1.14823.2.2.1.4.1.4.2.0).
The second file arubacontroller_vpnsessions.inc.php is a graphing file to allow the use of this sensor on a dashboard.
* Update arubacontroller_vpnsessions.inc.php
Added newline at end of file to follow style guide
* Update arubaos.yaml
Added newline at end of file to follow style guide
* keep {{ $index }} in the num_oid and index
* Update arubacontroller_vpnsessions.inc.php
fix to match the rrdfilename change
* Added test data
* Added test data
* Removed extra file
* added variant vmc json test data
* revert arubaos.json
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* add PTZ and Dome Cameras
* remove default temperature limits
* set temperature limit per device type
* fix linting
* add test data
* set original limits as default and use integers instead of strings
* 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>
* 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
* 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