Ad Widget

Collapse

Trigger of "Current disk space" less than percentage of disk

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • afilis
    Junior Member
    • Oct 2019
    • 13

    #1

    Trigger of "Current disk space" less than percentage of disk

    Hi,

    I am trying to change the alert message of te Trigger disk space.
    How can I add "current disk space" into the alert message?
    for Example: Free disk space is 15.6GB and less than 10% on volume C:

    Please assist.

    Thanks in advance.
    Andrei
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Use this macros
    ITEM.LASTVALUE<1-9>} → Trigger-based notifications and commands
    → Problem update notifications
    → Trigger names, operational data and descriptions
    → Tag names and values
    → Trigger URLs7
    The latest value of the Nth item in the trigger expression that caused a notification.
    It will resolve to *UNKNOWN* in the frontend if the latest history value has been collected more than the ZBX_HISTORY_PERIOD time ago (defined in defines.inc.php).
    Note that since 4.0, it will not resolve to the latest item value when viewing problem events, instead it will stay with the item value from the time of problem happening.
    Supported since 1.4.3. It is alias to {{HOST.HOST}:{ITEM.KEY}.last()}.

    Comment

    • afilis
      Junior Member
      • Oct 2019
      • 13

      #3
      I am not sure how to use this macros. Also I am using Zabbix 4.2.6

      Comment

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

        #4
        In this case, start by reading https://www.zabbix.com/documentation/current/manual
        PS

        here is the answer to your question: https://www.zabbix.com/documentation...iggers/trigger

        Comment

        • afilis
          Junior Member
          • Oct 2019
          • 13

          #5
          Thanks for the quick response, I will try it.

          Thanks a lot!

          Comment

          Working...