Ad Widget

Collapse

How to add a description to an Item (e.g. interface)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • whisky17
    Junior Member
    • Dec 2017
    • 14

    #1

    How to add a description to an Item (e.g. interface)

    Hi,

    I'm a Zabbix newbie and I've startet to monitor some switches with SNMP.
    But e.g. when an interface is down, I'm just getting a notification like
    Interface Slot0/26(): Link down
    .
    Is it possible to add some free text to an interface?
    I've found something about "ifAlias", but while I'm not an expert for SNMP, I don't know how to configure an ifAlias.

    Can anybody give me some impulse for approach?

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

    #2
    Hi,

    take a look here:


    add {#IFALIAS} macro to discovery rule like in documentation

    Then in this case SNMP discovery discovery[{#IFDESCR}, ifDescr, {#IFALIAS}, ifAlias] will return the following structure:
    After that you can use this {#IFALIAS} macro in your item and trigger names

    Regards,
    Kaspars

    Comment

    Working...