Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-3745

OPNsense (NET-SNMP) identified as FreeBSD

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Professional Edition
    • Discovery

    Description

      An OPNsense firewall installation is not recognized (see OBS-2725 or OBS-2287) as "OPNsense firewall".

      OPNsense's SysDescr currently looks like this:

      _FreeBSD firefire.example.com 12.1-RELEASE-p12-HBSD FreeBSD 12.1-RELEASE-p12-HBSD #0 0857355c1c2(stable/20.7)-dirty: Mon Jan 18 18:12:55 CET 2021 root@sensey:/usr/obj/usr/src/amd64.amd64/sys/SMP amd64_

      I think that this time it comes from this change in the NET SNMP plugin: https://github.com/opnsense/plugins/pull/1684

      As far as I understood it correctly, Observium should query this OID:
      .1.3.6.1.4.1.8072.1.3.2.3.1.2.7.118.101.114.115.105.111.110
      for version informations:

       

      snmpget -v 2c -c xx firefire.example.com  .1.3.6.1.4.1.8072.1.3.2.3.1.2.7.118.101.114.115.105.111.110
      NET-SNMP-EXTEND-MIB::nsExtendOutputFull."version" = STRING: OPNsense 20.7.8_4 (amd64/OpenSSL)
       
      snmpget -v 2c -c xx firefire.example.com sysObjectID.0
      SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.8
       
      snmpget -v 2c -c xx firefire.example.com sysDescr.0
      SNMPv2-MIB::sysDescr.0 = STRING: FreeBSD firefire.example.com12.1-RELEASE-p12-HBSD FreeBSD 12.1-RELEASE-p12-HBSD #0  0857355c1c2(stable/20.7)-dirty: Mon Jan 18 18:12:55 CET 2021     root@sensey:/usr/obj/usr/src/amd64.amd64/sys/SMP amd64
      

       

      Attachments

        Issue Links

          Activity

            People

              landy Mike Stupalov
              helge.wiethoff@thga.de Helge Wiethoff
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: