Configuring FileSystems
This topic provides you information about the configurations required to monitor filesystems.
You can configure filesystems from the Linux Basic monitor profile, Linux Default monitor profile, and the Configuring-Linux-Storage-monitor-profile monitor profiles. Each of these monitor profiles are associated with a group of monitor types.
Field | Description |
---|---|
FileSystems configuration | |
FileSystem monitoring | |
Monitor fstab files system only | Monitors the file system from fstab. By default, this is not enabled. |
FileSystem filtering | |
Exclude (regex) | Enter comma-separated regular expressions to identify the filesystems that you want to exclude from monitoring. To exclude the root filesystem, use the ^/$ regular expression. |
Include (regex) | Enter the mounted filesystem names (comma separated) or a regular expression to identify filesystems that you want to monitor. You can also enter a comma-separated list of regular expressions. To monitor all mounted filesystems, use the .* regular expression. By default, the following regular expressions are available in the field ^/$,^/tmp$,^/usr$,^/home$ and the following filesystems are monitored:
Only the mounted filesystems are discovered. To view the list of mounted filesystems, run the following command - “mount -v”. Note: Ensure that you enter different regular expressions in the Exclude (regex) and Include (regex) fields. If same regular expressions are entered in both the fields, the filesystems identified with the regular expressions would be excluded from monitoring. |
Exclude by type | You can use this section to exclude filesystems by type by selecting the required check boxes. The following options are available:
Note: These check boxes have priority over the values entered in the Include (regex) field. |
Container-related filesystems exclusion | |
Exclude (regex) | By default, the field contains a comma-separated list of regular expressions that would exclude container-related filesystems from monitoring: /var/lib/docker.*,/var/lib/kubelet.*,/run/docker/netns.*,/run/docker/runtime.*,/app/docker.*,/var/lib/origin/openshift.* To protect your environment from corrupting, BMC recommends you to retain the list. Add additional regular expressions to identify such container-related filesystems that you want to exclude from monitoring. |
Unmounted filesystems handling Note: If a filesystem is unmounted and any of the following options in the section are selected, the corresponding filesystem instances are removed from monitoring. For the unmounted filesystems, the FileSystem Mount Status attribute is not set to alarm and existing alarms are closed. If such filesystems are mounted again, the instances are rediscovered. | |
Remove by name (regex) | Enter comma-separated regular expressions to identify the filesystems that you want to remove from monitoring when they become unmounted. |
Remove by type | You can use this section to remove unmounted filesystems from monitoring by selecting the required check boxes. The following options are available:
|
Error handling | |
Disable data collection events | When the KM encounters an error while monitoring data, the collector generates an event. Select this check box to disable generating such events. |