Ad Widget

Collapse

Человекочитаемый SNMP PortList (OCTET STRING)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • uhriab
    Junior Member
    • Jun 2012
    • 10

    #1

    Человекочитаемый SNMP PortList (OCTET STRING)

    Как заставить 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

    Реально сделать? Или только через внешнюю проверку писать скрипт самому?
  • Nagainos
    Member
    • Oct 2016
    • 46

    #2
    Присоединяюсь к вопросу! Возможно-ли это впринципе?
    Upd. Дело окончилось написанием скрипта.
    Last edited by Nagainos; 07-12-2016, 14:32.

    Comment

    Working...