Ignore a mountpoint when running discovery

As docker volumes are constantly changing and in our case don’t need to be monitored I want to exclude them from check_mk discovery, so basically, everyhting under /vol/raid/docker/overlay2.

I can see here

to never ignore a mountpoiint. But where is the option to ignore one?

1 Like

I use Setup > Services > Service discovery rules > Disabled services to ignore mountpoints or other services.

ok, can you explain? what would you put here to ignore filesystems with a certain mountpoint pattern?

1 Like

Probably the literal string as it is discovered otherwise: Filesystem /vol/raid/docker/overlay2, or when applicable you can do regex too like .*/docker/.

Edit:
Oh, and good to know is that it looks for all services that starts with the string or regex you put in.
If you don’t want other strings to be matched that starts the same, close string with $

Silly example, if I want to ignore / but not /tmp, string would be Filesystem /$

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.