Ad Widget

Collapse

Increasing trigger severity as free disk space reduces

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Onge
    Junior Member
    • Jun 2020
    • 3

    #1

    Increasing trigger severity as free disk space reduces

    I am trying to create increasing trigger severities as disk space gets lower and lower but am struggling a little, hope someone can help.

    I currently have 3 triggers configured for free disk space:

    less than 10GB = average
    less than 5GB = high
    less than 1GB = disaster

    This works but means if a host has less than 1GB we have 3 triggers showing on our dashboard.

    I would like the most severe trigger to show by itself ideally.

    I have thought about creating 3 triggers as below:

    less than 10GB and greater than or equal to 5GB = average
    less than 5GB and greater than or equal to 1GB = high
    less than 1GB = disaster

    But as free disk space decreases you'd receive an OK for the 10GB and then a problem for the 5GB and I think this would be confusing.

    Is there a way to get alerts for less than 10GB and then if the free disk space reduced below 5GB free, to also get an alert for less than 5GB whilst at the same time closing the less than 10GB alert but not notifying with an OK?
    If the free space then went back above 5GB but still less than 10GB it should open another 10GB trigger.

    I would like this to apply to the less than 1GB free alert as well.

    Would dependencies allow this to work?

    Any help appreciated.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    The way - https://www.zabbix.com/documentation...s/dependencies

    Comment

    • Onge
      Junior Member
      • Jun 2020
      • 3

      #3
      Thank you Hamardaban - in my head I couldn't envision how dependencies could solve this, but can confirm it works as described above.

      I have applied this to my remaining hard drive space alerts and remaining RAM alerts as well.

      The snip below shows what I ended up with.

      Click image for larger version

Name:	Dependant disk alerts.PNG
Views:	1057
Size:	24.1 KB
ID:	412795

      Comment

      Working...