* 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
* Snmpsim use python venv
Patch to enable listening while minimizing output
Update lnms dev:simulate, tests, and ./scripts/save-test-data.php
removed old option to start snmpsim from older scripts, use lnms dev:simulate
* Apply fixes from StyleCI
* various fixes
* Remove patch official package is updated
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
Always ignore underscores. Vendors constantly break this rule and it doesn't seem to have any side effects to enable -Pu.
translate respect hideMib() option
* Create ArubaosCx.php
* Create arubaos-cx_nac.snmprec
* Remove un-needed "use" lines
* Add spaces for formatting
* Add blank default values if information is not present
For table entries that do not have a value, add a fallback to a blank string, following the lead of other OS files
* Changing return types for vlan to match column type
* Delete indents on blank lines to please the formatter
* Create arubaos-cx_nac.json
* Update arubaos-cx_nac.json
* fix authz_status missing value
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* 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
* CHG: Dynamic debug flag and ability to exclude networks.
* Update config_definitions.json
* Update settings.php
* Update documentation.
* FIX: StyleCI Fixes.
* FIX: StyleCI Fixes.
* CHG: Changed excluding by network to by group membership
* Update settings.php
* Update config_definitions.json
* Update documentation.
* FIX: StyleCI Fixes.
* FIX: StyleCI Fixes.
* FIX: Fetch device data from cache.
* Add a check to see if we are trying to exclude by group before fetching groups.
* remove whitespace
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Add entity physical test data
* Fix voss_8608 accidental character
* Non-ascii character... unsure about this one.
* Fix bad types on test data.
* Fix bad types on test data.
* Updated test data since snmprec is repaired a bit
* More fixes
* Fixup more bad data
* Extra null byte removed
* Add missing info
* Fix bad data
* 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>
* lnms snmp:translate always show textual and numeric translations
accept os name as device spec for translate
values output tidy up for translate and one result
* ingore phpstan
* 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>
* SnmpTrap Handler for Cisco IOS LDP Session UP and DOWN
* Indentation correction
* Indentation correction 2
* Indentation correction 3
* MIB correction in snmptraps.php
* Added test file and mib
* Added test file and mib - v2
* Added test file and mib - v3
* Added test file and mib - v4
* Added test file and mib - v5
* Added test file and mib - v6
* Added test file and mib - v7
* Added test file and mib - v8
* Added test file and mib - v9
* Added test file and mib - v10
* Added test file and mib - v11
* Added test file and mib - v12
* Added test file and mib - v13
* Added test file and mib - v14
* Added test file and mib - v15
* Added test file and mib - v16
* Added test file and mib - v17
* Added test file and mib - v18
* Added test file and mib - v19
* Added test file and mib - v20
* Added test file and mib - v21
* Added test file and mib - v22
* Added test file and mib - v23
* Added test file and mib - v24
* Add ifAlias in logs messages and change type to interface for message
* Add ifAlias in logs messages and change type to interface for message
* Add ifAlias in logs messages and change type to interface for message
* Add ifAlias in logs messages and change type to interface for message
* Add ifAlias in logs messages and change type to interface for message
* Add ifAlias in logs messages and change type to interface for message
* 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