Fix upstream stupidity. They required 32bit in 2.0.0, but didn't mark it then released 2.0.1 to fix that, but didn't pull 2.0.0.
Add explicit requirement for <2.0 to avoid the whole mess for now. But that means we'll have to fix it down the road again.
* Adding support to Infortrend DS3016
* Adding snmprec for Infortrend DS3016
* Delete tests/snmpsim/DS_3016.snmprec
* change of the infortrend logo
* add the infortrend logo
* Delete tests/snmpsim/infortrend_test.snmprec
* again another logo replacment
* update yaml file to display sensor state
* Delete includes/definitions/discovery/infortrend_orig
* typo missed the . at start of oid
* change logo based on req. from PipoCanaja
* on req of PipoCanaja to fix the structure of the folder
* replacing the logo as req. from PipoCanaja
* Fix infortrend.yaml
* Remove mibs/IFT-SNMP-MIB
* Create infortrend_infortrend.json
* Update infortrend_infortrend.json
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* Nac polling improvement
Was loading all nac entries from the DB, then filtering them. Now it only loads non-historical entries off the bat.
All this because the filter was returning the wrong type...
* Add missing get
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>
* On branch f5-cert-expiration-check
Changes to be committed:
modified: app/Http/Controllers/Device/Tabs/LoadBalancerController.php
modified: includes/discovery/loadbalancers/f5-ltm.inc.php
modified: includes/html/pages/device/loadbalancer.inc.php
new file: includes/html/pages/device/loadbalancer/f5-cert.inc.php
modified: includes/polling/loadbalancers/f5-ltm.inc.php
These patches extend the F5-Loadbalancer module to support an expiration check of
the installed certificates.
* some minor corrections to (hopefully) pass the style-check
* a few more impovements to pass the style-chek
On branch f5-cert-expiration-check
Your branch is up to date with 'origin/f5-cert-expiration-check'.
Changes to be committed:
modified: includes/discovery/loadbalancers/f5-ltm.inc.php
modified: includes/polling/loadbalancers/f5-ltm.inc.php
* more style-check adaptions...
* Fix expandable sizing
* Temp fix: port_id_{low,high} is actually ifIndex
* new PortsStack discovery module, store actual port_ids
* Show 4 rows of ports by default
* Add test data
* Fix up the single port view too
* Apply fixes from StyleCI
* Update db_schema.yaml
* Update base migration because sqlite cannot add primary keys
* Fix phpstan failures
---------
Co-authored-by: Tony Murray <murrant@users.noreply.github.com>
* Add link on alert-rules page to display active alerts for rule
* replace ? with / per convention
* make the alert icon clickable too
* Lower the brightness of the warning rows
* Create a case for routeros.
RouterOS doesn't support the bgpPeerInUpdateElapsedTime object, so when
LibreNMS does to insert a peer update into the database from a MikroTik
router, you see the following error:
SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column `librenms`.`bgpPeers`.`bgpPeerInUpdateElapsedTime` at row 2 (Connection: mysql, SQL: UPDATE `bgpPeers` set `bgpPeerAdminStatus`=start,`bgpPeerInUpdateElapsedTime`=...
To fix this, special-case routeros and note that the object is not yet
supported.
* Use spaces, not tabs.
* Use set_numeric() to ensure bgpPeerInUpdateElapsedTime is a number.
---------
Co-authored-by: Joe Clarke <jclarke@cisco.com>
* exclude triplite console servers
* add definition for tripplite console servers
* add test files
* renamed to lowercase
* add testdata
* add testdata
* disable poller and discery modules that do not apply to this device
* lo will always report empty values, so lets ignore it
* removed disabled poller modules
* Snmpsim use python venv
Patch to enable listening while minimizing output
Update lnms dev:simulate, tests, and ./scripts/save-test-data.php
removed old option to start snmpsim from older scripts, use lnms dev:simulate
* Apply fixes from StyleCI
* various fixes
* Remove patch official package is updated
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>