librenms/LibreNMS
Cody Harris d67df039e3
device - Added Baicells Atom OD04 CPE support (#14838)
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>
2024-08-02 19:18:17 +02:00
..
Alert Alertmanager Striptag Dynamic Variables (#16141) 2024-06-20 09:37:34 -05:00
Alerting port_error_perc macro (#15016) 2023-07-31 22:26:21 -05:00
Authentication Handle ad/ldap authorizer search error (#16139) 2024-06-24 19:49:34 -05:00
Cache Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
Data Refactor SnmpResponse mapTable (#16238) 2024-07-22 21:23:10 -05:00
DB Use Laravel schema migration command directly (#14039) 2023-08-03 19:26:48 -05:00
Device Fix null in sensors discovery (#16201) 2024-07-14 17:30:43 -05:00
Enum Fix graph_type variable (svg / png) (#15972) 2024-04-26 08:33:08 -05:00
Exceptions Improved Latency graph (#15940) 2024-04-18 09:57:01 -05:00
Interfaces Ports UI update (#16115) 2024-06-16 11:29:06 -05:00
Modules Fix Port Channels take 2 (#16246) 2024-07-26 08:45:34 -05:00
OS device - Added Baicells Atom OD04 CPE support (#14838) 2024-08-02 19:18:17 +02:00
Polling Improved Latency graph (#15940) 2024-04-18 09:57:01 -05:00
RRD Rrd source does not work with rrdcached (#15974) 2024-05-07 23:17:32 -05:00
Snmptrap SnmpTrap Handler for Cisco IOS LDP Session UP and DOWN (#16107) 2024-07-04 15:16:12 -05:00
Traits version and git helper improvements (#14412) 2022-10-02 00:41:56 -05:00
Util Cleanup - Ensure percentage is calculated out of positive values only (#16250) 2024-07-31 09:37:07 -05:00
Validations Don't run poller validations when there are no devices (#16088) 2024-06-04 21:55:24 +02:00
__init__.py Implement authentication for Redis/Sentinel (#14805) 2023-04-14 07:11:44 -05:00
Billing.php Remove some lightly used or unused dbFacile functions (#15418) 2023-10-12 09:15:03 -05:00
command_runner.py Fix config fetch disrupted by stderr (#13362) 2021-10-28 11:04:14 -05:00
Component.php Severity Enum (#14620) 2023-08-05 12:12:36 -05:00
ComposerHelper.php Implement system for user packages in composer (#13718) 2022-02-02 17:33:23 +01:00
Config.php Miscellaneous fixes (#15162) 2023-07-26 01:08:10 +02:00
config.py Support for SSL/TLS protected connections to MySQL databases (#14142) 2022-08-07 14:53:29 -05:00
IRCBot.php Apply fixes from StyleCI (#15698) 2024-01-04 22:39:12 -06:00
Model.php Miscellaneous cleanup, mostly undefined variables - part2 (#14445) 2022-10-18 13:30:42 +02:00
ObjectCache.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
OS.php Fix polling down retry (and other items) (#15483) 2023-10-19 06:55:41 -05:00
Plugins.php Disable plugins that have errors (#14383) 2022-09-25 22:47:58 -05:00
Poller.php New command: lnms report:devices (#15539) 2023-11-01 13:52:21 -05:00
Proc.php phpstan: new baseline (#15015) 2023-04-28 17:13:55 +02:00
queuemanager.py Deprecate poller.php (#15370) 2023-10-04 16:32:02 -05:00
RRDRecursiveFilterIterator.php Apply fixes from StyleCI (#15698) 2024-01-04 22:39:12 -06:00
service.py Dispatcher option to log output (#15230) 2023-08-21 18:28:07 -05:00
Services.php Swich links to https (#12511) 2021-02-09 00:29:04 +01:00
SNMPCapabilities.php SNMP Capabilities (#13289) 2021-09-28 18:35:59 -05:00
ValidationResult.php Automatic fixes for validation failures (#13930) 2022-06-10 16:25:33 -05:00
Validator.php Automatic fixes for validation failures (#13930) 2022-06-10 16:25:33 -05:00
Waas.php Availability module fixes (#15369) 2023-10-04 10:32:59 -05:00
wrapper.py Fix poller wrapper debug option (#16214) 2024-07-25 23:13:17 -05:00