* Removed older Horizon definitions
* Added Horizon Compact definitions via YAML.
* Added Horizon Duo definitions via YAML.
* Added Horizon Compact Plus definitions via YAML.
* Fixed issue with OID name casing for Horizon Duo EnetPort2CRC sensor
* Moved SNR/RSL/Tx Power to wireless sensor definitions.
* Reordered use statements to make StyleCI happy.
* Validate APP_KEY
key:rotate command to rotate keys, only rotates validation data for now
* fixes, swapped encrypters, not saving new value to db, check that key exists first
* add confirmation
* Option to generate new key, re-encrypt data and then save it to .env
A lot more text to try to prevent disaster. Print out both keys 1-2 times.
Fix bug in EnvHelper (when key is commented but not empty)
* fix style
* oops, good phpstan
* Rewrite ISIS Adjacency discovery/polling
hopefully much faster now, do most work in discovery and just check up/down in poller.
* unused variable
* Implement option for OS override
* fix an incorrect typehint
* test data
* work around stupid migration name
* update schema
* better handling for the on-demand discovery
* more detailed phpdoc
* fix when adjacency is not found
* don't clear out data when adjacency goes away
* Adjust nullable fields
* fixes
* fix class name
* correct migration
* fix bug causing adjacency data to always be blank
* port popups for port links
* isisISAdjState does not need to be nullable
* remove extra space
* default off
* If port is missing return $text
* update schema
* Cleanup old components
* correc copy paste error
* Update configuration docs to use lnms config:set
don't show slashes input
still need to test them all
* fixup broken commands
os array type a little broken
* bash
* fix lnms config:set os append
* enable os append test
(and small correction)
* fix whitespace
* Show ifSpeed on Graph
Drop ifHighSpeed, we really don't want to store that value.
* safer truth check
* Allow global setting and per-graph variable
* match surrounding case
* Style fixes
* Remove old function usage
* update schema
* remove some old usages
* cleanup more ifHighSpeed references
* update test data to remove ifHighSpeed
* fix down migration
* Add button on graph page
Change default
tweak wording
* Update ict-pdu.inc.php
Lines 7&8 fixes an issue seen when polling current on ICT2000DB-12IRC .
* Create ict-pdu_ict200db-12irc.snmprec
* More generic fix
* Create ict-pdu_ict200db-12irc.json
* Update ict-pdu.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* lnms config:set works for os settings
validate against os schema (gives us path and value validation)
fix unset in config:set
json formatted output in config:get to match input parsing
* inline errors
* Check that OS exists
* Fix lock file
* Set param type
* correct method name, it no longer returns a boolean
* rename --json to --dump
tests and fixes
* fix whitespace
* missed one whitespace
* typehints
* add connection typehint
* try again
* Added test data
* Added support for some Cell states
* Added more Cell states and added missing testdata
* Obs deleted the test data file
* Added support for monitoring Cellular signal
* Forgot test data again....
* Added more Cell states and Wirless data. Removed services because I cound get it to work correctly
* 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>
* 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>
* Update with FortiAP
Add number of connected wireless client and number of connected FortiAP
* Add fortiAP support
* Update Fortigate.php
* tests
* style
* Update fortigate_500d.json
Test cannot run properly because of dependency between interfaces and OSPF ports.
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* 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
* 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>
* Fixing irrelevant value for Juniper RPM percentage packetloss
Old MIB values fron generic DISMAN ping pingResultsProbeResponses and pingResultsSentProbes are
querying current probe values so if a probe is still pending, irrelevant value are taken. It results
in high percentage packetloss that not match reality.
Using the Juniper MIB values jnxPingLastTestResultProbeResponses and jnxPingLastTestResultSentProbes
seem to fix this.
At the same time we take here jnxPingLastTestResultAvgRttUs instead of jnxPingResultsRttUs which
is more accurate.
* Fixing typo in the name of Cisco MIB for Cisco SLA's polling
* Delete old comment about SNMP values : getting the all values once instead of one by one
* Adding test files for Juniper RPM last modification
* Revert "Adding test files for Juniper RPM last modification"
This reverts commit 0209b18b9d.
Reverting to keep snmprec junos_vmx already generated file
* Regenerating JSON test file and keeping snmprec file
* 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.
* Added minimal support for Eaton EMP gen2 (Env. Monitorin Probe).
Probe is readable from both xups and eaton sensor mib. Many more details available in sensor mib.
* Added states for state sensors.
Added snmprec for an Eaton 9px with firmware 2.0.5 and a connected EMPg2 device.
* added an snmprec for a device with a connected emp g2, and renamed the existing snmprec so we can refer to it as a variant
* readded xupsEnvAmbientTemp sensor
* Add support for HPE Managed Power Distribution Unit - pdu2 and pdu3
* Adding test data for hpe-mapdu from HPE P/N H8B49A (pdu2) and HPE P/N
P9S18A (pdu3)
* Remove module overrides and leave it up to user. Fix snmp_max_oid
* Fixed detection of PDU3 devices, updated testing data
* Make sysDesc definitions more specific - adding only HPE part number and
whole sysdescription of tested device.
* Change sysDescr to be less specific
* Force Test Re-run
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>