* Add support for Forcepoint NGFW 6.10 and older
* Update forcepoint_forcepoint-ngfw-330.json
* Proc. discovery fix
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
Draytek use a custom OID to define their devices memory usage, defined here: https://www.draytek.com/support/knowledge-base/5517
This commit includes a mempool definition with the new memory OID `1.3.6.1.4.1.7367.3.7` and relevant LibreNMS tests
* Added models in hirshmann definition file
* Added Hirschmann_ms4128.snmprec to ~/tests/snmpsim
* Generic SysObjectID
* Some devices are not replying with all the table data
* fix tests accordingly
* add more sensors
* Move Temperature to YAML
Discovery and polling are currently buggy, this will fix it and make it capable of handling more than one temp sensor.
History of temperatures will be lost here.
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* fix regex for hardware and version
* updated test data
* Update hwg-ste2.snmprec
* Create hwg-ste2.json
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* Added support of new OS for NTP/PTP systems:
- support of Meinberg microSync OS (mbg-meinbergos)
- support of Safran (Orolia) SecureSync OS (orolia-securesync)
- support of Adva OSA (5401 and 5412) OS (adva_fsp150cm)
* Fix Safran (Orolia) images
* Added Test-unit JSON files
* Changed SVG images
* Changed SVG images
* Changed SVG images
* Update Zyxelnwa.php
Discovering wireless clients on all bands
* Update ZYXEL-ES-WIRELESS
Replace '_' by '-' as it is a bad practice to use underscores in values
* Update Zyxelnwa.php
* Update ZYXEL-ES-WIRELESS
* Update zyxelnwa.snmprec
* Create zyxelnwa.json
* Update Zyxelnwa.php
* Update zyxelnwa.snmprec
* Update ZYXEL-ES-WIRELESS
* Update Zyxelnwa.php
* Update zyxelnwa.snmprec
* Update Zyxelnwa.php
* Update Zyxelnwa.php
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Fix Fortinet HA status polling
* Test data
* Update fortigate.inc.php
* Update fortigate.inc.php
* Update all test data
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Adding basic support for Datacom DmOS devices.
Adding basic support for Datacom DmOS devices. These devices includes OLTs and Switches developed by Datacom (Teracom Telematica Ltda):
https://www.datacom.com.br/en/produtos/dmos
All the product models which uses this OS (DmOS) have the same specific sysObjectID = .1.3.6.1.4.1.3709.1.2.137 So new future devices will also have this OID.
* Rename DMOS-SYSMON-MIB.mib to DMOS-SYSMON-MIB
removing extension ".mib" from the filename
* Rename DMOS-TC-MIB.mib to DMOS-TC-MIB
removing extension ".mib" from the filename
* JSON files
json files related to the snmprec files sent in an earlier commit.
* Update dm4770 test data
* Fix mib_dir
* Update datacom-dmos.yaml
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Add support for FiberStore "data center" switches
FiberStore has two different model lines of switches, and this adds
support for the "data center" line. This was configured and tested
against the N5860-48SC model.
The MIBs are from FiberStore's website, with the exception of the
FS-FIBER-MIB (the website version is a little behind the software, so
support sent me an updated version and should be getting it published
soon).
This does not currently handle 4x10 or 4x25 QSFP+ light levels, as I
don't currently have any to test against.
* Add test data for fs-switch-dc
This is from a production switch, with data filtered to just the
FiberStore enterprises OID.
* Update fs-switch-dc_fs-switch-dc.json
* correct processors warn field name
* Update fs-switch-dc_fs-switch-dc.json
* Update fs-switch-dc.yaml
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Added values from SFP DDM's
* Added tempreture as well
* Fixed indention and generel code style
* Update awplus.inc.php
* Fixed coding style
* More code style fixes
* More style fixes
* Test data
* Test data that only contains/matches the sensors added.
* rework
Sorry for the long waiting time. I've made some tests and found that the value 0 should be ignored anyway because some Cisco switches report a non-existing fan with a speed of 0 which causes several errors when adding e.g. a fanless switch. Therefore I would like to suggest to keep the skip_value for this case.
I've also seen no more fan flapping with the most recent switch firmware so maybe Cisco has fixed something internally.
* Fix Test Data sg350x-24p
* Corrected other ciscoSB-Test data
Corrected other ciscoSB-Test data
* Removed ciscosb generic test data
This snmprec behaves different for my test system and the git checks. In addition the model is missing.
* Reverted cbs250 testfile
For some reason the generated test file contains errors. Reverting
* Weired fix
* Fixed weired update
* Recreated snmp data for cbs250
Recreated snmp data for cbs250
* updatet test data
Reworked Test data with most recend version
* Removed unused SNMPsim-Data
the ciscosb_x snmpsim Data are not used. Most device types are covered with the other test data. SRW-Switch line is currently not fully working. I have such an old device I'll add test data in the future.
* Recaptured cbs250 Test Data
* Renamed cbs250 test data
I have the impression that the online test somehow does not reload the snmprec data correctly. Therefore I rename it to make sure it handles it as a new device
* Removed VLANs
* Removed Farenheit to Celsius conversion
It seems that with the most recent version cisco reports the temperature in C. https://community.librenms.org/t/cisco-cbs-350-reads-wrong-temperature/22038
* Fixed wrong copied data
* Altered warning limit to CLI-values
* Added snmprec data back
Added snmprec data back
* Add FortiGate Environment stats
Adding Temperature, Fanspeed and Voltage sensors
* Fix test data
* New test data
* Update fortigate test data
* 500d ospf ifIndex
* 60f3g4g bgpPeerIface null
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Add support for Fujifilm printer
* Add support for Fujifilm printer
* fix Fujifilmprinter.yaml
* Add Fujifilm printer test unit
* remove snmprec supply descr contains utf8 character
* fix discovery yaml
* Freenas zpool improvement
Don't try to multiply two strings (cast units to int)
No need to double fetch database entries to check if it exists.
Only poll zpoolUsed to speed up polling
* Block zpool usage on new devices, they dropped support.
TRUENAS-MIB included for reference
* Fix polling, update test data
* UCD buffers and cache discovered with inverted free/used values
(polling was correct)
* UCD Discovery was also double calculating "available"
* update test data
* Apply fixes from StyleCI
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
* Menu and title use displayname
* Fix empty strings
* Fix array creation
* Use groupby instead of loop
* Change one forgotten var
* Revert to working simple changes
* Change test data to include displayname
* Fix bad copy paste in test data
* Add support for Nokia 1830 PSS Optical gear
Tested against 1830 PSS-8 Chassis, in single and multi-chassis configurations
Supports Optical Power, temperature, current, power, and a variety of card states, alarms, and trail status.
Of note: With multi-chassis nodes, reading values from the non-master can be a "slow" process, slow in that the default timeout Libre ships with can cause the SNMP client to begin issuing retries. This can result in the chassis daemon rate limiting and/or blocking the client. The solution here is to raise the SNMP timeout within each device's configuration; unfortunately those values are not configurable on a per-OS basis (at least not at this time).
* Removing Unused / Duplicate MIBs
* SnmpQuery runtime cache
Optionally cache the SnmpResponse from queries for the rest of the runtime.
It would be nice to have cache hits for these to help prevent wasting memory caching data that is only used once.
Key data must match: device, context, options, oids
* Apply fixes from StyleCI
* Add command to the cache key
* Caching in the wrong spot, cache individual commands...
* Apply fixes from StyleCI
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
* IP::fromHexString handle ascii
Some bad MIBs convert the hex to ascii on display.
Attempt to decode that if the situation is detected.
fixes#15501
* add ascii tests
* Ports min polled period of 1
Prevent divide by 0
Use Mac utility
* fix bad snmprec for airos-af-ltu
* Update a large amount of invalid mac addresses
either the script is capturing them wrong or users are mangling them
* More updated test data
* Update test data with bad input
* Fix ones using encoded <private> and attempt to fix capture
* Update awplus data
* restore missing data
* update other DNOS
* Fix ones using encoded <private> and attempt to fix capture
* Fix ones using encoded <private> and attempt to fix capture
* fix typo
* Update some data
* update data
* update ruijie
* modifications needed for update of VALERE-DC-POWER-MIB with new file ELTEK-BC2000-DC-POWER-MIB
* add test results for BC2000 post update
* updated test file data
* re-upload of updated files
* reverted valere.json to defaults and recreated with proper varient .json
* replace vpwrShelfIndex with vpwrBayIndex
* updated test data
* Update test data
* try again valere_bc2000.json
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Ports module fix nulls not updating
* Fix broken test data
I'd like to see how it came out broken in the first place, but I don't have access
* Update json data
* Fix fortivoice snmprec
* Fix scs-ks
* Fix bad siteboss550 data
* Refactor MAC utils to a new utility class
* Apply fixes from StyleCI
* Inline functions
Add tests
Handle bridgeid format
* Apply fixes from StyleCI
* Dedicated code path for stp bridge parsing, and improve STP output a bit
* Correctly parse dot1dBaseBridgeAddress and don't store int in bool field
* trim any unexpected character from bridge addresses, add extra test data.
* better comment
* barsBridge can handle dot1dBaseBridgeAddress correctly now
* parseBridge, check for properly formatted mac first.
* update test data, empty data = empty mac
* Fix new usage after rebase
* import
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
* Vmware vminfo
Remove legacy file and migrate to OS discovery
* tighter
* ios_stp-vlans working correctly now
* Make vmwVmGuestOS nullable
* Discover os info too
* VM Info module
* Apply fixes from StyleCI
* Fix log severity
* Fix log severity (more)
* VM Info module
* Poll with ESXi too because it is lightweight
add test data
* poller data now too
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
* Remove snmp functions that are barely used
Replace them with SnmpQuery calls
* Apply fixes from StyleCI
* Fix missing namespace
* Import Oid
* No more variables left may be repeated multiple times at the end with snmpsim, remove them all
* update data fixed by SnmpResponse bugfix
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
* Added grouping on the Voltage displays
Added groupings to better show which voltage and current variables that belongs together.
* Update enexus.json
* Update enexus_eltek-smartpack2-syst.json
* Update enexus_enexus.json
* Update enexus_smartpacks.json
* Update enexus_smartpacks2.json
* Update enexus_sp2touch.json
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>