Ad Widget

Collapse

Help required : Item Cisco Err-Disabled port

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andy.anthoine
    Junior Member
    • Jan 2023
    • 3

    #1

    Help required : Item Cisco Err-Disabled port

    Hi guys,

    Long story short, i know i m close to the solution, i m not sure if i m doing it alright, if you have a better way, TELL ME




    On my cisco switch some port sometimes go on error with that status :

    Gi2/0/48 Test err-disabled 1 auto auto 10/100/1000BaseTX




    err-disabled, i want to DETECT that with my zabbix




    After some research i found out that, i needed to put some new mib, which i did, and long story short, if i snmpwalk, i "see" it

    [root@appliance ~]# snmpwalk -v 2c -c congres -On 192.168.200.11 CISCO-ERR-DISABLE-MIB::cErrDisableIfStatusCause

    .1.3.6.1.4.1.9.9.548.1.3.1.1.2.10648.0 = INTEGER: portLoopback(17)




    Clearly, that port (10648 oid) has the error




    Same if i smnp walk like that

    [root@appliance ~]# snmpwalk -v 2c -c congres -On 192.168.200.11 .1.3.6.1.4.1.9.9.548.1.3.1.1.2.10648.0

    .1.3.6.1.4.1.9.9.548.1.3.1.1.2.10648.0 = INTEGER: 17




    So "it works" manually, now for the item creating ,that's where i make a mistake. And i get that error in return, a little red exclamation mark "No such instance currently exists at this OID"




    Here is my "definition", i m not sure what some field do, and how to "write them"

    Name : Interface {#IFNAME}({#IFALIAS}): Interface Error-Disabled

    Type : SNMP agent

    Key : net.if.cErrDisableIfStatusCause[cErrDisableIfStatusCause.{#SNMPINDEX}]

    (pretty sure i fuck up on this one)

    Type of information : Numeric (unsigned)

    (i guess? it's an integer, right?)

    SNMP OID : 1.3.6.1.4.1.9.9.548.1.3.1.1.2.{#SNMPINDEX}

    (this one i think i m good)

    then the interval etc...

    Could you give me some help please on this one ?

    Found this to help too for the oid : https://bestmonitoringtools.com/mibd...RR-DISABLE-MIB




    Thanks guys!
Working...