Ad Widget

Collapse

How to mark an interface as not important?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • twolgemuth
    Junior Member
    • Apr 2020
    • 1

    #1

    How to mark an interface as not important?

    How do I mark a switch interface as not important? I see in the description it says "2. {$IFCONTROL:"10"}=1 - user can redefine Context macro to value - 0. That marks this interface as not important. No new trigger will be fired if this interface is down.". But I am not seeing where a redefine the Context macro to 0. I am using Zabbix 5.0.5
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2

    You may not have this macro defined , so create it.

    Comment

    • JackoAC
      Member
      • May 2023
      • 35

      #3
      Hello,
      I'm going to revive this post.
      I've read the documentation but I'm having trouble getting the desired result.

      I modify the macro at the host level but all the interface triggers are defined as "not important".

      Can someone explain further how to do it ?

      I'm running on Zabbix 6.0​.
      I want to make this interface on "not important"
      Click image for larger version

Name:	image.png
Views:	1049
Size:	3.7 KB
ID:	465985

      Thank in advance !

      Comment

      • troffasky
        Senior Member
        • Jul 2008
        • 567

        #4
        If you just set {$IFCONTROL} to 0 then yes, all interfaces on that host will not trigger on down.
        For one specific interface then you need to create a macro like
        {$IFCONTROL:"ifname"}
        on the host so that only ifname is affected.

        Comment

        Working...