Ad Widget

Collapse

Space Usage Trigger is not working

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • m.agios
    Junior Member
    • Apr 2024
    • 8

    #1

    Space Usage Trigger is not working

    Hello team,
    I am new in zabbix and i am trying to understand why the trigger of space usage of my Windows Server is not working.
    I have some Windows Server where i have install agent2 and add them in the Template: Windows by Zabbix agent.
    The trigger for disk usage for partion C is working but for the other partions does not work (D,E,etc).

    I check in the Latest Data, i see this:
    Click image for larger version

Name:	image.png
Views:	574
Size:	19.9 KB
ID:	481997

    This data collection is used in the Trigger for usage space:

    Click image for larger version

Name:	image.png
Views:	486
Size:	71.1 KB
ID:	481998


    This specific disk is almost full for 1 month since i am trying to configure the trigger before increasing the size.

    Please can you help me?
    Thank you
    MAgio

  • Answer selected by m.agios at 12-04-2024, 11:24.
    cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    add a host level macro {$VFS.FS.FREE.MIN.CRIT:"E:"} with value of 120G for example... that should cover your current free space and trigger might work...

    Comment

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

      #2
      It is pretty big disk. What's your values for those macros there?

      Comment

      • m.agios
        Junior Member
        • Apr 2024
        • 8

        #3
        Hi Cyber,

        I am new in Zabbix and i can not find where to see the values of these macros. Can you guide me please?
        Thanks

        Comment

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

          #4
          Template-> Macros -> there should be your macros... might also be that you have there similar macro but without ":E:" part... (or any letter).
          Or <your host> -> macros -> inherited and host macros

          Comment

          • m.agios
            Junior Member
            • Apr 2024
            • 8

            #5
            Hi Cyber
            Thanks for the steps!

            Click image for larger version

Name:	image.png
Views:	493
Size:	17.2 KB
ID:	482052

            This is what i see.

            Thanky ou

            Comment

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

              #6
              Nothing for {$VFS.FS.FREE.MIN.CRIT} ???

              I suppose it is on default value of 5G... So your trigger will not activate as you still have more than 5G of empty space and it does not change also...
              if you digest the trigger... "if last percentage of used space is over 90 and ((there is less than 5g of space left) or (it will fill up in 1 day))". so first part is TRUE.. both parts in ()-s are FALSE... so "TRUE and (FALSE or FALSE)" => "TRUE and FALSE" => FALSE... trigger does not activate...

              Trigger works on C drive probably because it is much smaller and its size also changes, which may indicate that it may fill up in a day...

              Comment

              • m.agios
                Junior Member
                • Apr 2024
                • 8

                #7
                You are write! This is the problem.
                Thank you for explaing and train me to undestand who to analyze values.

                Any suggestion how to fix it?

                Thank you

                Comment

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

                  #8
                  add a host level macro {$VFS.FS.FREE.MIN.CRIT:"E:"} with value of 120G for example... that should cover your current free space and trigger might work...

                  Comment

                  • m.agios
                    Junior Member
                    • Apr 2024
                    • 8

                    #9
                    You are the best! Thank you for assisting me!

                    Comment

                    Working...