This adds a MIB from the Baicells website, lightly modified
(s/BAICELLS-MIB/BAICELLS-CPE-MIB), and yaml files for LibreNMS. Currently OS
detection works, but sensors are reporting '0'.
I can easily get the data with snmpget, so I know that part is working. The
issue I'm seeing looks like the {{ $index }} substitution in my sensor yaml
isn't being filled out. Here's some example output from poller.php that backs
this up:
```
.1.3.6.1.4.1.53058.2.2.7.: Unknown Object Identifier ()
.1.3.6.1.4.1.53058.2.2.8.: Unknown Object Identifier ()
.1.3.6.1.4.1.53058.2.2.12.: Unknown Object Identifier ()
.1.3.6.1.4.1.53058.2.2.13.: Unknown Object Identifier ()
```
* adjustments to baicells od04
* undo modification to mib
* add original unmodified mib, tweak yaml, add time conversion function
* added baicells od04 snmprec
* skip invalid values
* Rename baicells-od04.snmprec.txt to baicells-od04.snmprec
* Update and rename BaiCE-BM-2.5.23_SNMP_MIB-CAT4.txt to BAICELLS-MIB
* Update baicells-od04.yaml
* Create BaicellsOd04.php
* move userfunc into OS
* style
* squash php casting warning
* missing static
* style
* fix {{ $index }}
* Create baicells-od04.json
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* Create ArubaosCx.php
* Create arubaos-cx_nac.snmprec
* Remove un-needed "use" lines
* Add spaces for formatting
* Add blank default values if information is not present
For table entries that do not have a value, add a fallback to a blank string, following the lead of other OS files
* Changing return types for vlan to match column type
* Delete indents on blank lines to please the formatter
* Create arubaos-cx_nac.json
* Update arubaos-cx_nac.json
* fix authz_status missing value
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* Add entity physical test data
* Fix voss_8608 accidental character
* Non-ascii character... unsure about this one.
* Fix bad types on test data.
* Fix bad types on test data.
* Updated test data since snmprec is repaired a bit
* More fixes
* Fixup more bad data
* Extra null byte removed
* Add missing info
* Fix bad data
* Update siteboss571.yaml - Tidy up descriptions and fix current sensors
Fix issue with current sensors 1.1 and 200.1 - these were being overwritten with the per-module sensors due to overlapping IDs. insert extra index definition for each type. this is a breaking change that will cause new RRD files to be created for the current sensors with the new index names.
* Update siteboss571_siteboss571.snmprec
update test data
* Update siteboss571_siteboss571.json
* Revert "Update siteboss571_siteboss571.snmprec"
This reverts commit b767dbc91b.
* Revert "Update siteboss571_siteboss571.json"
This reverts commit a144078ed8.
* Create siteboss571_siteboss571-2.snmprec
* Remove Siteboss571 PHP detection, add new json test output
* Update siteboss571_siteboss571.json with new discovery
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* 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
* 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 to new HP-DOT1X-EXTENSIONS-MIB
* Add NAC support to Procurve OS
* Fix code style issues.
* Fix more code style issues.
* Fix code style issues. For real this time.
* Update HP-DOT1X-EXTENSIONS-MIB dependencies.
* use ::table(2) rather than reinventing the wheel.
* Fix the code style issues.
* Lancom SNMPrec
* Lancom test data
* Lancom MIBS
* Lancom discovery
* Lancom LX/SX support
* Lancom
* Style CI
* Delete tests/snmpsim/lcossx_gs3510xp.snmprec
This device returns all possible vlans as interfaces, so we get roughly 4k interfaces. This makes the test file too big (>25M). Deleting this device as test data
* Update Lcossx.php
* New Lancom logo
* Remove height/width attribute
* SVG
* Add files via upload
* Added MIB file CISCO-RTTMON-ICMP-MIB to Cisco collection
Query rttMonLatestIcmpJitterOperTable when polling SLAs
Extended icmpJitter parsing to allow retrieval of jitter related data from multiple locations in MIB tree
Fixes#15658
* Appended snmprec data to testdata
* Update iosxe_c9300.json
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* 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>
* 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>
* 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>
* 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>
* Refactor poller to allow modules to run even if the device is down
Include core in config (but not webui) to avoid silly shenanigans
Inject datastore into polling
* Needed to split datastore interface
* Cleanup some data_udpate() references
* Apply fixes from StyleCI
* Fix legacy poller :D
* Output to the correct stream
* Fix lint issues
* Apply fixes from StyleCI
* Fix discovery not including core and submodule handling
* Use whereRaw
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
I added Server 2022 and Windows 10/11 22H2 (and a few other popular but older windows builds that people might still have in use).
I also propose changing the naming of windows machines to better reflect the release and version of windows. This naming is derived from this page: https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
For example, for Windows Server it was previously set to something like 'Windows Server 2019 1809 (NT 6.3)' which is incorrect as MS stopped using NT 6.3 since Windows 10 version 1507. Now it'll display as 'Windows Server 2019 (1809)'. The kernel/version is in parentheses and isn't also in the main part of the name as it's redundant/duplicated information.
* Fix error when missing poller data
* Apparently impossible to detect regex without error, so require regex always. Update docs.
* Apparently this adva code is garbage :D
* Missing count sensor type
* Processor handle missing input
* Handle missing ifName a little better
* Yep, ports module is a dumpster fire. Attempt to clean up some.
* apparently os yaml trying to replace on non-existent fields
* Might as well define all sensor type units
* revert previous fix, real issue was vlans module does not have polling.