Skip to content

Commit

Permalink
Extend support for Endrun Sonoma Meridian II devices. (librenms#13069)
Browse files Browse the repository at this point in the history
* endrun_updated_support

* Added requested changes

* Converted to yaml

* Fixed Tempus Features

* fixed test data (again)

* Update endrun_sonoma.json

* fix gitignore

* fix last gitignore

Co-authored-by: Tony Murray <[email protected]>
  • Loading branch information
hanserasmus and murrant authored Oct 19, 2021
1 parent fdea39f commit 51e6701
Show file tree
Hide file tree
Showing 10 changed files with 5,399 additions and 61 deletions.
56 changes: 0 additions & 56 deletions LibreNMS/OS/Endrun.php

This file was deleted.

12 changes: 12 additions & 0 deletions includes/definitions/discovery/endrun.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
mib: TEMPUSLXUNISON-MIB::MERIDIAN2-MIB::SONOMA-MIB
modules:
os:
version_regex: '/(?<hardware>(.+)) v (?<version>(.+)) -/'
serial: SNMPv2-MIB::snmpSetSerialNo.0
# The info for the three different EndRun devices, all live on different OIDs but follow the same regex.
version:
- .1.3.6.1.4.1.13827.5.0.11.0
- .1.3.6.1.4.1.13827.12.1.16.0
- .1.3.6.1.4.1.13827.14.1.16.0
features:
- TEMPUSLXUNISON-MIB::cdmaVersion.0
7 changes: 7 additions & 0 deletions includes/definitions/endrun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@ discovery:
op: 'contains'
value: 'Tempus LX CDMA'
-
sysObjectID: .1.3.6.1.4.1.8072.3.2.10
snmpget:
oid: .1.3.6.1.4.1.13827.12.1.16.0
op: 'contains'
value: 'Sonoma_D12'
-
sysObjectID: .1.3.6.1.4.1.8072.3.2.10
snmpget:
oid: .1.3.6.1.4.1.13827.14.1.16.0
op: 'contains'
value: 'MeridianII'
Loading

0 comments on commit 51e6701

Please sign in to comment.