Ad Widget

Collapse

Trigger for Host Interface unreachable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cmarotta
    Junior Member
    • Oct 2020
    • 10

    #1

    Trigger for Host Interface unreachable

    I'm running Zabbix 5.0.4 and I'm having a difficult time finding out where to start constructing a Trigger Expression for when a Host Interface goes "Unreachable."

    For example, a few dozen Servers who were being monitored via IPMI, at some point stopped responding to IPMI. Their interfaces in Monitoring view list all of their IPMI interfaces in RED. So i'd like to create some triggers for this.

    I tried to take a page from some other templates, for example SNMP. But it appears ot be using some pre-defined values that I'm just not sure how to duplicate for IPMI.


    {Windows SNMPv2:zabbix[host,snmp,available].max({$SNMP.TIMEOUT})}=0

    So is my IPMI version look like this?


    {IPMI-TEMPLATE:zabbix[host,IPMI,available].max({$IPMI.TIMEOUT})}=0
    and then set the macro in the template?

    Thanks for the guidance here...
    Chris
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    See the documentation of the zabbix internal check: https://www.zabbix.com/documentation...types/internal

    = use "ipmi", not "IPMI", otherwise you are in the correct direction.

    Markku

    Comment

    • cmarotta
      Junior Member
      • Oct 2020
      • 10

      #3
      Thanks for the advice... but I'm still missing something.

      Cannot Add trigger
      Incorrect item key "zabbix[host,ipmi,available]" provided for trigger expression on "IPMI Hardware - SuperMicro X10-X11"
      .


      Operational Data : Current state: {ITEM.LASTVALUE1}

      Expression : {IPMI Hardware - SuperMicro X10-X11:zabbix[host,ipmi,available].max({$IPMI.TIMEOUT})}=0

      Template name is - "IPMI Hardware - SuperMicro X10-X11"
      macro - {$IPMI.TIMEOUT} - value "1d"

      Comment

      • cmarotta
        Junior Member
        • Oct 2020
        • 10

        #4
        and fwiw , I'm adding the trigger at the Root of the Template. Not under Discovery or Prototypes.

        Comment

        • cmarotta
          Junior Member
          • Oct 2020
          • 10

          #5
          Never mind figured it out.

          The template never had an actual static "Item" to poll the availability of the interface. I first needed to create the Zabbix Internal item, then create the Trigger based on the key of the item

          Type : Zabbix internal
          Key : zabbix[host,ipmi,available]
          Numeric (unsigned)
          Vlaue Mapping - zabbix.host.availabile

          Comment

          Working...