Ad Widget

Collapse

How can create a trigger with specific parameters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bab
    Senior Member
    • Aug 2020
    • 176

    #1

    How can create a trigger with specific parameters

    I have wrote a script that returns a string such as the table space usage is more than 90% (warning) and table space usage is more than 95% (disaster)
    but when I want create a trigger how can define when it meet 90% in this string "the table space usage is more than 90%" show warning and when meet 95% in this string "table space usage is more than 95% " show disaster ?

  • vladimir_lv
    Senior Member
    • May 2022
    • 240

    #2
    Can trigger dependencies help you?
    Just create 2 triggers. The first one, "90%" depends on the second trigger "95%".

    Comment

    • bab
      Senior Member
      • Aug 2020
      • 176

      #3
      Originally posted by vladimir_lv
      Can trigger dependencies help you?
      Just create 2 triggers. The first one, "90%" depends on the second trigger "95%".
      https://www.zabbix.com/documentation...s/dependencies
      As I said in the previous post the output message is "table space usage is more than 95%" this is more than one character . How can define warning trigger while it shows "table space usage is more than 90%" and define critical trigger while it shows "table space usage is more than 95%" ?

      Comment

      Working...