mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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>
This commit is contained in:
1
html/images/os/baicells.svg
Normal file
1
html/images/os/baicells.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 262 287"><path fill="#ea4e24" fill-rule="evenodd" d="M1 1h39s7 0 12 5c4 4 5 12 5 12v268h123s71-4 81-75c7-51-33-74-33-74s30-35 21-68C229-1 168 1 168 1h-54v229h68s23-3 23-29-23-29-23-29h-46v-57h33s25-1 25-29-25-29-25-29H17s-5 0-11-5c-5-6-5-11-5-11Z"/></svg>
|
After Width: | Height: | Size: 321 B |
Reference in New Issue
Block a user