Ad Widget

Collapse

getting SNMP systemOID in OID format

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • etorresm
    Junior Member
    • Feb 2022
    • 1

    #1

    getting SNMP systemOID in OID format

    HI!

    Ive looking for this info but in the forums but couldnt find the right answer...

    Im new in zabbix and ive installed zabbix 5.0 and want to retrive systemOID in OID format,, but zabbix retrieves the value and translates to MIB format and i cannot create an iten with return value "OID"

    What im getting:
    snmpget -v2c ..... hostIP .1.3.6.1.2.1.1.2.0
    SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10

    What i want to retrieve:
    snmpget -v2c ..... -On hostIP .1.3.6.1.2.1.1.2.0
    .1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.8072.3.2.10

    i want the output in the OID format (.1.3.6.1.4.1.8072.3.2.10) instead MIB format(NET-SNMP-MIB::netSnmpAgentOIDs.10)

    Thx in advance.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    snmpwalk -v2c -On .... if you want to do it from command line with snmpget...

    Comment

    Working...