Ad Widget

Collapse

Automatic adjustment to filesystem trigger based on total disk space

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RubenGarcia2081
    Junior Member
    • Nov 2021
    • 1

    #1

    Automatic adjustment to filesystem trigger based on total disk space

    Dear people

    We use Zabbix 5.0.16

    Today we use the official "os windows agent by Zabbix agent"-Template to monitor our windows servers if we need to adjust the total space on our disks.
    LInk to Template:


    Normally the template trigger comes with a static value for GB. ( ie. Warning-trigger has value of 10gb ).
    Using static values is insufficient due to unequal HDD-sizes throughout our servers.

    Using a %-value would be awesome. But with static percentages comes another problem.
    Let's say a warning trigger should occur if available disk space reaces 20%.
    20% of 100GB would be 20GB and this trigger would be fine, but 20% of a TB are 200GB, and this trigger would come too early.

    It would be awesome if the percentage trigger is adjusted with the current total disk size.
    I actually found something familiar, but on Check_MK. Link: https://docs.checkmk.com/latest/en/i...l#magic_factor

    I researched a bit found the formula for the specific magic factor and the key to automatic adjusting the trigger, but the formula contains calculations on potency-basis.
    As i found out, zabbix is not able to calculate this thing.

    Now i want to ask you, do you have something familiar set up on your zabbix?
    How should the trigger expression look like?

    Thank you!

    Ruben
Working...