Commit Graph

757 Commits

Author SHA1 Message Date
Tony Murray
941037e44e Convert OS discovery to new style (#12099)
* terra

* airos

* port cisco os polling
old wwan polling was broken and deprecated anyway

* enterasys

* Brother, a few changes

* AW Plus

* Fabos

* set expected test data

* 3com

* Adva FSP150

* advantech

* airos-af

* aix

* akcp

* allied

* allworx and missed mibs

* anyos

* fixup some zyxel shared stuffs
zywall graph polling

* aos

* apc

* apex

* apsoluteos

* fix copyrights

* arris

* arris

* aruba-instant

* ArubaOS

* Ascom

* asuswrt-merlin, ats

* audiocodes

* avocent

* avtech

* barracuda

* binox

* boss

* canonprinter

* cdata

* ceraos

* ciena-waveserver

* fix 3com

* fix airos

* fix brother yaml?

* fix aos more

* fix and improve apc

* fix arista test data

* yaml discovery (basic)

* cimc

* mib not used

* remove old discovery file

* ciscosat

* ciscosb fixes + improvements

* comware

* ctm

* cumulus

* cxr-ts

* cyberoam-utm

* cyberpower

* dahua-nvr

* dasan-nos

* datadomain

* dcn-software and fallback oids

* dd-wrt

* dell-laser

* d*

* e* and location

* forti, post processing, oid coalescing

* Freebsd array of sysDescr regex

* finish f*

* g*

* h*

* i* WIP

* i*

* Junos

* j*

* k*

* unix refactor previous to yaml more
inject $device

* fixes

* fixes

* l*

* m*

* n* ability to set other fields in regex
tnmsne polling to eloquent

* o*

* p*

* q* + bonus calix

* r*

* s* WIP

* s*

* t*

* u*

* v*
rework vrp to yaml (hybrid)

* w*

* x*

* z*

* a* easy no-data

* fixes

* style fixes

* missed ApexPlus

* fix signature

* Add missing location data

* rename getDevice functions

* add new cisco ftd data

* update docs

* revert sill snmp format

* fix snmp options

* update for new smartax test data

* rebase dsm

* fix voss
2020-09-18 15:12:07 +02:00
O Palivan
d559ffa9e6 Device support for Tait Infra93 (#12093)
* Mibs

* Tait MIB support for TB9300

* initial

* typo

* Tait suite

* Tait suite

* Tests

* spaces

* yaml def syntax

* spaces

* RSSI name

* spaces
2020-09-17 13:24:53 +02:00
crcro
9026cf54c0 osnexus quantastor initial support (#12045)
* initial release

* fixes

* cleaner snmprec

* updates

* remove legacy files

* updates

* fixes

* cleanup

* test data ... again

* yaml fix and test data

* tests update

* polling temps

* remove unused line

* - hdd temp fix

- tests without ignores
2020-09-13 23:45:11 +02:00
craig-nokia
dda6377424 Add basic support for Emerson Netsure Controllers (#12091) 2020-09-13 23:03:35 +02:00
craig-nokia
b91080df0b Add basic support for GE Galaxy Pulsar Plus Controllers (#12087)
* Add basic support for GE Galaxy Pulsar Plus Controllers

* Add basic support for GE Galaxy Pulsar Plus Controllers

* Add basic support for GE Galaxy Pulsar Plus Controllers

* Modified Gepulsar.php
2020-09-12 01:34:32 +02:00
MARMONIER Cédric
7cd68f7ec6 Ifotec product integration (#12038)
* IFOTEC new product integration

* change source code indentation

* change source code for code climate checking

* change source code for code climate checking

* deletion of an unnecessary line

* add ifotec.php and test units

* forgetting about the previous commit

* modifications of test units

* add a test units

* optimization and add test units

* change SMNP mode request

* source code cleanup and and file for test units

* update .snmprec file

* update json test file

* update json test file

* IFOTEC mib integration

* add IFOTEC mib files

* IFOTEC mib integration for sensors

* cancel $oid2 unset

* delete useless line
2020-09-10 10:38:36 +02:00
Jozef Rebjak
69007a3b83 Updated Support of Smartax GPON OLT (#11719)
* Updated Support of Smartax GPON OLT

* Updated ports from Negatifff PR

* fixed blank line problem

* Added new sysObjectID

* Fixed Port Stats

* fixed line removals

* Update smartax.inc.php

* Update Smartax.php

* Update smartax.inc.php

* Update smartax.yaml

Co-authored-by: Tony Murray <murraytony@gmail.com>
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2020-09-09 16:12:18 +02:00
Tony Murray
000b8e0f7c Improve mib_dir setting consistency (#12069)
yaml os discovery now respects the os mib_dir definition
mib_dir now only allows strings, not arrays
changed schema validation to account for that
consolidated dell mibs, no reason for them to be spread out
2020-09-08 12:55:29 +02:00
Tony Murray
bc1a8b84a4 Fix atenpdu sensors (#12055)
bad MIBs and incorrect skip value specification
2020-09-04 11:40:49 +02:00
Hans Erasmus
13e0da2f0f Expand endrun os support (#12008)
* Expanded EndRun OS Support

* Added forgotten test data

* Fixed Travis' spacing complaints

* Fixed typo

* Fixed typo 2

* Fixed spacing,again

* Split up test data

* Fixed testing data

* Fixed discovery code blunder

* Fixed yaml definitions

* Fixed broken discovery

* Updated discovery definitions
2020-08-17 13:27:07 +02:00
craig-nokia
d29343db71 Nokia 7705 packet microwave (#12007)
* Nokia MW Rx support for the 7705 SAR platform

* Nokia MW Rx support for the 7705 SAR platform

* updated timos.snmprec for wireless

* restored tests/snmpsim/timos_*.snmprec

* Added timos test entries for wireless
2020-08-17 10:33:00 +02:00
Jozef Rebjak
eb2bb4242a Added support for FS NMU (#11965)
* Added support for FS NMU

* travis fix

* another travis fix

* Migrated OS polling to new format
2020-08-05 15:02:47 +02:00
Hans Erasmus
a5bb437216 Added basic EndRun support (#11932)
* Added basic EndRun support

* Fixed spaces as indicated by Travis

* Changes applied as per request and suggestions

Incorporated @murrant's suggestions.

* Update Endrun.php

* Update endrun.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-14 11:22:40 -05:00
KodApa85
a3cd90da05 newdevice: Added support for Fortinet FortiVoice devices (#11914)
* newdevice: added supprot for Fortinet FortiVoice

* Renamed fortivoice yaml file

* Added test date for FortiVoice OS

* Matching Fortinet to be like FortiSwitch

* Corrected test data...
2020-07-08 17:55:50 +02:00
penfold1972
23368faa61 Ciena SDS (#11857)
* Added discovery for temp/dbm graphs for LEOS mibs.

* Cleaned up Typo on Index lines for LEOS MIBs

* Cleaned up Typo for LEOS System MIB

* Added CPU Util graphs for LEOS MIBs

* Added test data and a MIB

* Shortened Index fields

* Update ciena-sds.yaml

* Update ciena-sds.json

* Update ciena-sds.yaml

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-06 15:40:43 +02:00
Adam Bishop
af14b6a73d OS detection for Dell PowerVault MD arrays (#11509)
* OS detection for Dell PowerVault MD arrays

I'm not 100% sure it was worth Dell implementing SNMP - the array
exposes 6 OID's outside of MIBII, and we poll both the useful ones.

At least we get an icon.

* Test data

* Remove polling and discovery module filters
2020-07-05 13:49:16 +02:00
cwispy
8e30541c95 Add support for Aten PE8216 PDU (#11887)
* Add support for Aten PE8216 PDU

* Add support for Aten PE8216 PDU

* Add support for Aten PE8216 PDU

* Revert "Add support for Aten PE8216 PDU"

This reverts commit 5d2f195f28.

* Revert "Add support for Aten PE8216 PDU"

This reverts commit ebfd659775.

* Fixed integer issue with skip_values

* More integer changes

* Add json file

* Fix yaml file

* Setting modules like that reduces user control

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-05 00:20:12 -05:00
TheGreatDoc
dd8844980f Move qnap to yaml discovery + extended discovery (#11882)
* Move qnap to yaml discovery + extended discovery

* Fix pre-cache
2020-07-01 06:53:59 -05:00
Derova
c606659e11 Added support for Integra E radios (#11871)
* Added support for Integra E radios

* Update saf-integra-e.json

* Update saf-integra-e.inc.php

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-06-30 16:12:00 +02:00
Joost van Voorst van Beest
ef2ae7ddb8 Added initial simple support for Jacarta InterSeptor environmental monitoring device. 2020-06-15 14:02:28 +02:00
Hans Erasmus
f8e8dfe3a5 Gigamon GigaVUE basic support (#11824)
* Gigamon GigaVUE basic support

* delete os/gigavue.inc.php it is not used

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-06-14 21:05:54 +02:00
PipoCanaja
35b4e1459e Arista VRF discovery support (#11421)
* arista vrf discovery
* more mibs
* tests
* codeclimate
2020-06-08 14:29:18 +02:00
O Palivan
53e9579ae9 Added Packetlight PL2000 support (#11782)
convert Watts to Dbm and call user_function on limits
dbm graphs summary
pl1000eTests update
Tests OK
2020-06-05 20:58:34 +02:00
Josh Baird
aa4f6ff989 Add OS support for Aviat WTM (#11654)
* Add support for Aviat WTM

* Remove sleeps

* Rename MIBs

* Remove old MIBs

* Fix mystery tabs

* 4 spaces, not 2

* Bybebye, whitespace

* Moar whitespace

* Update AviatWtm.php

* Update aviat-wtm.yaml

* Delete aviat-wtm.inc.php

* Update aviat-wtm.snmprec

* Update aviat-wtm.json

* Update AviatWtm.php

* Update aviat-wtm.json

* Update AviatWtm.php

* Update aviat-wtm.json

* Update AviatWtm.php

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-31 16:19:07 -05:00
PipoCanaja
d308af07c1 Added TPLINK vlans support (#11697)
* tplink vlans

* codeclimate
2020-05-30 18:39:15 -05:00
PipoCanaja
f4c2ca8d24 New Device: Paradyne SHDSL modems (#11679)
* paradyne

* paradyne logo

* tests

* Update paradyne.svg
2020-05-30 18:41:23 +02:00
mattosem
8169adf784 New Device: PowerTek/BladeShelter PDU support (#11731)
* Added PowerTek/Bladeshelter PDU support

* Corrected SVG

* Added test data

* Rename SPSv1-MIB.mib to SPSv1-MIB
2020-05-30 18:25:13 +02:00
Bukowski
bb2ac27a1d Add Papouch Quido Device (#11605)
* Create QUIDOQ-MIB

* Rename QUIDOQ-MIB to QUIDOS-MIB

* Create papouch-quido.yaml

* Create papouch-quido.yaml

* Add additional match data and over graph

* Create papouch-quido.snmprec

* Create papouch-quido.json

* Update papouch-quido.yaml

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-26 12:02:49 -05:00
PipoCanaja
a44cdc2f45 Add WAN (3/4g-LTE) support on Huawei AR family (#11619)
* 3g-LTE WAN stats

* Get HW name on AR16x family

* serial for AR

tests

* enable snmpsim log

* Update bootstrap.php

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-24 15:57:06 -05:00
footstep86
91c04a1d54 Added FortiMail support (#10895)
* Added FortiMail support

* Added FortiMail support

* Update fortimail.inc.php

* optimized discovery

* Syntax change

* Added test data

Co-authored-by: Neil Lathwood <gh+n@laf.io>
2020-05-24 15:45:14 -05:00
footstep86
06c991ef57 Added FortiAuthenticator support (#11633) 2020-05-24 11:55:54 -05:00
footstep86
9f82079e2c Added FortiSandbox support (#11593) 2020-05-23 21:41:02 -05:00
Maikel de Boer
b3f78ec510 Vendor Dantherm (#11603)
* Build support for Dantherm CC3000 Cooling Controller

* add missing files + test data

* Create dantherm-os.json

* Update dantherm-os.json

* Update dantherm-os.yaml

* Update dantherm-os.yaml

* Update dantherm-os.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2020-05-23 18:51:34 +02:00
footstep86
b71d933ac9 Updated FortiWeb support (#11632) 2020-05-21 15:14:56 -05:00
Dan Baker
77b87cbb61 Updated Waveserver MIBs and fixed interface naming (#11646) 2020-05-20 17:36:07 -05:00
Dan Baker
cbb0b5219e Added support for Ciena service delivery switch family (#11636) 2020-05-19 14:37:58 -05:00
Tony Murray
b573c9ef73 Implement OS specific information discovery (#11446)
* Implement OS specific information discovery
That way it doesn't have to be fetched during polling
Also improve discovery process, os is only detected once, in the core module.
EXA is the test os, a couple improvements there.

* Use local variable, then unset it so we don't pollute.

* fix style issues

* test and other fixes

* attribute update fixes

* Update exa data, need new source data

* null missing "os" values

* fix ftos odd character

* fix ftos odd character

* only null for new style or we will reset to null every discovery

* Move device observer to own class

* Handle location, relocate event logging

* update exa e7-2 data

* update ird test data, apparently unicode is now working.

* update Linux ntc, now uses correct icon

* Only load all os on the web, also, we can't load existing the the database isn't connected.

* only for devices that have a location

* revert ftos test data apparently

* revert ird
2020-05-14 11:27:59 -05:00
Alexander Moisseev
25330646f6 New OS: QTECH (#11556)
* New OS: QTECH

https://www.qtech.ru/en/catalog/

* QTECH: Add hardware, version and serial support

* QTECH: Fix platform and software version detection

* QTECH: Add test for QSW-3450
2020-05-06 23:34:02 +02:00
Vitali Kari
1108f7d530 MPLS updates and bugfixing (#11468)
* MPLS updates and bugfixing

* Tests

* tests

* code climate, tests

* tests

* tests

* remove nokiaIfName(), fetch ifName from the database instead

* restore from messed rebase

* tests

* btw, fix travis about the missing docs

* tests

* tests

* clean the messed up test data an generate new for timos

* rebase
2020-05-01 23:05:51 -05:00
Adam Bishop
83dd1f0a16 Detection, sensors and zpool/dataset usage for FreeNAS, TrueNAS (#11474)
It's also possible to do zpool IO from the MIB, but diskIO on
LibreNMS makes a lot of assumptions about it coming from the UCD
MIB.

This changeset adds detection for FreeNAS and TrueNAS - despite
having their own enterprise number, the snmpd uses the FreeBSD
one.

The naming is a bit all over the place, because this reflects
reality - IXSystems produce FreeNAS and TrueNAS, the product lines
have merged to eliminate FreeNAS, but TrueNAS still calls itself
FreeNAS everywhere except the GUI.
2020-04-27 17:23:44 +02:00
Adam Bishop
3690ca4928 Add OS detection for Greenbone appliances (#11464)
* Add OS detection for Greenbone appliances

They don't expose anything fancy over SNMP, but this makes them
display interface names correctly. Under the hood they're unix-y.

Greenbone logo is from the AGPLv3 gsa, which is GPL compatible:
https://github.com/greenbone/gsa/blob/master/gsa/public/img/greenbone.svg

The mib is included for completeness, but it doesn't expose any
graphable values.

* Fix the vendor's logo
2020-04-26 13:11:49 +02:00
Adam Bishop
b7b298806f OS detection and sensors for Dell Compellent (#11467)
* OS detection and sensors for Dell Compellent

... or Dell storage as it is now known. Under the hood it's
referred to as Compellent, so I've named it as that to avoid
confusion.

It is not part of the Dell group or using the Dell MIB folder -
Dell have doubled up on some OID definitions, which means the MIB
here and a couple of the existing ones conflict.

The change adds OS detection and a frankly ludicrous amount of
sensors. I have access to a relatively low end device, so at the
moment everything under *ctlr* is my best guess based on the other
table layouts.

* Set sensor state_name to avoid collisions

* Regenerate test data
2020-04-23 22:58:22 -05:00
Wheel
59222847b9 Ubiquiti Airfiber LTU many more sensors (#11382)
* Update AFLTU mib

* Airfiber LTU details

* More detailed graphs for Ubiquiti AF-LTU

* Travis fix

* Cleanup and Modulation change

* Ethernet port status

* SNMPrec

* SNMP data json
2020-04-22 01:30:35 -05:00
mathieu-oui
5c52403dd1 Fix PanOS Sessions count and add Vsys and other sensors (#11341)
* fix panos sessions and sslproxy

* add test file

* update mibs

* add tests

* test correction

* delete useless line

* correction

* correction mib

* Add additional sensors

* test data

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-04-22 01:27:54 -05:00
Jozef Rebjak
bb9ebb4e45 Added support for Peplink Pepwave & FusionHub (#11432)
* Added support for Peplink Pepwave & FusionHub

* Travis fixes

* Another Travis fixes

* Travis fixed

* Travis fixes

* Update peplink.svg

* Resolved reviews

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-04-19 10:28:21 -05:00
Mikkel Mondrup Kristensen
212c9aad95 Add support for Advantech switches (#11415)
* Add Advantech logo.

Taken from https://commons.wikimedia.org/wiki/File:Advantech_logo.svg
with minor edits (removed width and height).

* Add Advantech MIB files.

* Add Advantech definitions.

* Add suppor for version and hardware polling.

* Add advantech snmp recording.

* Add sensors for SFP ports

Each SFP will have temperature, voltage, tx bias, Tx/Rx power.
Also update snmp recording to include new data.

* Rename ADVANTECH-EKI-PRONEER-MIB_1_01.mib to ADVANTECH-EKI-PRONEER-MIB

* Rename advantech-common-mib.mib to ADVANTECH-COMMON-MIB

* Update advantech.yaml

* Update advantech.svg

* Create advantech.json

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2020-04-14 11:05:22 +02:00
Noah Roufus
e37417e6c2 Added support for ICT Modular Power System and ICT Sine Wave Inverter (#11182)
* Added support for ICT Modular Power System and ICT Sine Wave Inverter

* Added SNMP test data for ICT Modular Power System and ICT Sine Wave Inverter

* Fixed styling errors and refactored state sensor for ICT Sine Wave Inverter

* Fixed newly created styling issues from refactoring ICT Sine Wave Inverter files.

* Fixed further styling errors from previous changed to appease Travis CI

* Removed unnecessary math from ICT Sine Wave Inverter voltage sensor

* Cleaned up unnecessary lines in ict-mps/ict-swi sensors. Moved from snmp_get to snmp_get_multi in ict-mps/ict-swi os pollers.

* Added test data for ICT MPS and SWI

* Fixed issue with load sensor not discovering

* Update snmpget to snmp_get

Co-Authored-By: Jellyfrog <Jellyfrog@users.noreply.github.com>

* Updated test data post-fixing sensor detection issue on ICT Sine Wave Inverters

* Moved ict-swi and ict-mps from legacy to yaml sensors

* Removed legacy code for ict-mps and ict-swi sensors

* Last commit mistakenly removed OS polling from ict-mps and ict-swi

* Fixed formatting for OS polling and updated test data for ict-mps and ict-swi

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2020-04-12 10:42:57 +02:00
dneto82
9859e165d3 Updated MIB from Palo Alto (#11402)
Official Documentation:
https://docs.paloaltonetworks.com/resources/snmp-mib-files.html
2020-04-12 10:33:12 +02:00
PipoCanaja
3fb46710a6 Added support for RIEDO data concentrator (#11237)
* Riedo E3Meter DataConcentrator

* Riedo E3Meter DataConcentrator Image

* logos

* name

* Freq + Power

* Power

* Tests + standalone riedo mib

* tests
2020-04-10 13:24:49 +02:00
PipoCanaja
07d4da21ca Add support for Ascom IPBS (#11308)
* ascom support

* tests

* typo

* Correct missing 'mpls' in misc/os_schema.json

* remove mpls for now

* tests

* Update ascom.svg

* Don't disable already disabled modules

As I usually state, not much gain in disabling these here.   Would be better to optimize the modules if you think they take too long on devices that don't have support.

* refactor polling code

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-04-10 13:21:25 +02:00