Hitachi

JP1 Version 12 JP1/Extensible SNMP Agent Description, Operator's Guide and Reference


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:

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

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