Hi,
I’m trying to limit the number of sub-folders that LibreNMS has automatically detected and is monitoring. I read on a post that it is possible to do it with ignore_mount_regexp
in config.php.
I added the following configuration:
$config['ignore_mount'][] = "/var/*";
$config['ignore_mount'][] = "/dev/run";
$config['ignore_mount'][] = "/run/*";
$config['ignore_mount'][] = "/sharedfolders/*";
$config['ignore_mount'][] = "/sys/*";
$config['ignore_mount'][] = "/tmp";
Should the configuration take effect immediately or do I need to run the config to apply changes? I also tried restarting the container (I’m running LibreNMS in a container), but the folders still show up under storage.
Thanks.