Type
  • Best practice
Description
  • This article explains how to monitor the hardware health of HP-UX servers through the HP WBEM provider.
Additional Keywords
  • HP, HP-UX, HP WBEM provider, WBEM

Related Topics

Knowledge Base

Monitoring HP-UX Servers Through the HP WBEM Provider

KB1154 - Aug 21, 2014 - Last reviewed on May 17, 2019

Objective

This article explains how to monitor the hardware health of HP servers running on HP-UX using the WBEM Management Bundle (HP-UX WBEM Provider) instead of the usual command lines utilities of the HP-UX operating systems.

Pre-requisites

The WBEM Management bundle for HP-UX must be installed on the HP-UX server(s) to be monitored.

Installing the WBEM Management Bundle for HP-UX

The WBEM Management Bundle is available by default for the most recent servers.

For the oldest ones, the bundle can be downloaded from the HP Software Depot website.

  1. Download the WBEM Management bundle for HP-UX, from http://software.hp.com/ on the HP-UX servers to be monitored
  2. Install the bundle using the following command:

    <pre>#  swinstall -s /WBEMMgmtBundle</pre>
    
  3. Run the following command to ensure that all the products of WBEM Management bundle have been successfully installed

    <pre>#  swverify <product name></pre>
    

    To verify the installation of the SysFaultMgmt product, you will for example run the following command:

    <pre># swverify SysFaultMgmt</pre>
    
  4. The Verification succeeded message should be displayed. If not, run the following command to check the log file for errors:

    <pre>#  grep -i error /var/adm/sw/swagent.log</pre>
    
  5. Fix the error and reinstall the product.

  6. Run the # cimprovider -l –s command to verify the status of all the WBEM Management Bundle modules.

    Verifying the status of all the WBEM Management Bundle modules

  7. All the modules statuses should be OK. If any of these modules appear to be stopped, run the following command:

    <pre>cimprovider  -e -m <module name></pre>
    

    For example:

    <pre>cimprovider -e -m HPUX_ProviderModule</pre>
    

    inline

  8. Provide the WBEM credentials to monitor the server. The user must have read and write authorizations on the CIM server. If this is not the case, run the following command:

    <div class="sourceCode">#cimauth -a -u username -n namespace [ -R ] [ -W ]  
    -R         - Specify a READ authorization (Default)  
    -W         - Specify a WRITE authorization</div>
    

Installing Hardware Sentry KM on the HP-UX System

To monitor HP UX severs, you need to install the PATROL Agent and the KM on the HP-UX system to be monitored. Refer to the Installation procedure for more information.

Configuring Java Path

By default, Hardware Sentry automatically detects the suitable JRE to use. To specify a different JRE, you will have to set the javaPath configuration variable. For more information, refer to the Global Configuration Variables.

Configuring Monitoring Through Hardware Sentry KM

Local monitoring

Once the Hardware Sentry KM is loaded, the connectors should automatically be detected and the monitoring should be in place. If the connectors are not detected automatically, check the WBEM credentials (Configuring Monitoring Protocols Settings) and provide appropriate credentials if required.

Remote Monitoring

To monitor a remote HP-UX server, you will have to Add the monitoring of remote hosts in TrueSight.

If you chose to automatically detect the suitable connectors, the monitoring should be in place. If no instances are created, check the WBEM credentials (Configuring Monitoring Protocols Settings) and provide appropriate credentials if required.

Hardware Sentry should now monitor:

  • Enclosure
  • Disk Controller
  • Fans
  • Logical and Physical Disks
  • Memory Modules
  • Network Interfaces
  • Power supplies
  • Processors
  • Temperature sensors
  • Voltage sensors