Ad Widget

Collapse

How do I Monitoring DISK Space in % on Linux servers?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NewUser1
    Member
    • Oct 2022
    • 36

    #1

    How do I Monitoring DISK Space in % on Linux servers?

    Hello,

    I didn't get any alerts when my 4 servers had their space at 95 % so i went to investigate further. I want to monitor the disk space on Linux hosts. I am running into a problem. When I go to Monitoring > Latest Data and look for the host I see the file system "/" , "/boot", and "/opt" , I don't care about boot, and depending on which system I am on I care about "/opt" and "/"

    When I select these two I see this:

    /: Free inodes in % /: Used space /boot: Used space

    ​​I want to get an alert when the space used is at 80% and 90%

    I see that I have the triggers configured for Linux by Zabbix agent but nothing was triggered for the /opt space used even when I made the macros {$VFS.FS.PUSED.MAX.WARN} at 15%. and {$VFS.FS.FREE.MIN.WARN} at 100G

    How do I make this trigger for /opt?
  • kyus
    Senior Member
    • Feb 2024
    • 172

    #2
    Hey!

    You said that no alerts were created, so, i assume that the triggers already exist for those servers, since they are part of the template "Linux by Zabbix Agent".
    Those triggers need at least two conditions to be true in order to generate an alert. Here's the description of one of them:

    Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"}.
    Second condition should be one of the following:
    - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"{#FSNAME}"}.
    - The disk will be full in less than 24 hours.
    Since you set {$VFS.FS.FREE.MIN.WARN} as 100G and {$VFS.FS.PUSED.MAX.WARN} as 15%, you probably had 2 conditions being true for those servers.

    So, maybe you should test one of those triggers expression manually, to see if it is working as expected.

    Comment

    Working...