* Teldat: Wireless and GSM Basic Monitoring
* Teldat: Wireless IfIndex fix
* Teldat: Wireless and GSM tests
* minor comment correction
* Teldat: Wireless and GSM add json test data
* linter.warn: bugfix access_point_id = null, generally used for controllers, TELDATs are never controllers
* Teldat: Wireless and GSM tests replay results.
* linter.warn: fix#17 $entPhysicalMeasured expects float|int|null set to: null
* Teldat: Wireless and GSM some updates, bugfixes and lint updates as requested.
* linter : some more fixes...
* Teldat: Wireless and GSM, apply recommendations.
* minor styleCI fix.
* linter: fix
* linter: fix.
* Delete WirelessLteCellPolling.php
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Infer character encoding for ifAlias and sysLocation
Tries to convert character encoding for non-UTF-8 encoded strings.
This will only work for snmp strings that are type-hinted, not ones forced to ASCII with -Oa or similar
Only works for your default charset or Windows-1251 or LATIN1.
You can set your character encoding in .env with CHARSET
Please save us all and just use UTF-8
* style fixes
* less Yoda
* ensure return type
* fall back to passed string
* don't convert strings with any unprintable characters (such as line return)
* Update LibreNMS/Util/StringHelpers.php
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
* Fix CP850
* fix space
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
* Add power consumed
* Revert "Add power consumed"
This reverts commit 424554ac04bd340de2fd962cb6808045024ef783.
* Start with tempsensorts aus some states
* Inventory data
* Convert plugins to Blade
* Revert "Convert plugins to Blade"
This reverts commit 8d1d3ff5b1.
* fix style
* Add FANs and Powersupplies
* fix style
* add test data
* add a short description for the doc
* refresh Testfile
* Add hardware, OS version and serial to arubaos-cx discovery
* Add support for ArubaOS-CX versions 10.04 and 10.06
* Fix bug where first arubaos-cx regex would be ignored
* Add test data for 10.07, data for 10.06 coming soon
* Add data for 10.06
* Update 10.04 test data
* Update arubaos-cx.json
* Update arubaos-cx_10.06.json
* Update arubaos-cx_10.07.json
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Added SAF Integra-X support.
* Fixed discovery confusion between Integra-B and Integra-X.
* Removed a missed unusued use statement.
* Fixed CPU sensor issues related to MIB display hints throwing off math.
* Fix to Integra-X snmprec and test data.
* Add mibs/zte/ZXR10-MIB
ZTE ZXR10 vendor-specific mibs
* Update zxr10.yaml
add mib_dir
change top-line view like in cisco
* Create zxr10.yaml
define mempool and processor discovery for zxr10
* Update zxr10.yaml
fix discovery.php "error in mempools module. Unable to translate oid ZXR10-MIB::zxr10SystemMemSize"
* Update zxr10.yaml
ZXR10-MIB::zxr10SystemMemUsed is in percent not in bytes.
* zxr10.yaml :: fixed mempools data
fixed mempools data
* TESTS :: Add snmprec
* TEST :: Add data/json
* Change group from zxr10 to zte
* Remove mib_dir
With group: zte it works without mib_dir: zte
* Rename zxr10_zxr10.json to zte_zxr10.json
* Rename zxr10_zxr10.snmprec to zte_zxr10.snmprec
* 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>