* [wip] add initial support for socomec-ups
based on: https://community.librenms.org/t/add-socomec-ups-with-netvision-snmp-card/24139
Signed-off-by: Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
* ci
* drop cache/precache
* drop MIB definition
---------
Signed-off-by: Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
* Fix Fping bulk
When an ICMP unreachable message was returned (stderr), the output processing would save it as if it were a partial line, breaking parsing.
Only save a line if it is the last line of the output (not ending in a new line)
* Add test case
* safer logic
* Fix duplication of processor entries & limit length of type
* delete duplicate processor entry
* added maxLength to processor type
* shorter processor type
* forgot to regen test data
* Linux MegaRAID SAS fixes
- Updated disk error threshold from 1 to 0.1 because we need to know when
it reaches 1, not when it exceeds 1. It would ideally be set to 0, but
it needs to evaluate to true in order for the threshold to be set.
- Fixed the OID for the virtual disk failure check, which also removes the
duplicate check on the predictive failure OID
* Updated the LSI test output
* Another update to the SNMP results
* Update all thresholds to 0
The warning and error thresholds work correctly when set to 0, so I have updated these values
* Change back to the original sensor OID, with the correct MIB OID and description
* Further re-classification of degraded LSI disk check
* Merge duplicate toBytes functions
Replace other duplicate code and add tests
* Allow space between similar to formatSI output
* Style fixes
* Match previous behavior in Docker app
* Improved Latency graph
Store loss+jitter info in rrd instead of database
New graph icmp_perf (legacy ping_perf still valid referencing part of the newer data)
Delete device_perf table
* Change loss to an area so it is more visible
* Style fixes
* Cleanups from phpstan & tests
* exit_code fix
* Remove alert usage of device_perf
* Don't use magic __get
* Add test for bulkPing
Add host to previous tests
* style fixes
* Fix issue fping error responses
* Added support for new device OS Westermo WeOS
updated high limits
* Removed config regarding discovery and polling modules
* First test with moving sensor discovery to YAML
* Updates to discovery snr sensor, new test data, deleted sensors written in php
* Fix for SNR discovery sensor descr
* Removed shdsl from bad_iftype
---------
Co-authored-by: OSIRIS-REx <sphinxes@protonmail.com>
* rls definition
* Adding discovery
* Temp Sensor Discovery
* files for discovery
* Adding and updating MIBS
* Add snmpsim
* Modified yaml for unit test
* phpfmt format
* ci changes
* fixing temp sensor
* fix json
* db schema out of date causing bad snmpsim json
* changed temperature discovery to php
* With updated snmpsim data
* index_string restored, YAML for temperature
* style
* Fixed index_string usage in JUNOS files
* Update YamlDiscovery.php
Allow filtering on "index" in skip_values
* Move DBM to YAML as well
* style
* schema update
* Slot XX Yyyyyy
remove unwanted dot
* matching tests
* schema, round 2
* states in YAML
* put temp sensor back in yaml
* enable default poll and discovery modules
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* OcNOS: add health sensors
Add Health Sensors
Update MIBs
Break out current sensors due to missing thresholds on _IIN sensors
* Add test data
* Wrong processors data
* Update Huawei MIBs
* Add YunShan OS definition and discovery
* Add YunShan OS snmpsim and test data
* Update discovery according to newer MIBs
* OS test data update
* OS test data update
* OS test data update
* Move sentry3 current and voltage sensors to YAML, add power to YAML, fix voltage for three-phase
* Sentry3: add systemTotalPower and systemPowerFactor
* sentry3: note that voltage and power factor are configured, not measured
* sentry3: group names to indicate sensors which are configured, rather than measured; prefix current index with infeedID to match previous PHP discovery
* sentry3: add ouprefix to outlet current to match previous PHP discovery index
* sentry3: restrict to recording voltage to only the first feed of each tower, to match previous indices
* sentry3: add snmprec from 3-phase CS-24V4-P32MA
* sentry3: attempt to fall back to Infeed
* sentry3: laravel blade fallback fix
* update tests instead of trying to fall back to old-style descriptions
* sentry3: update expected voltage in test, too
* typo
* fix test
* fix outlet OIDs ; update snmp test data with missing names ; regenerate test output
* add missing num_oids for power
* num_oid requires index, even for system-wide values
* remove unused entPhysicalIndex_measured
* tests
* tests
* doc
* entPhysicalIndex_measured must be ports OR null currently
* Should not pass tests
* tests
* back to normal
* Increase the column width of entPhysicalIndex and entPhysicalIndex_measured
* Update schema
* Remove unchanged change
* Update test data
* Remove migration and update test data
* Fix hirschmann and junos
* One too many
* Potentially incorrect usage
* Another potentially incorrect usage
* Revert changes to cisco and dell
* Test data changes for loop-telecom and ups-nut
* Addition of influxdb-client-php to Composer.
* Addtion of InfluxDBv2 support.
* Addition of front-end options.
* Addition of documentation.
* Addition of the acknowledgement of the PHP library used.
* Fixed a unneeded bracket.
* Addition of a basic datastore test.
* StyleCI fixes.
* StyleCI fixes.
* StyleCI fixes.
* Fixed exception class.
* Revert accidental change.
* Fix to composer lock to not update all packages.
* Fix to composer lock to not update all packages, but still include the new Influx lib.
* Another attempt at getting Composer to behave the way I think it should work.
* Fixed merge-conflict in Composer due to #15869.
* Update composer.json
* Update composer.lock
* Update composer.json
* Update composer.lock
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Update entity-sensor.inc.php
* FSW Test data
* FSW Test data JSON
* StyleCI
* Update fortiswitch.yaml - Correct state sensor index
* Update fortiswitch.yaml
* Add files via upload
* Fix sensor value at discovery
* merge templates
* fix merge issues
* fix bad merge
* adding snmprec for x11 variant
* better description for psu and vbat sensors + update overview
* oid name
* adding snmp_bulk: false back in so as to not break older hardware
* make atenpdu more specific so it does not match supermicro-bmc devices
* update x10 variant json
* updated supermicro logo and fixed data json
* updated supermicro logo
* json and snmprec got out of sync somehow
* A10 ACOS version, state and cout sensors
* A10 ACOS version, state and count sensors
* A10 ACOS version, state and count sensors
* A10 ACOS version, state and count sensors
* A10 ACOS version, state and count sensors
* A10 ACOS version, state and count sensors
* Ericsson IPOS Yaml
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Ericsson IPOS MIBs
* Ericsson IPOS - Serial & Hardware detection
* Ericsson IPOS - Remove mempool from overview
* SSR8020 SNMPrec
* Ericsson IPOS SSR 8020 Test
* Delete tests/snmpsim/ericsson-ipos_ssr8020.snmpwalk
* SSR8020 SNMPrec
* Add storage to overview
* Move to new SnmpQuery
* SnmpQuery() instead of snmp_*
* Delete mibs/ericsson directory
* Create ERICSSON-TOP-MIB
* Add files via upload
* Handled rttMonLatestJitterOperPacketOutOfSequence and rttMonLatestJitterOperPacketMIA not being present on Cisco Nexus9000 routers by defaulting to null value when not found.
Non-existance of OIDs confirmed here: https://cisco.github.io/cisco-mibs/supportlists/nexus9000/Nexus9000MIBSupportList.html
* Added snmp test data
* Removed superfluous comments
* Fixed sla number in test data
* Removed spacing
* Removed ?
* update dhcp polling for version 3 of the extend
* add initial lease display for dhcp
* note where I copied it from
* document the new ISC DHCP stuff
* add in displaying pool and subnet info
* finalize the docs the new dhcpd stuff
* rework the dhcp page to display more information in a cleaner manner
* now display port and device info if known for a lease
* minor comment cleanup for the dhcp page
* add tests
* do not display the optionbar if the extend is not 3+
* update dhcp-stats doc for -w
* poke includes/html/functions.inc.php with php-cs-fixer
* poke includes/html/pages/device/apps/dhcp-stats.inc.php with php-cs-fixer
* derp... add the tests and not the snmprec twice
* strftime -> date
* fix naming of the linux dhcp-stats test data files
* minor tweaks to the rest results
* test fix
* more test cleanup
* minor test fix
* set the data value for v3
* minor test tweak
* add sortable_table blade template
* no longer need render_table
* formatting fix
* add regexp to make sure the mac is sane
* style fix
* formatting cleanup
* some more formatting fixes
* Add Cisco HSRP State sensor support
* Cisco IOS Updated test data
* Restore ios_nac.json test data
* New ios_nac.json from a freshly reinstalled Libre!
* Cat 3560 Test
* Cat 3560 Test
* Add files via upload
* Add files via upload
* Support for new OS - CTS
* Added test data for CTS
* Added sensors support, new test data
* Fixed POETotalPower num_oid
* Removed comment
---------
Co-authored-by: OSIRIS-REx <sphinxes@protonmail.com>