Как заставить zabbix показывать список портов, который отдается по снмп в виде PortList (OCTET STRING)?
PortList ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Each octet within this value specifies a set of eight
ports, with the first octet specifying ports 1 through
8, the second octet specifying ports 9 through 16, etc.
Within each octet, the most significant bit represents
the lowest numbered port, and the least significant bit
represents the highest numbered port. Thus, each port
of the bridge is represented by a single bit within the
value of this object. If that bit has a value of '1',
then that port is included in the set of ports; the port
is not included if its bit has a value of '0'."
SYNTAX OCTET STRING
Например вот такой OID:
Q-BRIDGE-MIB::dot1qVlanStaticEgressPorts
Например:
00 00 04 10 00 00 00 00
Хотелось бы видеть как: 22 28
Реально сделать? Или только через внешнюю проверку писать скрипт самому?
PortList ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Each octet within this value specifies a set of eight
ports, with the first octet specifying ports 1 through
8, the second octet specifying ports 9 through 16, etc.
Within each octet, the most significant bit represents
the lowest numbered port, and the least significant bit
represents the highest numbered port. Thus, each port
of the bridge is represented by a single bit within the
value of this object. If that bit has a value of '1',
then that port is included in the set of ports; the port
is not included if its bit has a value of '0'."
SYNTAX OCTET STRING
Например вот такой OID:
Q-BRIDGE-MIB::dot1qVlanStaticEgressPorts
Например:
00 00 04 10 00 00 00 00
Хотелось бы видеть как: 22 28
Реально сделать? Или только через внешнюю проверку писать скрипт самому?
Comment