Ad Widget

Collapse

How we can change the threshold for disk usage in percentage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tek Chand
    Member
    • Mar 2019
    • 57

    #1

    How we can change the threshold for disk usage in percentage

    Hello Team,

    We are using Zabbix4.2 and everything is working fine. But we have large disk on our servers like 2 TB or 3 TB and threshold is 20% on disk alert. In our case 20% means around 400 GB space is available on disk. So we want to change the threshold from 20% to 10%. I have tried and made the changes in in trigger prototype and its changed but not reflecting on triggers and name.

    I disabled the existing item and triggers for disk in % and try to write new item but getting error that item is already exist with this key. And its expected error.

    Can you please help me how we can change the threshold for disk usage in % or can write new one?

    Thanks.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    After changing the trigger prototype threshold value of the linked template, select the discovery rule for the target host and execute the check now.

    Comment

    • Tek Chand
      Member
      • Mar 2019
      • 57

      #3
      Hello Atsushi,

      I have completed it now using another way:

      1. I have made the full clone of Template OS linux.
      2. Then create a macros with name and value {$TRIGGER_THRESHOLD_FREE_SPACE}, value 10.
      3. Go to Discovery rules, Triggers prototypes on "Mounted filesystem discovery" of this template.
      4. Change the expression. Use {$TRIGGER_THRESHOLD_FREE_SPACE} instead of the value "20".
      5. Add the newly created template to the host.

      Thanks.

      Comment

      Working...