mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Additional Open Sense detection (#11196)
* Update opnsense.yaml - too add discovery method Update opnsense.yaml for new OPNsense OID called version. This will help with detection after the user turns on "Display Verion in OID" within OPNsense * Re-order to reduce snmp-scan.py time First, check sysDescr for OPNsense. Then if sysObjectID is 1.3.6.1.4.1.12325.1.1.2.1.1, run an snmpget * Create opnsense_1.snmprec Make up test file since data was not supplied Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
@@ -9,3 +9,9 @@ over:
|
||||
discovery:
|
||||
- sysDescr:
|
||||
- OPNsense
|
||||
-
|
||||
sysObjectID: .1.3.6.1.4.1.12325.1.1.2.1.1
|
||||
snmpget:
|
||||
oid: .1.3.6.1.4.1.8072.1.3.2.3.1.2.7.118.101.114.115.105.111.110
|
||||
op: contains
|
||||
value: 'OPNsense'
|
||||
|
3
tests/snmpsim/opnsense_1.snmprec
Normal file
3
tests/snmpsim/opnsense_1.snmprec
Normal file
@@ -0,0 +1,3 @@
|
||||
1.3.6.1.2.1.1.1.0|4|Other.7p.lan 18.1.1-a5575d7bd Other FreeBSD 11.1-RELEASE-p6 amd64
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.12325.1.1.2.1.1
|
||||
1.3.6.1.4.1.8072.1.3.2.3.1.2.7.118.101.114.115.105.111.110|4|Blah OPNsense Blah
|
Reference in New Issue
Block a user