Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Configuration Guide


6.9.2 Example of creating a general monitoring object (CPU monitoring by JP1/Cm2/SSO)

If you want to monitor items that are not supported by the automatic generation of monitoring trees (for example, you want to use JP1/Cm2/SSO version 8 or earlier to monitor CPUs), you need to create a monitoring object manually.

Organization of this subsection

(1) What you need to know before creating the object

If you want to use JP1/IM to monitor products that output SNMP traps, such as JP1/Cm2/SSO version 8 or earlier, you need to convert SNMP traps to JP1 events first. This is necessary because Central Scope uses the attribute names and attribute values of JP1 events as keys for monitoring objects.

You can use JP1/Base SNMP trap conversion to convert SNMP traps to JP1 events. With SNMP trap conversion, you can map the SNMP fields to the attributes of JP1 events.

The following table describes the correspondence between the attributes of a JP1 event that is converted from an SNMP trap and the fields of the SNMP trap.

Table 6‒6: JP1 event attributes and SNMP trap fields

JP1 event created as a result of conversion

SNMP trap to be converted

Basic attribute

Message

PDU Type

Extended attribute

Common information

SEVERITY

specific trap

--

--

Program-specific information

SNMP_OID

Enterprise

SNMP_DATE

Time stamp

SNMP_SOURCE

Agent address

SNMP_SEVERITY

Specific trap

SNMP_URL

--

SNMP_VARBIND_RESULT

--

SNMP_VARBIND_NUM

--

SNMP_VARBIND1

Value of Data 1 in the variable binding

SNMP_VARBIND2

Value of Data 2 in the variable binding

(Omitted)

(Omitted)

SNMP_VARBIND28

Value of Data 28 in the variable binding

Legend:

--: Indicates that no applicable information exists for the corresponding program-specific information in the message.

For details about SNMP trap conversion, see the JP1/Base User's Guide.

(2) Confirmation before creating a monitoring object

Confirm the following before you create a monitoring object for monitoring CPUs.

(3) Creating a monitoring object (CPU monitoring)

Figure 6‒17: Creating a general monitoring object

[Figure]

To create a monitoring object:

  1. In the Monitoring Tree (Editing) window, from the menu bar, choose Edit, and then Create New Monitoring Node.

    The Create New Monitoring Node window appears.

  2. Enter the node name, select the node type, and then click the OK button.

    Table 6‒7: Settings in the Monitoring node name and Monitoring node type

    Item

    Setting

    Monitoring node name

    Enter any name.

    We recommend a name that is easily recognizable. In this example, enter Category Monitoring (SSO).

    Monitoring node type

    Click Monitoring object. From the drop-down list, select User Monitoring Object.

    The monitoring object Category Monitoring (SSO) is added to the monitoring tree.

(4) Setting up the monitoring object (CPU monitoring)

Figure 6‒18: Setting up the general monitoring object (adding a status change condition - 1)

[Figure]

Figure 6‒19: Setting up the general monitoring object (adding a status change condition - 2)

[Figure]

To set up the monitoring object:

  1. Select the created monitoring object (Category Monitoring (SSO)). From the menu bar, choose Edit, and then Properties.

    The Properties window appears.

  2. In the Properties window, choose the Status-Change Condition tab. On the Status-Change Condition page, click the Add button.

    The Status-Change Condition Settings window appears.

  3. In the Status-Change Condition Settings window, specify a common condition, individual conditions, and other items.

    The status of the selected monitoring node changes when JP1/IM - Manager receives JP1 events. Specify the types of JP1 events that cause the monitoring node status to change.

    Enter a status change condition and then click the OK button. (When you click the OK button, the Status-Change Condition page returns.) If you want to enter another status change condition, click the Add button again and enter a condition in the Status-Change Condition Settings window.

    In the Status-Change Condition Settings window, enter or select values as described in the following tables.

    Table 6‒8: Settings in the Status-Change Condition Settings

    Condition name (any)

    Status

    Common condition

    CPU usage rate alert event (SSO)

    Alert

    Resource alert event (SSO)

    CPU usage rate error event (SSO)

    Error

    Resource error event (SSO)

    For each status change condition, specify individual conditions as follows. Click Add each time you add an individual condition.

    Table 6‒9: Settings in the Status-Change Condition Settings (individual conditions section)

    Monitoring node attribute name

    Attribute name

    Attribute value (example)

    Condition

    Category name

    E.SNMP_VARBIND2

    SSO

    Match

    Group name

    E.SNMP_VARBIND3

    Computer

    Match

    Resource name

    E.SNMP_VARBIND4

    CPU usage rate#1

    Match

    Event-issuing host

    E.SNMP_VARBIND11

    mgr-svr1#2

    Host name comparison

    Host name

    E.SNMP_VARBIND12

    agt-srv1#3

    Host name comparison

    #1: Specify the name of a resource that JP1/Cm2/SSO version 8 or earlier is to monitor.

    • For monitoring CPUs: CPU usage rate

    • For monitoring memory: Memory usage rate

    #2: Specify the event source host name. You can obtain the host name by executing gethostname. Specify the host name in the format displayed by the hostname command.

    #3: Specify the name of the host that is to be monitored. You can obtain host name by executing gethostbyaddr. When there is a DNS server, specify the name suffixed with the suffix provided by the DNS server. If there is no DNS server, specify the host name in the format written in the hosts file.

  4. When you have finished the settings, on the Status-Change Condition page, click the OK button.

    In the Monitoring Tree (Editing) window, from the menu bar, choose File, and then Update Server Tree. Check whether the monitoring node has been added to the monitoring object database of Central Scope.

You can also use a Category Monitoring (SSO) system-monitoring object to create the CPU Usage Rate Management (SSO) monitoring object for JP1/Cm2/SSO version 8 or earlier. After you create a Category Monitoring (SSO) system-monitoring object, add the required individual conditions to the status change condition.

Important

For JP1/IM to monitor JP1/Cm2/SSO version 8 or earlier, all JP1/Cm2/SSO and JP1/Base on the agents must be version 7 or 8.

If JP1/Cm2/SSO and JP1/Base on the agents are version 6, JP1/IM can monitor them. However, JP1/IM cannot automatically collect information from JP1/Cm2/SSO or JP1/Base, which results in extensive manual work in addition to the above procedure. For this reason, we do not recommend monitoring of JP1/Cm2/SSO version 6.

Note that the product name of JP1/Cm2/SSO is JP1/PFM/SSO for version 7 and JP1/SSO for version 6.