* This commit changes two files in the LibreNMS repo, to enable polling of the ArubaOS OID that reports active vpn sessions.
The first file is the arubaos.yaml discovery file to enable polling of the following OID WLSX-USER-MIB::wlsxNumOfUsersVPN(OID: .1.3.6.1.4.1.14823.2.2.1.4.1.4.2.0).
The second file arubacontroller_vpnsessions.inc.php is a graphing file to allow the use of this sensor on a dashboard.
* Update arubacontroller_vpnsessions.inc.php
Added newline at end of file to follow style guide
* Update arubaos.yaml
Added newline at end of file to follow style guide
* keep {{ $index }} in the num_oid and index
* Update arubacontroller_vpnsessions.inc.php
fix to match the rrdfilename change
* Added test data
* Added test data
* Removed extra file
* added variant vmc json test data
* revert arubaos.json
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* add PTZ and Dome Cameras
* remove default temperature limits
* set temperature limit per device type
* fix linting
* add test data
* set original limits as default and use integers instead of strings
* breakout handling of suricata extend v. 1 returns
* initial work for suricata 7.0.0
* add shared file for various Suricata related variables
* update handling for new Suricata stuff
* fix suricata rrd name bits
* update suricata app page a bit
* misc
* add a new v2 suricata graph
* more suricata v2 graphs
* fix app data for suricata
* more graph work
* fix initial graphs
* the page selector for suricata v2
* more cleanup for suricata stuff
* add more graphs
* add suricata_v2_pkt_drop.inc.php
* add suricata_v2_error_delta.inc.php
* add suricata app layer flows graph
* add app layer tx
* start work on bypassed
* add flow bypass stuff
* add suricata error stuff
* add more graphs
* more suricata v2 work
* ...
* add packets overview
* cleanup suricata_packets_overview.inc.php
* more work on the overview graphs
* error delta is now per second
* cleanup suricata_v2_app_layer_error_alloc.inc.php
* add new flow proto stuff
* add suricata_v2_flow_proto
* add new overview graph
* update v2 app layer flows graph
* more v2 graph cleanup
* suricata graph cleanup
* suricata_dec_proto_overview now works
* more graph work for suricata
* more graph work
* add another overview graph
* snmp fix
* add a new overview graph
* add a new over view
* more graph stuff
* more memory graphs
* tidy pages bit
* more work on decoder stuff
* more decoder work
* decoder stuff done
* cleanup suricata_packets_overview.inc.php
* appl layer tx work
* add app flow stuff
* fix suricata_v2_decoder__event__ethernet.inc.php
* fix suricata_v2_decoder__event__ipv4.inc.php
* fix suricata_v2_decoder__event__ipv6.inc.php
* add alloc error stuff
* more error related work
* more error stuff
* start work on internal errors
* add internal error graphs
* parser error stuff done
* more decoder work
* decoder icmpv4
* more decoder work
* ltnull done
* mpls decoder stuff
* nsh decoder work
* decoder ppp done
* more decoder work
* more decoder work
* more vlan work
* vntag decoder stuff done
* descr_len auto set for generic stats
* ipv6 decoder stuff done
* style fix
* style fix
* more style cleanup
* more suricata graph work
* fix require usage
* tweak drop info a bit
* add some checks for for with suricata 7.0.4
* more suricata tweaks
* fix sagan instance handling
* another minor fix
* fix improper munging
* rever something accidentally added to this repo
* add linux_suricata-v2.snmprex
* rename the metrics for instances from instance_ to instances_
* add linux_suricata-v2.json test data
* style fix
* minor munging tweak
* style cleanup
* some app data fixes
* remove a typo from test data
* add deleted_at and make sure discovered is numeric and not a string 1
* derp... json fix
* remove something accidentally added
* fix a small erorr in the test data
* add a missing variable to the test data
* try another tweak for suricata json test stuff
* derp... fix a type in the suricata poller
* revert a test data change
* re-order some the metrics in the test
* some more metric re-ordering
* add a missing status
* remove something that was accidentally added to this branch instead of another
* strcmp cleanup
* style fix
* [vlans] Add VLANs information to Huawei VRP os
Signed-off-by: Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
* ci
* test data
---------
Signed-off-by: Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
* [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