Commit Graph

813 Commits

Author SHA1 Message Date
wkamlun
1d55265690
Update with FortiAP (#13037)
* 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>
2021-07-21 20:26:29 +02:00
Emmanuel Caillé
578602f8f9
Use non numeric snmpwalk for nxos fan trays (#13048)
* Use non numeric snmpwalk for nxos fan trays

* Update test data with now discovered fan data
2021-07-21 19:19:41 +02:00
Maikel de Boer
e8b11635a6
Ericsson 6600 series (#12931)
* start

* added test data + mibs

* fxied minor

* Update CIENA-6500-AMPS-MIB

* Update CIENA-6500-ENUMS-MIB

* removed unused mibs

* added test data

* Delete ciena-saos_saos.snmprec

* Rename ciena_saos.json to ciena-saos.json

* Rename ciena_saos.snmprec to ciena-saos.snmprec

* Rename ciena-saos.snmprec to ciena-saos_ 6500.snmprec

* Delete ciena-saos.json

* Delete ciena-saos_ 6500.snmprec

* new attempt for the test data

* test data again

* small start

* Start

* added values

* added counters

* small style

* add test data

* Delete ciena-saos.yaml

* Delete ericsson-ml.yaml

* Delete ciena-saos_6500.json

* Delete ciena-saos_saos.json

* Delete ciena-saos_saos.snmprec

* Delete ericsson-6600_6600.json

* Update Ericsson6600.php

* added test data

* re-adding removed files

* Update Ericsson6600.php

* Update ericsson-6600.yaml

* Update XF-RADIOLINK-PTP-TERMINAL-MIB

* Update XF-TOP-MIB

* Restored renamed file

* Update ericsson-6600.yaml

* optized wireless discovery

* Update Ericsson6600.php

* Update Ericsson6600.php

* Update Ericsson6600.php

* Update Ericsson6600.php

* Update Ericsson6600.php

* feedback

* Update Ericsson6600.php

* Update Ericsson6600.php

* fixed discovery problem for future 6300 series

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-07-21 08:07:56 -05:00
paulierco
c07fcc8029
Alcatel-Lucent AOS7 bgp fix2 (#13059)
* first

* style

* fix erorr

* fix style again

* fix style again
2021-07-21 08:03:21 -05:00
O Palivan
0edf5dafd2
Fixed Packetlight EDFA sensors and added test-data (#13060) 2021-07-19 23:29:59 +02:00
paulierco
a45020c8d3
Alcatel-Lucent Aos7 increase fan threshold (#13053)
* first

* new tests

* tests again
2021-07-19 11:35:31 +02:00
paulierco
7e35bac7ee
Alcatel-Lucent Aos7 bgp fix (#13047)
* first

* fix style

* fix style

* tests

* tests

* tests

* tests

* tests

* tests
2021-07-18 13:32:59 +02:00
paulierco
bcb4ef5c1c
Alcatel-Lucent Aos6 ignore second power supply (#13054) 2021-07-18 13:23:43 +02:00
Keryazmi
3d0c1e63b7
Update Sensors for ADVA FSP150CC + discovery fix (#13020)
* Update YAML file for ADVA FSP150CC

Update for Adva FSP150CC
1. ERP State
2. Condition State

* Update Pre-Cache for ADVA FSP150CC

Update multiple devices and cache ERP objects.
1. XG116Pro (H)
2. XG120Pro
3. XG210
4. EG-X

* Update on Temperature Sensors for ADVA FSP150CC

Update multiple modules to support Adva FSP150CC Series.

* Update Voltage Sensors for ADVA FSP150CC

Update multiple modules for Adva FSP150CC Series.

* Create adva_fsp150_xg116proh.snmprec
* Create adva_fsp150_xg116proh.json
* Update adva_fsp150_xg116pro.snmprec
* Update adva_fsp150_xg116pro.json

Fix legacy ADVA discovery code

* Fix snmp-get and DB access
* style

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-07-17 01:01:45 +02:00
Peca Nesovanovic
a6a00419e4
Inital support for Eltex-MES switches (#13036)
* 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>
2021-07-16 16:14:09 +02:00
edgetho007
204ba3989d
Extend Sonicwall OS 7 (#12997)
* 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>
2021-07-16 11:12:50 +02:00
Krasimir Danev
fd9328af55
Added support to new device Controlbox TH-332B (#12940)
* Addet support to new device Controlbox TH-332B

* Rename CONTROLBOX-TH-332-MIB to CONTROLBOX-TH332-MIB

* Create controlbox_controlbox.snmprec

* Update controlbox_controlbox.snmprec

* Merge branch 'master' into community-16076

* Update controlbox.yaml
2021-07-14 22:30:19 +02:00
rhinoau
2e9377dfd6
Add OS Support for Siemens Scalance X Switching (#12938)
* 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
2021-07-14 22:29:52 +02:00
Gregory Bers
7e6abdedb3
Rittal lcp parameters (#13035)
* 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>
2021-07-13 00:55:56 +02:00
mathieu-artic
fc85424fe9
Correction Ucopia #13031 (#13033)
* correction index ucopia

* correction index ucopia 2

* correction index ucopia 3

* Merci PipoCanaja
2021-07-12 20:17:43 +02:00
mathieu-artic
784c19587a
add support for ucopia appliances (#13031) 2021-07-11 23:11:35 +02:00
Npeca75
1b68273b5d
Added Vlan discovery on LAG ports, Jetstream OS (#13007)
* Added Vlan discovery on LAG ports, Jetstream OS

* Jetstream expand function rewriten

* Jetstream expand function rewriten

* Jetstream expand function rewriten (v2)

* Added snmprec

* Create jetstream_t1600g-28ts.json

* Combine Regex

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-07-11 12:21:19 -05:00
geg347
3bf11187d1
Fixing irrelevant values rpm packetloss (#13010)
* 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
2021-07-08 15:59:48 +02:00
mathieu-artic
fd597dbd1f
add showtime for SDSL line (#13005) 2021-07-08 00:58:00 +02:00
Hans Erasmus
8729363645
Added arista_mos support (#13003)
* arista_mos-support
* Changed according to request
2021-07-06 16:11:28 +02:00
mathieu-artic
e27403fc2c
add lte/umts support (#13002) 2021-07-06 00:34:50 +02:00
Justin Bronn
d214ec4a28
TP-Link Jetstream DDM and PoE Support (#12990)
* 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.
2021-07-04 17:51:57 +02:00
PipoCanaja
7e2ce6179a
Added VRP ICMP SLA (NQA in huawei naming) support (#12973)
* added VRP icmpAppl SLA (NQA in huawei naming) support

* style

* style

* remove unnecessary values in RRD

* enable SLA for VRP devices

* tests
2021-07-03 15:16:38 +02:00
Dag Bakke
e9c8a3c337
extended Eaton M2 EMP g2 (#12994)
* 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
2021-07-02 21:43:03 +02:00
paulierco
c505040289
Alcatel-Lucent AOS6 to yaml (#12982)
* first

* add missing ifName

* oid for stacking and style

* add missing ifName

* revert stacking

* remove stacking mib

* remove PS-1
2021-06-28 12:42:34 +02:00
Kevin Zink
7ef302a8b9
EUROstor RAID (#12969)
* Proware Controller in EuroStore RAID Chassis

* fix style

* Eurostore

* renew testdata

* Fix style
2021-06-21 10:13:40 +02:00
Jezekus
b111ab6ff9
Add HPE-maPDU support (#12550)
* 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>
2021-06-19 18:51:14 +02:00
martinberg
24b8bebde7
Add support for Liebert humidity setpoint and UPS powerfactor (#12965) 2021-06-18 16:33:12 +02:00
Kevin Zink
4ec609bccf
Add Serialnumber for some Dell ForceTen devices (#12960)
* Add Serialnumber for some Dell Force devices

* Also in entity-physical

* fix style

* fix style

* add testdata
2021-06-17 21:16:09 -05:00
BennyE
0f429e3d9a
Added New-OS: Alcatel-Lucent Enterprise Stellar Wireless (#12952)
* Added New-OS: Alcatel Stellar Wireless

* Addressing StyleCI remarks

* StyleCI is still unhappy with me

* Addressing scrutinizer identified minor bug with additional type check

* Add snmprec test data

* Add json test data
2021-06-17 16:23:16 +02:00
Kevin Zink
7edc302f34
2 more Rittal variants (#12953)
* 2 rittal variants

* fix style

* fix problem with missing entry["cmcIIIVarValueStr"]

* fix typo
2021-06-16 21:15:47 +02:00
Justin Bronn
f8d9ab4d49
Improve TP-Link JetStream Discovery (#12946)
* Add the TPLINK-SYSINFO MIB, via TP-Link's 20210310 archive.

* Simplify discovery of TP-Link JetStream switches: the OID `.1.3.6.1.4.1.11863.5.` applies to them all.

* Support TP-Link JetStream switch hardware, serial, and version data using their sysInfo MIB.

* Use correct filename for the TP-Link sysInfo MIB.

* Add SNMP and test data for TP-Link JetStream switch models SG2210P and T2600G-28TS.
2021-06-16 18:18:58 +02:00
mathieu-artic
ae78d2b0b9
Add SDSL Support for OneAccess routers (#12948)
* add oneaccess

* add oneaccess mibs

* modify cpu description

* delete .mib

* add cpu name

* update tests files

* add text

* SDSL Oneaccess
2021-06-16 18:15:22 +02:00
paulierco
20c44b85c3
Alcatel-Lucent aos6 and aos7 fdb fix (#12945)
* first

* style
2021-06-12 09:32:34 +02:00
Kevin Zink
2a66d68c18
Janitza UMG96 (#12944) 2021-06-12 00:05:22 +02:00
geg347
672fe61b5e
New module add juniper rpm support + reimplementation of cisco-sla module (#12799)
* Definition of a new SLA module to migrate from old cisco-sla and support other devices : Juniper RPM and Huawei

* Change wrong description name of module SLA

* Re implementing Juniper RPM support in a new module Slas (Cisco SLA to be added)

* Added Graphs for Juniper RPM types

* Tried to make discover and poller generic : to handle Cisco SLA and Juniper RPM and others

* Reimplementing Cisco SLA in the new Sla module and adding condition to manage both SLA and RPM

* Definition of a new SLA module to migrate from old cisco-sla and support other devices : Juniper RPM and Huawei

* Change wrong description name of module SLA

* Re implementing Juniper RPM support in a new module Slas (Cisco SLA to be added)

* Added Graphs for Juniper RPM types

* Tried to make discover and poller generic : to handle Cisco SLA and Juniper RPM and others

* Reimplementing Cisco SLA in the new Sla module and adding condition to manage both SLA and RPM

* Fix some error due to Elequent object replacing SQL request

* Fixing indentation

* Fixed continuous integrations errors

* Fixed continuous integrations errors part 2

* Fixed continuous integrations errors part 3 : missing last new lines

* Fixed PHP Static Analysis checks

* Fixed continuous integrations errors part 4

* Fixed PHP Static Analysis checks part 2

* Trying to convert existing cisco-sla to new slas one

* Trying to add slas to fix test failure (I am pretty sure this is not enough but I don't know how to do it)

* Switching old cisco-sla module declaration to new slas module in concerned OS files

* Fixing wrong sla module name instead of slas in concerned OS files

* Fixing wrong module name sla changed to slas (as is it in power-supplies reimplementation)

* Fixing some warnings shown in the Inspection CI but skipping some that are already present

* Adding tests files from virtual Juniper VMX and adding slas modules in /tests/module_tables

* Adding missing SNMP data files

* Module Slas modifications to use inheritance

* Fix CI errors

* Fix CI errors part 2

* Fix CI errors part 3

* Fixing no value on RTT graphs

* Fixing only last SLA to be polled : problem with loops

* Fix CI errors part 4

* Optimizing a little the Juniper RPM poller part

I wanted to query only the required values but it is complicated to query a specific OID
as Cisco-SLA does because the owner and tag are hardcoded in ASCII decimal with strange values.
So I use the function snmp_walk which gets the whole OID values in text.
And I index the Juniper MIB (because we want multiple values). But I changed the DISMAN MIB
requests to get only what we want.

* Fix CI errors

* Fix CI errors part 2

* Fix CI errors part 3

* Fixing PHP Static Analysis error 2/4

* Fix CI errors

* Implementing Interfaces to fix some errors that occurs with inheritance

* Adding missing Interfaces files

* Moving generic Sla discovery code into Junos Class

* Fix CI errors

* Fix CI errors part 2

* Fixing missing definition of SlaDiscovery in Cisco shared Class

* Fixing missing import for Illuminate\Database\Eloquent\Collection

* Fix CI errors part 3

* Fix PHP Static Analysis error

* change type strings to use translations instead of config

* IOSXR test data

* remove test data garbage

* simplify discovery

* Fix style

* Updating test files to adapt mock sla_nr ID starting from 0 and not 1 : CI tests should pass

* clean up polling
add rtt field in the db
cisco icmpjitter seems to have confused a lot of values

* rtt on discovery

* use crc32 for consistent sla_nr values

* revert snmprec

* Fix style

* correct schema

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-06-11 13:48:33 -05:00
ottorei
69397ea70f
ISIS-adjacency polling support (#12461)
* init

* Add adjacency polling support

* Format messages

* Fix prints

* Apply fixes from StyleCI

* Fix schema

* Schema fix

* Alert rule example

* Remove display format

* Change option order

* Add test data

* Add test data

* Test data

* Review fixes

* Remove duplicate MIB-file

* Add cleanup

* Fix

* Print fix

* Remove extra cleanup

* Revert "Remove duplicate MIB-file"

This reverts commit 4b3cf8127c.

* Remove unneeded MIB-files

* Add check for empty array

* Apply fixes from StyleCI

* Review fixes

* StyleCI

* StyleCI

* Apply fixes from StyleCI

* typo

* Update function calls on pages

* Linting fixes

* Apply fixes from StyleCI

* Discovery module

* Add discovery module

* Apply fixes from StyleCI

* Update example alert rule

Co-authored-by: ottorei <ottorei@users.noreply.github.com>
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-06-10 19:42:34 -05:00
Kevin Zink
84c6d215cf
Add Epson Projector as new OS (#12928)
* Add Epson Projector as new OS

* Remove poller definitions

* Remove poller definitions

* convert os to epson-projector

* fix delete doc/Alerting/Transports.md
2021-06-10 22:22:19 +02:00
Rafael Pardim
1e05cdc571
Gaia VPN IPSEC discovery (#12823)
* Add VPN IPSEC discovery and fix haState

Adding VPN IPSEC Discovery and fix haState at creating https://github.com/librenms/librenms/pull/12821
haState does not work from yaml file because needs to Convert string value to integer LibreNMS value

* Update gaia.yaml

* Update gaia.yaml

* Update gaia.yaml

* Gaia VPN IPSEC discovery

* Gaia VPN IPSEC discovery
2021-06-09 10:07:21 +02:00
PipoCanaja
31ac00f88c
HWG WaterLeak sensor support (#12865)
* mib for WaterLeakDetectore

Add support for WaterLeak detection

rename OS

rename OS

rename OS

remove unnecessary module restrictions

space

* disable only some modules
2021-06-09 09:56:07 +02:00
d-k-7
fcac1239fc
Improved raritan pdu support (#12937)
* return "Outlet " + index in event outlet description is empty

* update tests to account for blank outlet description

* add hardware, serial, and version detection for Raritan PDUs
2021-06-09 00:38:23 +02:00
Patrik Forsberg
70023c0b59
Fix nokia(TiMOS) memory (#12925)
* fix nokia(TiMOS) memory to use kibibyte instead of bytes to fix issues with routers that has more memory then byte counter handle

* fix test cases

* fix mempools test case

* fix timos.snmprec
sync timos.snmprec and timos.json

* fixed timos.json

* fix timos_7705
2021-06-01 07:58:06 -05:00
Kevin Zink
3a0c164a5d
Add Barco Clickshare (#12927)
* Add Barco Clickshare

* correct type

* and testdata
2021-05-31 00:15:24 +02:00
mathieu-artic
15da7faef1
Add support for oneaccess router (#12850)
* add oneaccess

* add oneaccess mibs

* modify cpu description

* delete .mib

* add cpu name

* update tests files

* add text
2021-05-29 09:08:28 -05:00
dust241999
f338f41cb3
Fixing support for Vertiv-PDU - Issue 11608 (#12923)
* Trying to add basic support for Vertiv PDU power graphs

* Trying to add basic support for Vertiv PDUs and power graphs

* Update geist-watchdog.yaml

* Update geist-watchdog.yaml

* Update vertiv-pdu.yaml

* Add files via upload

* Add files via upload

* Add files via upload

* Update geist-watchdog.yaml

* Add files via upload

* Delete vertiv-pdu.yaml

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-05-27 14:58:13 +02:00
Jellyfrog
556c265934
Initial HAProxy ALOHA support (#12889) 2021-05-25 15:33:18 +02:00
resq
8da002f47c
newdevice: Added support for PowerWalker VFI (#12891)
* newdevice: Added support for PowerWalker VFI

* discard powerwalker 500r from being discovered as cyberpower

* add version_regex and correct num_oid: upsInputCurrent

* update version_regex, add hardvare_regex
2021-05-25 15:33:04 +02:00
Maikel de Boer
a6cf1bee7e
Added basic support for Ciena 6500 (#12903)
* start

* added test data + mibs

* fxied minor

* Update CIENA-6500-AMPS-MIB

* Update CIENA-6500-ENUMS-MIB

* removed unused mibs

* added test data

* Delete ciena-saos_saos.snmprec

* Rename ciena_saos.json to ciena-saos.json

* Rename ciena_saos.snmprec to ciena-saos.snmprec

* Rename ciena-saos.snmprec to ciena-saos_ 6500.snmprec

* Delete ciena-saos.json

* Delete ciena-saos_ 6500.snmprec

* new attempt for the test data

* test data again

* Delete ciena-saos_saos.json

* Delete ciena-saos_saos.snmprec

* Update ciena-saos.yaml

Cleanup

* added some quickwins

* new test data

* Update ciena-saos.yaml

* added test data

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-05-25 11:51:14 +02:00
dust241999
558d486a3d
Adding basic support for Vertiv PDUs and power graphs (#12908)
* Trying to add basic support for Vertiv PDU power graphs

* Support for fortiswitch in gen_rancid (#12894)

* Trying to add basic support for Vertiv PDUs and power graphs

* Update geist-watchdog.yaml

* Update geist-watchdog.yaml

* Update vertiv-pdu.yaml

Co-authored-by: Cliff Albert <cliff@oisec.net>
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-05-23 02:02:50 +02:00
Negatifff
236616d085
Huawei MA5603T (#12869)
* Huawei MA5603T

* tests fix 1

* tests fix 2

* tests fix 3
2021-05-13 13:29:07 -05:00