Ad Widget

Collapse

[ZBX 5.4] Custom Trigger Prototype = Filesystem 100% Full

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • omar.cacciotti
    Junior Member
    • Jul 2021
    • 25

    #1

    [ZBX 5.4] Custom Trigger Prototype = Filesystem 100% Full

    Hello everybody!
    Thank you in advance for any suggestions:

    I will try to explain my issue.

    SCOPE: Build a trigger prototype for Filesystems at 100%. This trigger must be an "evolution" of standard template triggers:

    Step1 —> /: Disk space is low (used > 80%) <--- this is the default template trigger that's working
    Step2 —> /: Disk space is critically low (used > 90%). <--- this is the default template trigger that's working
    Step3 ---> /: Disk space is 100% FULL (used = 100%). <--- this is the custom that isn't working

    After many tries I simplified the rules:

    {my_host:vfs.fs.size[{#FSNAME},pused].last()}={$VFS.FS.PUSED.MAX.FULL:"{#FSNAME}"}


    Where VFS.FS.PUSED.MAX.FULL = 100

    Click image for larger version

Name:	Trigger prototype list.png
Views:	168
Size:	738.0 KB
ID:	434903

    I full cloned the AVERAGE trigger and modified some data:

    Click image for larger version

Name:	Custom Trigger detail.png
Views:	164
Size:	942.9 KB
ID:	434904

    And this is inherited at host level:

    Click image for larger version

Name:	Host triggers.png
Views:	142
Size:	631.0 KB
ID:	434905

    Any suggestion on how to solve the issue?
    This trigger not appears on the monitoring dashboard

    tnx!
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    What is the client returning for percent-used (pused) on that volume?

    Your trigger is written so that it will only evaluate to a problem when the value returned is exactly equal to 100. I haven't tested whether the zabbix_agent's tests include the filesystem "minfree" setting, but it's possible (in some cases) that your volume may be full without returning exactly 100 as the percent used.

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #3
      I would go with >99% (or 99.8 or similar) instead of =100

      Comment

      Working...