How can i mute or silent disk alerts for mounted voulmes

Hello everyone,

I’ve been trying to mute or silence disk alerts for specific mounted volumes, but it hasn’t worked for me.

For example, I have a mounted volume like this:

x:x:x:x:/folder1      2T   1T  1T  50%  /mounted/folder1

I tried adding this to disks.conf:

  info: current disk space usage
    to: silent

…but the alerts are still showing up.

How can I properly silence disk space alerts for specific mounted volumes?

Hey, @Ori. Try using the chart labels option.

@ilyam8 Thanks for your response, How can i add this chart labels,
Do i need to add within netdata.config:

[chart labels]
        # mount_point=!/mnt/disk1 *

Or within disks.config

# you can disable an alarm notification by setting the 'to' line to: silent

# -----------------------------------------------------------------------------
# low disk space

# checking the latest collected values
# raise an alarm if the disk is low on
# available disk space

template: disk_space_usage
      on: disk.space
      os: linux freebsd
   hosts: *
families: *
    calc: $used * 100 / ($avail + $used)
   units: %
   every: 1m
    warn: $this > (($status >= $WARNING ) ? (80) : (90))
    crit: $this > (($status == $CRITICAL) ? (90) : (98))
   delay: up 1m down 15m multiplier 1.5 max 1h
    info: current disk space usage
      to: silent

template: disk_inode_usage
      on: disk.inodes
      os: linux freebsd
   hosts: *
families: !/dev !/dev/* !/run !/run/* *
    calc: $used * 100 / ($avail + $used)
   units: %
   every: 1m
    warn: $this > (($status >= $WARNING)  ? (80) : (90))
    crit: $this > (($status == $CRITICAL) ? (90) : (98))
   delay: up 1m down 15m multiplier 1.5 max 1h
    info: current disk inode usage
      to: silent

chart labels is an alert option. Did you read its description?

If you have an e.g., external disk mounted on /mnt/disk1 and you don’t wish any related disk space alerts running for it (but you do for all other mount points), you can add the following to the alert’s configuration:

chart labels: mount_point=!/mnt/disk1 *

@ilyam8 I have not used netdata extensively, hence i am not sure how to use it. Could help me out

Thanks