Ad Widget

Collapse

Problem with displaying serial-number correctly after discovery

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ozzy
    Junior Member
    • Dec 2021
    • 2

    #1

    Problem with displaying serial-number correctly after discovery

    Hi,

    I have a ZTE OLT. I create a new Templates for this devices(all templates found on the network don't have the data I need).
    I create discovery rules: ONU and put to SNMP OID : discovery[{#SERIAL}, .1.3.6.1.4.1.3902.1082.500.10.2.3.3.1.6] (I use these serial numbers later to identify devices). Teroreticly it's working, but some of the result is not in good format(I need HEX-STRING, I.ll get it STRING). Wen i do snmpwalk from console i see, that is a problem witch device(also i see some of the description is in string format).
    I fount solution: snmpwalk witch -Ox flag, but i don't known, how i can add flag on Zabbix to discovery OID.

    This is the output from snmpwalk withoun't flag Ox(xx is hidden sign:-)):
    iso.3.6.1.4.1.3902.1082.500.10.2.3.3.1.6.285278731 .2 = Hex-STRING: 5A 4E 54 53 xx xx xx xx
    iso.3.6.1.4.1.3902.1082.500.10.2.3.3.1.6.285278732 .1 = Hex-STRING: 5A 4E 54 53 xx xx xx xx
    iso.3.6.1.4.1.3902.1082.500.10.2.3.3.1.6.285278732 .2 = STRING: "ZNTS;
    xxx
    iso.3.6.1.4.1.3902.1082.500.10.2.3.3.1.6.285278732 .3 = STRING: "ZNTS;
    xxx
    iso.3.6.1.4.1.3902.1082.500.10.2.3.3.1.6.285278732 .4 = Hex-STRING: 5A 4E 54 53 xx xx xx xx
    iso.3.6.1.4.1.3902.1082.500.10.2.3.3.1.6.285278733 .1 = Hex-STRING: 5A 4E 54 53 xx xx xx xx
    iso.3.6.1.4.1.3902.1082.500.10.2.3.3.1.6.285278733 .2 = Hex-STRING: 5A 4E 54 53 xx xx xx xx


    With a flag, all results are Hex-string. If it copies the string, the asci-> hex calculator will show the correct value

    Is there any solution for this ??
Working...