HP OpenView System Administration Handbook [Electronic resources] : Network Node Manager, Customer Views, Service Information Portal, HP OpenView Operations

Tammy Zitello

نسخه متنی -صفحه : 276/ 137
نمايش فراداده

16.4 OPERATING SYSTEM TOOLS INTEGRATION EXAMPLE

In the previous section, we saw how many operating system data collection tools are available to provide information about the performance of the managment environment. Several of the tools are already integrated within OVO via the Application Bank. Others could add functionality within OVO. The following example demonstrates use of the OVO monitor template to collect file system metrics using the external command

opcmon to feed the metric data into. The metric value is compared with the threshold and if the threshold is violated a message is created and delivered to the message browser using the

opcmsg command. Refer to the man pages for the complete command syntax.

The opcmon (API) could be incorporated into scripts or integrated within a scheduled actions template. In the example opcmon is executed from the command line. A brief explanation is provided with each step in the following external monitor program example.

  1. Create a monitor template. Refer to section 16.1.4.1 for the overall process to create, customize, assign, and distribute a monitor template.

  2. Leave the Monitor Program or MIB field blank and change the monitor type from Program to External. Add the monitor name. See Figure 16-12.

    Figure 16-12. The monitor template contains the monitor name and the monitor type is set to External.

    [View full size image]

    Add a new threshold condition as shown in Figure 16-13.

    Figure 16-13. The monitor template condition shows the match conditions (Object Pattern and Threshold) and message attributes (Severity, Message Group and Message Text).

    [View full size image]

  3. Assign and distribute the template to the managed node.

  4. Use the

    opcmon command to trigger a performance event that exceeds the template threshold.

  5. /opt/OV/bin/OpC/opcmon montest=90 object /var option device=/dev/vg00/lvol6

    • View the results in the message browser.

Figure 16-14. The Message Details window shows the results of the matched monitor condition and the custom message text.

[View full size image]