Hitachi

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


2.12.2 Settings for suppressing an invalid shared disk capacity response (for AIX and Linux)

If SNMP Agent receives a MIB acquisition request while the shared disk is not mounted, it returns an invalid shared disk capacity as the response. To suppress this response, you must specify /etc/SnmpAgent.d/esafilesys.conf. The following shows a coding example of /etc/SnmpAgent.d/esafilesys.conf.

Example

This example specifies /mnt/test as the shared disk and esatest as the file.

  check: /mnt/test esatest

In AIX and Linux, if SNMP Agent acquires a shared disk's file system information from a node where no logical host exists in a cluster system, it might return invalid information. This is because the target file system is not mounted. You can check whether the file system targeted by SNMP Agent is mounted, and if no file system is mounted, you can prevent file system information from being returned.

For details about file systems, see 4.2.2(2) fileSystem group and 4.3.2(20) fileSystem64 group.

Perform the following operations as a superuser.

Procedure

  1. Open the /etc/SnmpAgent.d/esafilesys.conf file in a text editor.

  2. Add the following line to the last line of the /etc/SnmpAgent.d/esafilesys.conf file:

    check: shared-disk-file-system-path-name name-of-applicable-file-located-immediately-under-shared-disk

    Example

    To monitor shared disks /shdisk1 and /shdisk2:

    Files test1 and test2 are located immediately under /shdisk1 and /shdisk2, respectively.

    check: /shdisk1 test1
    check: /shdisk2 test2
  3. Restart SNMP Agent.

    During startup, SNMP Agent loads /etc/SnmpAgent.d/esafilesys.conf. During this step, if the /etc/SnmpAgent.d/esafilesys.conf file contains a syntax error, SNMP Agent ignores the line containing the error and starts. The syntax error details are output to /etc/SnmpAgent.d/esafilesys.conf.err.