Commit Graph

823 Commits

Author SHA1 Message Date
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
arrmo
280e010286 Updates to Brother Printer (#11532)
Fixes issues observed in LibreNMS (timeouts, missing data)
Manual snmpwalk vs. snmpbulkwalk confirmed no bulk support
Missing toner, network, etc. information now seen in LibreNMS!
2020-05-06 23:30:35 +02:00
Adam Bishop
35c32609c9 Move packet journey counters from linux to packetjourney (#11550) 2020-05-04 18:59:08 -05:00
Karl Shea
e7b371e1c7 Restore applications in TrueNAS (#11546)
I have several applications configured in FreeNAS using SNMP extend, and because of this definition every time the device is discovered they are force-disabled.
2020-05-04 06:28:15 +02:00
Adam Bishop
ce8de5cb18 Support FreeNAS/TrueNAS 11.3 (#11494)
* Support FreeNAS/TrueNAS 11.3

Seems the latest release changes the SysObjectID from FreeBSD to
their own enterprise number.

I've left the old FreeBSD enterprise number in place, so both
older and newer releases will be detected.

* Test data
2020-04-28 15:50:00 +02: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
gonzocrazy
eb76218127 Opengear add mempool discovery+polling (#11491)
* opengear MemPools

Discovery and Polling of opengear mempools - opengear Detail Memory Usage is already collected however that can not be used to trigger rules.

* add test

opengear mempools tests

* remove newline
2020-04-27 09:04:57 +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
Adam Bishop
4c14efb375 Fix routing engine discovery on standalone JunOS devices (#11381)
* Fix routing engine discovery on standalone JunOS devices

In #9426, the sensor discover code was replaced with YAML.
Unfortunately it treats the FRU table as standalone OIDs, and did not
implement the filtering that was present in the original code.

This change causes LibreNMS to fully walk the FRU table, which allows us
to silence alerting on devices with an 'unknown' status. Without this
change, standalone devices have a spurious routing engine with state 1,
which triggers false harware failure alerts.

As we're changing the name of the sensors, this causes a loss of sensor
history.

This has been brought up on community a couple of times:
  https://community.librenms.org/t/juniper-qfx-routing-engine-state-alert/6152
  https://community.librenms.org/t/spurious-failed-routing-engine-from-some-junos-devices/6208

* Update test data

* Update test data

* Update test data

* Update test data

* This syntax works, but fails linting
2020-04-22 01:23:51 -05:00
Johannes Lundeteg
c917de6fe1 Added Cisco Firepower 1010 (#11449) 2020-04-21 12:43:15 -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
PipoCanaja
d67b34b934 Added device Netvision with rfc1628 support (#11426) 2020-04-16 09:12:24 +02: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
Martin22
c4ee93c954 Fixed skip value for temperature (#11414) 2020-04-14 00:12:55 +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
That Guy --^
0e5a6f90ef update definition for devices running VyOS so they're discovered as Unix devices and can have sensors discovered (#11390) 2020-04-11 13:57:00 -05: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
Martin22
820a98bdcb Added skip values for older devices without temperature sensor support. (#11387) 2020-04-08 09:29:37 +02:00
Martin22
c379fee161 Add support Ray3 (#11374)
* Add support Ray3

* Create ray3.json

* Fixed copyrights, comments and move MIB file.

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-04-05 17:13:22 +02:00
Jozef Rebjak
ad58cc6db9 Added Support for AirConsole Servers (#11302) 2020-04-01 22:51:36 -05:00
Martin22
df95b771b2 Device: Added IMCO POWER (#11296)
* New device IMCO POWER

* Add other outputower sensors

* Fix description sensor battery voltage

* Fix num_oid load sensors

* Index added

* Added test data

* Fix svg file

* Change image svg to png

* Fix yaml and change image size

* Fix permission .gitignore file

* Fix permission

* Fix state
2020-04-01 20:22:14 +02:00
ospfbgp
d4aa45039c Add support for VOSS switches VSP-7400-48Y-8C and VSP-4900-48P (#11360)
* Update voss.yaml

* Update xos.yaml
2020-03-30 19:40:57 +02:00
Kevin Zink
ae4dae533f Cisco-Remote-Access-Monitor (#11355)
* Cisco-Remote-Access-Monitor

* add asa
2020-03-29 14:32:52 +02:00
chrisocalypse
906c337cb7 Added support for Cisco Firepower FTD 4140 (#11345) 2020-03-25 14:19:13 +01:00
cjwbath
a70313f3ee Sonus became Ribbon Communications - update logos (#11339)
* Sonus became Ribbon Communications - update logos

* minify

* Update ribbon.svg

* Create ribbon.svg

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-03-24 11:00:33 -05:00
Wheel
3e0e359f5b Ubiquiti Edgepower OS definition (#11315)
* Initial adding Ubiquiti EdgePower sensors

* Initial adding Ubiquiti EdgePower sensors

* Create airos-ep OS

* Added sensors

* Travis

* Added test / snmprec data

* Codeclimate

* minors

* Update ubnt.inc.php

* Update UBNT-EdgeMAX-MIB

* Update ubnt.inc.php

* Change Airos to EdgeOS

* Add forgotten files

* Test data

* Change os yaml

* Travis

* Update edgeos-ep.inc.php

* Create edgeos-ep.json

* Update edgeos-ep.yaml

* Update ubnt.inc.php

* Update airos.yaml

* Battery and PSU quantity not beeing displayed

* Rerun OS tests to generate json file

* Add high low temp values recommended by factory

* Add high low temp values recommended by factory

* Travis

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-03-24 09:13:04 -05:00
lucadefazio
1f37a07c36 Added cisco firepower threat defense 1120 (#11336)
added cisco firepower threat defense 1120
2020-03-24 12:53:24 +01:00
Brock Richards
36e2dc4bdc Updated OS for Cisco FirePOWER devices (#11276)
* Added additional Cisco FirePOWER device ID's for 2100 series

* Fixed spacing, my msitake

* Added support for FTD Virtual and FTD 4110 modules
2020-03-11 23:54:58 +01:00
Tony Murray
746112acc4 Update Sophos detection (#11275) 2020-03-11 15:50:27 +01:00
Chewza
c69187ef5c Add support for Cisco SX350X-24 (#11272)
This is a simple OID addition for the Cisco SX350X-24.
2020-03-11 14:39:31 +01:00
Jay Shepherd
34924f6ad3 Add device support for SilverPeak (#11270)
* Add Silver Peak VXOA Device

Rename MIB Files
Update to use snmp_get_multi

* Add test data for Silverpeak
2020-03-10 22:48:20 +01:00
Brock Richards
063cee7b4a Added additional Cisco FirePOWER device ID's for 2100 series (#11260)
* Added additional Cisco FirePOWER device ID's for 2100 series

* Fixed spacing, my msitake
2020-03-09 22:53:38 +01:00
FingerlessGlov3s
dcc6b9ac0b Update OPNsense definition due to incorrect OID on second detection method (#11265)
* Update OPNsense snmprec, with real data

Update OPNsense snmprec, with real data.

Data from OPNsense 20.1.2 (Latest release at time of commit)

* Update OPNsense definition due to incorrect OID

sysObjectID is incorrect for OPNsense should be .1.3.6.1.4.1.8072.3.2.8.  for this snmpget detection to work.
This has been tested in my environment with 2 OPNsense Firewalls.
2020-03-09 20:45:47 +01:00
PipoCanaja
c4eb412e2e Collect average server CPU usage on Huawei RH servers (IBMC) (#11236)
* add average server main CPU(s) usage

* tests
2020-03-08 17:30:14 +01:00
Kevin Zink
3567386c48 Add Device: Innovaphone (#11225)
* Add Device: Innovaphone

* fix typo

* Move mib to subdir and Refresh testdata

* Fix typo

* Fix discovery index

* force test re-run

* Cleanup

* image

* Update innovaphone.yaml

* Update innovaphone.json

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2020-03-06 23:33:31 +01:00
PipoCanaja
baee55a248 Fix "inteno" and "quanta" OS collision (#11238)
* fix quanta collision

* CLA broken again
2020-03-03 23:13:15 +01:00
PipoCanaja
6a3f321b69 Added support for Inteno devices (#11229)
* MIB

* fixMib

* sensors

* sensors

* cleaning

* tests
2020-03-03 09:45:22 +01:00
PipoCanaja
269f64084a Store OLD-CISCO-xxx-MIB files in their directory (#11228)
* Old Cisco Mibs

* Cisco MIB Cleaning

* dummy commit to force CLA to run again
2020-03-02 09:10:06 -06:00
pepperoni-pi
c25551ac98 IOSXE ignore macSecControlledIF and macSecUncontrolledIF ifTypes (#11214)
* Added bad_iftype to iosxe.yaml definition

* Update Configuration.md

Updated file location from includes/defaults.inc.php to misc/config_definitions.json and added an example of OS specific bad_iftype entries.

* Added OS Specific example for ignoring interfaces and updated file location.

* Updated bad_if selection documentation
2020-02-27 14:50:36 -06:00
FingerlessGlov3s
fe9deb9b9c Additional Open Sense detection (#11196)
* Update opnsense.yaml - too add discovery method

Update opnsense.yaml for new OPNsense OID called version.
This will help with detection after the user turns on "Display Verion in OID" within OPNsense

* Re-order to reduce snmp-scan.py time

First, check sysDescr for OPNsense.  Then if sysObjectID is 1.3.6.1.4.1.12325.1.1.2.1.1, run an snmpget

* Create opnsense_1.snmprec

Make up test file since data was not supplied

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-02-25 20:28:22 -06:00
PipoCanaja
3742e4f7ac Add basic support for PICA8 devices (#11185)
* mib

* os_support

* polling

* tests

* codeclimate
2020-02-26 01:28:56 +01:00
PipoCanaja
13e6a38ee4 Added Cambium PTP670 (#11186)
* cambium PTP670

* Wireless data

* space

* space
2020-02-26 01:28:40 +01:00
PipoCanaja
15d2d9851a Move FOUNDRY mibs into their folder (#11126)
* Clean Foundry MIBS

* Clean Foundry MIBS
2020-02-12 18:21:53 +01:00
PipoCanaja
23b589a6c7 Move JANITZA mibs into its folder (#11125) 2020-02-12 18:21:18 +01:00
PipoCanaja
385f5e0bc1 device: Support for Teldat routers (#11118)
* teldat base

* HW and version

* tests

* typo

* typo
2020-02-09 15:28:15 +01:00
Kevin Zink
f8ce4df0f8 Add Janitza Power Sensors (#11110)
* Add Janitza Power Sensors

* Fix testdata from previos bug
2020-02-07 09:11:46 +01:00