Ad Widget

Collapse

Exclude /mnt from being monitored

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wmh1s
    Junior Member
    • Jul 2022
    • 1

    #1

    Exclude /mnt from being monitored

    Hello all.

    We have around 30 servers sharing the same /mnt/nfs to which we export data to per cron. After the export is done, the disk space sits at 82%, triggering Zabbix "disk space is low on /mnt/nfs >80%". Therefore every time this happens (twice a day), I get 30 email notification telling me that the space of /mnt/nfs is being used >80%, which is annoying.
    How can I exclude this path from being monitored? I raised the value ({$VFS.FS.PUSED.MAX.WARN}) to 85%, but really the comfortable way would be to just exclude it from the monitoring...

    Thanks in advance and kind regards.
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    Hi, see https://git.zabbix.com/projects/ZBX/...s/linux_active for the list of macros, from there the {$VFS.FS.FSNAME.NOT_MATCHES} macro looks like what you need, add /mnt/nfs there. Maybe something like this:

    ^(/dev|/sys|/run|/proc|.+/shm$|/mnt/nfs$)

    Markku

    Comment

    Working...