Skip to content

Feature Request - Ability to set OID to use for model lookup (SNMP discovery) #295

@mikhailadminvps

Description

@mikhailadminvps

Hi. First of all I need to mentition, that I'm new to SNMP.
Recentrly, we tested ORB agent in integration with netbox and we do love it. But we faced some kind of issue:
He have a few amout of Mikrotik devices. All of them are different models ( DGS-1250-52X, CRS354-48G-4S+2Q+, CRS326-24G-2S+,CCR2004-16G-2S+ etc.). We have configured orb agent with SNMP discovery and every thing was doing well, except model detection, for all my devices, orb detected model OID as .1.3.6.1.4.1.14988.1 and its correct due to the SNMPwalk:
device N1

.1.3.6.1.2.1.1.1.0 = STRING: "RouterOS CCR2004-16G-2S+"
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.14988.1

device N2

.1.3.6.1.2.1.1.1.0 = STRING: "RouterOS CRS354-48G-4S+2Q+"
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.14988.1

So I got in the situation when OID is the same for different models:
Image

I tried to use model lookup but its incorrect, because I can only hard code one type of model:

devices:
  .1.3.6.1.4.1.14988.1: CCR2004-16g-2s
Image

So, it would be nice to set in config file the OID to use for model, like that:
.1.3.6.1.2.1.1.1.0
iso.3.6.1.2.1.1.1.0 = STRING: "RouterOS CRS326-24G-2S+"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions