Ad Widget

Collapse

Creating a trigger based upon FSNAME macro with Zabbix 6.0?

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kswg
    Junior Member
    • Aug 2021
    • 3

    #1

    Creating a trigger based upon FSNAME macro with Zabbix 6.0?

    Hey guys,

    I searched for a solution to my problem which is perfectly described in this post from 2014: Creating a trigger based upon FSNAME macro? - ZABBIX Forums

    But there was no solution in this thread. At the moment I had one trigger prototype which alerts disk space lower than {$MACRO}. But I want to set another trigger where the partitions "C:" and "/" have a different severity.

    I want C:\ and / a severity of "High" while all others stay at "Warning". Is it possible to use the {#FSNAME} to filter this in the Expression?

    I hope for some nice suggestions Thank you.
  • Answer selected by kswg at 14-02-2023, 15:22.
    Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    It seems to me that your tasks can simply be solved by using override in the LLD rule....

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #2
      It seems to me that your tasks can simply be solved by using override in the LLD rule....

      Comment

      • kswg
        Junior Member
        • Aug 2021
        • 3

        #3
        Exactly what I need! Thank you so much. I spend so much time to find a solution. I'm quiet new to zabbix.

        Now I've added two overrides to the Template Discovery. One for partition C:\ Windows and one for partition / root for linux.



        Click image for larger version  Name:	image.png Views:	1 Size:	26.4 KB ID:	459458

        Click image for larger version  Name:	image.png Views:	1 Size:	22.6 KB ID:	459459

        The created triggers on the hosts will updated after the time set in the LLD itself.​
        Last edited by kswg; 14-02-2023, 15:24.

        Comment

        Working...