Skip to content

Commit

Permalink
Update OPNsense definition due to incorrect OID on second detection m…
Browse files Browse the repository at this point in the history
…ethod (#11265)

* Update OPNsense snmprec, with real data

Update OPNsense snmprec, with real data.

Data from OPNsense 20.1.2 (Latest release at time of commit)

* Update OPNsense definition due to incorrect OID

sysObjectID is incorrect for OPNsense should be .1.3.6.1.4.1.8072.3.2.8.  for this snmpget detection to work.
This has been tested in my environment with 2 OPNsense Firewalls.
  • Loading branch information
FingerlessGlov3s committed Mar 9, 2020
1 parent c4eb412 commit dcc6b9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion includes/definitions/opnsense.yaml
Expand Up @@ -10,7 +10,7 @@ discovery:
- sysDescr:
- OPNsense
-
sysObjectID: .1.3.6.1.4.1.12325.1.1.2.1.1
sysObjectID: .1.3.6.1.4.1.8072.3.2.8
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
Expand Down
6 changes: 3 additions & 3 deletions tests/snmpsim/opnsense_1.snmprec
@@ -1,3 +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
1.3.6.1.2.1.1.1.0|4|FreeBSD fw1-eri1.OPN 11.2-RELEASE-p16-HBSD FreeBSD 11.2-RELEASE-p16-HBSD fc65add89c3(stable/20.1) amd64
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.8072.3.2.8
1.3.6.1.4.1.8072.1.3.2.3.1.2.7.118.101.114.115.105.111.110|4|OPNsense 20.1.2 (amd64/OpenSSL)

0 comments on commit dcc6b9a

Please sign in to comment.