# via snmilint:
./ZYXEL-ES-COMMON:40: {module-identity-multiple} more than one MODULE-IDENTITY clause in SMIv2 MIB
# @var SMIPATH : absolute path to senpro-it/mibs/dist
# ../../gosmi/gosmi -d -p $SMIPATH -m ZYXEL-ES-COMMON sysProductSerialNumber
Loaded module ZYXEL-ES-COMMON
Search path: /mnt/c/Users/ingwersenk.SENPRO/OneDrive - senpro.de/Documents/Code/mibs/dist:/mnt/c/Users/ingwersenk.SENPRO/OneDrive - senpro.de/Documents/Code/mibs/dist
Loaded modules:
<well-known> ()
SNMPv2-SMI (/mnt/c/Users/ingwersenk.SENPRO/OneDrive - senpro.de/Documents/Code/mibs/dist/SNMPv2-SMI)
ZYXEL-ES-SMI (/mnt/c/Users/ingwersenk.SENPRO/OneDrive - senpro.de/Documents/Code/mibs/dist/ZYXEL-ES-SMI)
SNMPv2-TC (/mnt/c/Users/ingwersenk.SENPRO/OneDrive - senpro.de/Documents/Code/mibs/dist/SNMPv2-TC)
IANAifType-MIB (/mnt/c/Users/ingwersenk.SENPRO/OneDrive - senpro.de/Documents/Code/mibs/dist/IANAifType-MIB)
SNMPv2-MIB (/mnt/c/Users/ingwersenk.SENPRO/OneDrive - senpro.de/Documents/Code/mibs/dist/SNMPv2-MIB)
IF-MIB (/mnt/c/Users/ingwersenk.SENPRO/OneDrive - senpro.de/Documents/Code/mibs/dist/IF-MIB)
BRIDGE-MIB (/mnt/c/Users/ingwersenk.SENPRO/OneDrive - senpro.de/Documents/Code/mibs/dist/BRIDGE-MIB)
P-BRIDGE-MIB (/mnt/c/Users/ingwersenk.SENPRO/OneDrive - senpro.de/Documents/Code/mibs/dist/P-BRIDGE-MIB)
ZYXEL-ES-COMMON (/mnt/c/Users/ingwersenk.SENPRO/OneDrive - senpro.de/Documents/Code/mibs/dist/ZYXEL-ES-COMMON)
[{"Access":"ReadOnly","Decl":"ObjectType","Description":"The searial number of this device.","Kind":"Scalar","Name":"sysProductSerialNumber","Oid":null,"OidLen":0,"Status":"Current","Type":{"BaseType":"OctetString","Decl":"TextualConvention","Description":"Represents textual information taken from the NVT ASCII\ncharacter set, as defined in pages 4, 10-11 of RFC 854.\nTo summarize RFC 854, the NVT ASCII repertoire specifies:\n- the use of character codes 0-127 (decimal)\n- the graphics characters (32-126) are interpreted as\nUS ASCII\n- NUL, LF, CR, BEL, BS, HT, VT and FF have the special\nmeanings specified in RFC 854\n- the other 25 codes have no standard interpretation\n- the sequence 'CR LF' means newline\n- the sequence 'CR NUL' means carriage-return\n- an 'LF' not preceded by a 'CR' means moving to the\nsame column on the next line.\n- the sequence 'CR x' for any x other than LF or NUL is\nillegal. (Note that this also means that a string may\nend with either 'CR LF' or 'CR NUL', but not with CR.)\nAny object defined using this syntax may not exceed 255\ncharacters in length.","Enum":null,"Format":"255a","Name":"DisplayString","Ranges":[{"BaseType":"Unsigned32","MinValue":0,"MaxValue":255}],"Reference":"","Status":"Current","Units":""},"SmiType":{"BaseType":"OctetString","Decl":"TextualConvention","Description":"Represents textual information taken from the NVT ASCII\ncharacter set, as defined in pages 4, 10-11 of RFC 854.\nTo summarize RFC 854, the NVT ASCII repertoire specifies:\n- the use of character codes 0-127 (decimal)\n- the graphics characters (32-126) are interpreted as\nUS ASCII\n- NUL, LF, CR, BEL, BS, HT, VT and FF have the special\nmeanings specified in RFC 854\n- the other 25 codes have no standard interpretation\n- the sequence 'CR LF' means newline\n- the sequence 'CR NUL' means carriage-return\n- an 'LF' not preceded by a 'CR' means moving to the\nsame column on the next line.\n- the sequence 'CR x' for any x other than LF or NUL is\nillegal. (Note that this also means that a string may\nend with either 'CR LF' or 'CR NUL', but not with CR.)\nAny object defined using this syntax may not exceed 255\ncharacters in length.","Enum":null,"Format":"255a","Name":"DisplayString","Ranges":[{"BaseType":"Unsigned32","MinValue":0,"MaxValue":255}],"Reference":"","Status":"Current","Units":""}}]
# ../../gosmi/gosmi -p $SMIPATH -m ZYXEL-ES-COMMON sysProductSerialNumber | jq "."
[
{
"Access": "ReadOnly",
"Decl": "ObjectType",
"Description": "The searial number of this device.",
"Kind": "Scalar",
"Name": "sysProductSerialNumber",
"Oid": null,
"OidLen": 0,
"Status": "Current",
"Type": {
"BaseType": "OctetString",
"Decl": "TextualConvention",
"Description": "Represents textual information taken from the NVT ASCII\ncharacter set, as defined in pages 4, 10-11 of RFC 854.\nTo summarize RFC 854, the NVT ASCII repertoire specifies:\n- the use of character codes 0-127 (decimal)\n- the graphics characters (32-126) are interpreted as\nUS ASCII\n- NUL, LF, CR, BEL, BS, HT, VT and FF have the special\nmeanings specified in RFC 854\n- the other 25 codes have no standard interpretation\n- the sequence 'CR LF' means newline\n- the sequence 'CR NUL' means carriage-return\n- an 'LF' not preceded by a 'CR' means moving to the\nsame column on the next line.\n- the sequence 'CR x' for any x other than LF or NUL is\nillegal. (Note that this also means that a string may\nend with either 'CR LF' or 'CR NUL', but not with CR.)\nAny object defined using this syntax may not exceed 255\ncharacters in length.",
"Enum": null,
"Format": "255a",
"Name": "DisplayString",
"Ranges": [
{
"BaseType": "Unsigned32",
"MinValue": 0,
"MaxValue": 255
}
],
"Reference": "",
"Status": "Current",
"Units": ""
},
"SmiType": {
"BaseType": "OctetString",
"Decl": "TextualConvention",
"Description": "Represents textual information taken from the NVT ASCII\ncharacter set, as defined in pages 4, 10-11 of RFC 854.\nTo summarize RFC 854, the NVT ASCII repertoire specifies:\n- the use of character codes 0-127 (decimal)\n- the graphics characters (32-126) are interpreted as\nUS ASCII\n- NUL, LF, CR, BEL, BS, HT, VT and FF have the special\nmeanings specified in RFC 854\n- the other 25 codes have no standard interpretation\n- the sequence 'CR LF' means newline\n- the sequence 'CR NUL' means carriage-return\n- an 'LF' not preceded by a 'CR' means moving to the\nsame column on the next line.\n- the sequence 'CR x' for any x other than LF or NUL is\nillegal. (Note that this also means that a string may\nend with either 'CR LF' or 'CR NUL', but not with CR.)\nAny object defined using this syntax may not exceed 255\ncharacters in length.",
"Enum": null,
"Format": "255a",
"Name": "DisplayString",
"Ranges": [
{
"BaseType": "Unsigned32",
"MinValue": 0,
"MaxValue": 255
}
],
"Reference": "",
"Status": "Current",
"Units": ""
}
}
]
# @var $SNMPFLAGS : Authentication params
# snmpget $SNMPFLAGS -M $SMIPATH 10.100.0.242:161 ZYXEL-ES-COMMON::sysProductSerialNumber.0 -On
.1.3.6.1.4.1.890.1.15.3.1.12.0 = STRING: S232L25001215
# snmpget $SNMPFLAGS -M $SMIPATH 10.100.0.242:161 ZYXEL-ES-COMMON::sysProductSerialNumber.0
ZYXEL-ES-COMMON::sysProductSerialNumber.0 = STRING: S232L25001215