Adding file system target definition file (esafstab.conf)
- Organization of this page
Format
# comment block_special_device_name mount_point
Overview
If there are file systems that you want to monitor as fileSystem64 group, specify them in the esafstab.conf definition file.
Location
Linux: /etc/SnmpAgent.d/esafstab.conf
Detailed description
- Block special device:
-
Specify the block special device (corresponding to the first field of /etc/fstab) of file the file system you want to add as a target.
The maximum number of characters allowed is 1,024. You can not specify a block special device which includes spaces.
- Mount point:
-
Specify the mount point (corresponding to the second field of /etc/fstab) of the file system you want to add as a target.
The maximum number of characters allowed is 1,024. You can not specify a mount point which includes spaces.
- #
-
The remainder of the line starting with a hash mark (#) is treated as a comment. A comment must be expressed as a string of ASCII characters.
Notes
-
Add multiple lines if you specify multiple file systems.
-
Setting of esafstab.conf applies to fileSystem64 group, and not to fileSystem group.
Definition examples
Monitoring mount point: /mnt/test1 (block special device: /dev/test), and mount point: /mnt/test2 (block special device: UUID=aaaa44444-55bb-6cc6-7777-ddd888888d8d)
/dev/test /mnt/test1 UUID=aaaa44444-55bb-6cc6-7777-ddd888888d8d /mnt/test2
Setting procedure
Perform the following steps in order to apply the settings in esafstab.conf:
-
If SNMP Agent is running, execute the command /opt/CM2/ESA/bin/snmpstop as a superuser.
-
Edit esafstab.conf with an editor.
-
Execute the command /opt/CM2/ESA/bin/snmpstart as a superuser.