Ad Widget

Collapse

SNMP-how to set the interface Alias under the trigger prototype description field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zabchix
    Junior Member
    • Oct 2017
    • 3

    #1

    SNMP-how to set the interface Alias under the trigger prototype description field

    Hi ,there is the default template: "Template SNMP Interfaces" , what I want to do is the following:
    put item prototype:
    Alias of interface {#SNMPVALUE} ifAlias[{#SNMPVALUE}]

    to trigger prototype:
    Operational status was changed on {HOST.NAME} interface {#SNMPVALUE}
    under the Description field.

    I tried various of things without a success.

    The main goal behind it is each time an interface in our BackBone switch goes down/up , the alert that we receive will also contain the interface description/alias.

    Thanks !
  • kaspars.mednis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2017
    • 349

    #2
    Hi,

    use discovery rule like:
    Code:
    discovery[{#IFDESCR}, ifDescr, {#IFALIAS}, ifAlias]


    then you can use both {#IFDESCR} and {#IFALIAS} macros in your expressions and names

    Regards,
    Kaspars

    Comment

    • Zabchix
      Junior Member
      • Oct 2017
      • 3

      #3
      Thanks works perfect !

      Comment

      Working...