I’m trying to use regular expressions for some of my hosts in Icinga, but even though it doesn’t throw any errors when I write and restart the configuration, it seems to be ignoring them.
Thanks for posting. I took the liberty to alter the topic and category as this is regarding a service check and the ITL.
Setting disk_partitions_excluded for the disk service check, results in the -x parameter being used for the check plugin. According to the monitoring plugins check_disk man page, -x results in a device being ignored, but it neither mentions globbing nor regex. Thus, the check plugin is unable to do so.
However, if you want to exclude every tmpfs, you should be able to add tmpfs to disk_exclude_type.