Ad Widget

Collapse

Monitoring free space on any mounted drive on a Linux server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dbird@iqx.co.uk
    Junior Member
    • Apr 2024
    • 9

    #1

    Monitoring free space on any mounted drive on a Linux server

    I am looking for a way to edit a template (Linux by Zabbix agent) on a Linux host so that we can monitor the free space on all mounted drives and be alerted if it crosses a certain threshold. I gather the way to do this is add a macro to the template but I am unsure of what needs to be added to this.

    In short i want to check all linux (99% are Linux OpenSUSE Leap 15.4) servers if they have a mount in /mnt that the free space of this is greater than n%.

    I have not used the macros in a template before to know how to add one, or which ones I can use as a starting block in this template. But would I be looking at something like this: vfs.fs.size[/tmp,used] but changing tmp for mnt?
    Last edited by [email protected]; 09-04-2024, 11:07.
Working...