File system definition file (esafilesys.conf)
- Organization of this page
Format
# comment check: file-system-path-name desired-file-name-located-immediately-under-file-system-path exclude: file-system-path-name
Overview
This file defines the following settings:
-
Setting for checking whether a monitored file system has been mounted
-
Specification of file systems to be excluded from monitoring
Location
HP-UX (IPF), Solaris, AIX, and Linux: /etc/SnmpAgent.d/esafilesys.conf
Detailed description
- check:
-
This argument sets up SNMP Agent to check whether the monitored file system has been mounted, and if it is not mounted, to prevent information on that file system from being acquired. This is specified mainly for cluster system shared disks that are being monitored.
You must insert a single space between check: and file-system-path-name, and between file-system-path-name and desired-file-name-located-immediately-under-file-system-path.
-
file-system-path-name
Specify a file system path name. The maximum number of characters allowed is 1,024.
-
desired-file-name-located-immediately-under-file-system-path
Specify the name of the desired file located immediately under the file system path. The maximum number of characters allowed is 1,024.
-
- exclude:
-
This option specifies the path name of the file system to be excluded from monitoring. Place one space after exclude:.
-
file-system-path-name
Specify a file system path name. The maximum number of characters allowed is 1,024.
-
- #
-
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
-
To specify multiple shared disks, add lines to define them.
-
Make sure that the file system path directory of a shared disk located on a local node of a cluster system does not contain the same name as the desired file name located immediately under a share disk, described in the /etc/SnmpAgent.d/esafilesys.conf file.
-
For the file system path of a shared disk, specify the following:
AIX: The first field (excluding the colon (:)) of /etc/filesystems
Linux: The fs_file field in the /etc/fstab file
-
The esafilesys.conf setting is enabled for the fileSystem64 group.
In AIX and Linux, the /etc/SnmpAgent.d/esafilesys.conf setting is enabled for both the fileSystem group and the fileSystem64 group. For details about the /etc/SnmpAgent.d/esafilesys.conf setting for the fileSystem64 group, 2.12.2 Settings for suppressing an invalid shared disk capacity response (for AIX and Linux).
Note that, in HP-UX (IPF) and Solaris, the /etc/SnmpAgent.d/esafilesys.conf setting is not enabled for the fileSystem group.
Definition examples
The example below monitors shared disks /shdisk1 and /shdisk2. The test1 and test2 files are located immediately under /shdisk1 and /shdisk2, respectively.
check: /shdisk1 test1 check: /shdisk2 test2
The following example stops /mnt/cdrom and /mnt/floppy information from being returned:
exclude: /mnt/cdrom exclude: /mnt/floppy