Ad Widget

Collapse

How to monitor with LLD about interface and PoE status on Catalyst (Cisco).

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sakony
    Junior Member
    • Oct 2019
    • 2

    #1

    How to monitor with LLD about interface and PoE status on Catalyst (Cisco).

    Hi there

    I'm trying to figure a way to monitor Catalyst PoE status smarter, and there are two purposes.

    1. Only interfaces whose description (IF-MIB::ifAlias) contains ## (for example, ## to AP-001 ##) are targeted for LLD.
    2. Monitor Link-status (IF-MIB::ifOperStatus) and PoE-status (POWER-ETHERNET-MIB:: pethPsePortPowerClassifications) of the interface subject to LLD.

    The first problem is that there is no direct relationship between the index of interface description and the index of interface PoE-status.

    circitor,cafuro,winagentlog,e-verbe,snmp,syslog,eventlog,freeware,trap,eventlog,microsoft,mib,browser,smi,receiver,sender,get,set,next,scanner,asn1,asn.1,

    circitor,cafuro,winagentlog,e-verbe,snmp,syslog,eventlog,freeware,trap,eventlog,microsoft,mib,browser,smi,receiver,sender,get,set,next,scanner,asn1,asn.1,

    circitor,cafuro,winagentlog,e-verbe,snmp,syslog,eventlog,freeware,trap,eventlog,microsoft,mib,browser,smi,receiver,sender,get,set,next,scanner,asn1,asn.1,


    I looked at the MIB above and found that the following steps would probably work.

    1. Get the value of CISCO-POWER-ETHERNET-EXT-MIB::cpeExtPsePortEntPhyIndex with an index equal to the index of POWER-ETHERNET-MIB:: pethPsePortPowerClassifications (general LLD operation).

    2. Get the value of ENTITY-MIB::entPhysicalName with an index equal to the value of cpeExtPsePortEntPhyIndex.

    3. Get the index of IF-MIB::ifDescr with a value equal to the value of entPhysicalName.

    4. Get the value of IF-MIB::ifAlias with an index equal to the index of ifDescr, and if ## is included, make it the target of LLD.

    Can the above method be implemented smartly and effectively with Zabbix templates?

    Any help would be more than welcome.
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    You can peak on my IF-MIB template https://github.com/kloczek/zabbix-te...vel/MIB/IF-MIB
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment


    • sakony
      sakony commented
      Editing a comment
      Thank you for your quick reply.
      However, my main purpose is not to monitor the interface (IF-MIB) but to monitor PoE-status (POWER-ETHERNET-MIB).
      Specifically, I want to monitor that Class4 power is being supplied to the Access Point connected to the interface.

      The problem is that only the POWER-ETHERNET-MIB monitoring does not tell which interface is being powered. In other words, I think that simple LLD using POWER-ETHERNET-MIB and IF-MIB will not work.

      I think there are many similar problems given that MIB is a hierarchical database model.

      https://en.wikipedia.org/wiki/Hierar...database_model
      https://en.wikipedia.org/wiki/Network_model

      I think CISCO-POWER-ETHERNET-EXT-MIB::cpeExtPsePortEntPhyIndex gives the MIB a junction like a network model.

      If the MIB was big XML, we could access with xpath, so everyone was happy...

      SNMP seems like a curse for me.
  • Ikyo75
    Junior Member
    • Nov 2025
    • 5

    #3
    Did you get a template created that will show PoE information? I tried to do a template with the MIB to Zabbix converter, but it doesn't seem to work correctly.

    Comment

    • Ikyo75
      Junior Member
      • Nov 2025
      • 5

      #4
      I got this working, but it did require more than just putting in some values. The main issue is the MIB for PoE on the Cisco does not use the same index as the normal one from what I have found.

      Comment

      Working...