Hitachi

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


2.7.1 Specifying the system contact and system location

The system contact is the name of the system's administrative contact, or information on how to contact the system administrator. The system location is a description of the physical location of the system.

You can set the system contact and system location with either of the following methods:

If both methods are used, the system uses the option values of the snmpdm process.

Organization of this subsection

(1) Using the configuration file (/etc/SnmpAgent.d/snmpd.conf)

Use the following procedure to edit the configuration file (/etc/SnmpAgent.d/snmpd.conf) and to set the system contact and system location.

Procedure

  1. Search the configuration file for the following two lines:

    #contact:    # enter contact person for agent
    #location:   # enter location of agent

    These lines are located near the end of the configuration file.

  2. Delete the hash mark (#) preceding the contact: label and delete the comment (preceded by the hash mark (#)). Similarly, delete the hash mark (#) preceding the location: label and delete the comment.

  3. After the contact: label, enter the name of the person in charge of the system, expressed as a string of ASCII characters. The maximum length of the system contact is 255 characters. In this character string, include information about how to contact the person.

  4. After the location: label, enter the location of the system, expressed as a string of ASCII characters.

    The maximum length of the system location is 255 characters.

    Example:

    contact: Bob Jones (Phone 555-2000)
    location: 1st Floor near Mens Room

(2) Using the options of the snmpdm process

Specify the system contact and system location in the options and then start the snmpdm process. For details about the snmpdm process, see snmpdm in Chapter 5. Commands and Processes.

Example:

The following shows an example for AIX:

  /usr/sbin/snmpdm -C system-contact -L system-location