Ad Widget

Collapse

SNMP indexes on HP J9803A

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gkavrecic
    Junior Member
    • Dec 2015
    • 2

    #1

    SNMP indexes on HP J9803A

    I'm deploying a HP 1810 switch into the network.

    A similar switch (HP V1910) worked out of the box, all required items discovered, triggers worked.
    A label content to show port status and some stats:
    ---
    Code:
    Port 1
    PS: {Switch_A:ifOperStatus[GigabitEthernet1/0/1].last(0)}
    Rx: {Switch_A:ifInOctets[GigabitEthernet1/0/1].last(0)}
    Tx: {Switch_A:ifOutOctets[GigabitEthernet1/0/1].last(0)}
    ---

    Now, we are adding a HP 1810 and having issues with managing it.
    The items & triggers are discovered ok, but having issues using indexes.
    Each port is indexed as Port: 1 Gigabit - Level

    Trying to show a port status returns an error. Label content:
    ---
    Code:
    Port 1
    PS: {Switch_B2:ifOperStatus[Port: 1 Gigabit - Level].last(0)}
    Rx: {Switch_B2:ifInOctets[Port: 1 Gigabit - Level].last(0)}
    Tx: {Switch_B2:ifOutOctets[Port: 1 Gigabit - Level].last(0)}
    ---

    Might it be a problem with the colon in the index name?
    How to overcome this?
    Last edited by gkavrecic; 07-12-2015, 09:20. Reason: corrected models' names
  • gkavrecic
    Junior Member
    • Dec 2015
    • 2

    #2
    Is it possible to access an item by its numerical index?

    I've tried:
    - ifOperStatus[1].last(0)
    - ifOperStatus.1.last(0)
    but nothing worked

    Comment

    Working...