* Adding API route to set bgpPeerDescr field
* Fixing CI test
* Fixing CI test part 2
* Adding validation of bgpPeerId as integer and changing SQL request with question mark syntax.
* Fixing CI test
* Following murrant's advices to protect against SQL injection
* Use built in json function
Co-authored-by: Tony Murray <murraytony@gmail.com>
* API find a switchport with the mac from device
* fix style
* convert SQL to Eloquent
* convert SQL to Eloquent
* git mistake
* Global use App\Models\Port
* git mistake partII
* Refractor Eloquent - Not finish but easier to help for others
* Better Eloquent Query without filter option
* Validation
* fix style
* Add filter option and DOC
* convert to the better macToHex method
* add a maxToHex unit test
* fix style
* fix style
* fix syle - seems my dev:check is running again :-)
* Fix phpStan
* phpStan #2
* When in a stack, the index for each port is based on the unit number in the stack. The first unit
in the stack uses index '1.', the second uses index '2.', the third '3.' and so on. This change
allows for stack indexes greater than '1'
* Create ciscosb_cbs350-4x.snmprec
* Create ciscosb_cbs350-4x.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* feat(api): added max in/out per bill_history period
* chore(Docs): updated docs to include in/out max values
* chore(formatting): style-ci
* chore(db): update db-schema
* fix(db): reverted wrong changes in schema
* fix: wrong table name in migration
* feat(billing-history-frontend): added max in/out values to frontend bill-history
* chore: renamed to peak instead of min/max
* Update dell-compellent.yaml
Dell changed the text for sysDescr after the 2017 firmware-release so that the string "COMPELLEN" which was looked after here before, did not appear anymore. The Compellent cuts off the snmp-answer after 255 characters.
I replaced the previous detection to a new snmpget-detection using the oid (DELL-STORAGE-SC-MIB::productIDDisplayName.0) that shouldnt be altered in the future.
* Add files via upload
* Rename dell-compellent_scv3020.snmprec.TXT to dell-compellent_scv3020.snmprec
* Keep backward compatibility
* Create dell-compellent_scv3020.json
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* Poll current connections for F5 ltm
* Changed polling to a separate RRD-file
* Reverted old changes
* Remove stats not needed in this file
* Fixed typos and cleanup
* Updated copyright
* Inital support for Eltex-MES switches
* Eltex-MES code cleanup & added mib files
* Eltex-MES mib files renamed
* Eltex-MES mib files renamed(v2)
* Eltex-MES added json test data
* Eltex-MES added bad_iftype in YAML
* Eltex-MES test data after adding bad_iftype in YAML
* Eltex-MES fixed YAML & new test data
* Undo module disabling
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* Update sonicwall.yaml
Add support for Sonicwall OS 7.
* Add files via upload
* Create sonicwall_sonicos7.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Initial Siemens Scalance X switch support
* updated mempool definitions to pass unit tests
* sysDescr parsing changes and MIB rename
* further sysDescr parsing cleanup
* test data updated after sysDescr parsing changes
* discovery yaml formatting
* processor and mempool discovery yaml redone in PHP to overcome snmptable issues
* StyleCI fixes to PHP
* StyleCI fixes to PHP
* StyleCI fixes to PHP
* incorrect file location after StyleCI fixes
* removed redundant processor discovery code
* subdir5
* fix style
* Unused LibreNMS\Config
* revert short tags
* Fix bug
Found a bug when the url doesn't end with /
I don't think CSRF is need because this form is never submitted and it just dirties the URL.
Also, I think Request:url() is nicer than url()->current() (they are the same code wise)
* Fixed the root issue instead
Fixed the real issue in #13041
Co-authored-by: Tony Murray <murraytony@gmail.com>
* fixed general alarm codes
* fixed Cooling envelope zone. Warnings were shown instead of normal ok messages
* added current error code with description
updated mib with current error code
* Set correct OID for inverter alarms
* added up to date snmprec data
sorted state groups for rittal chiller
* added warning limits according to documentation and standards
* spaces
* Create pcoweb-rittal-lcp-3311_lcp-dx-3311.json
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* avoid forcing displayed name, so generate_device_link decides according to LibreNMS config
* same fix for BGP display
* other generate_device_link occurences
* more
* more
* Added support for the Rittal LCP DX Chiller connected to a Carel pCOWeb card. A custom MIB is also provided.
* removed .mib extension from CAREL-RITTAL-LCP-3311-MIB
* Added snmp test data
* Add TP-Link's DDM and PoE MIBs via their 20210310 archive.
* Add support for DDM sensors on TP-Link Jetstream switches.
* Add support for PoE on TP-Link switches.
* Fix linting issues.
* Fix group discrepancy in test data.
* Fix multiple discrepancies in DDM test data.
* Improve `num_oid` and `index` fields for Jetstream PoE sensors.
* Test data for PoE sensor `index` change.
* Convert Jetstream sensors to YAML and refine index names.