Virtual Memory Utilization % reported as a negative number
search cancel

Virtual Memory Utilization % reported as a negative number

book

Article ID: 50496

calendar_today

Updated On:

Products

CA eHealth

Issue/Introduction

Description:

For systems that eHealth polls which run the Compaq Insight Manager SNMP agent, the following OIDs are polled for virtual memory:

cpqHoPagingMemoryFree 1.3.6.1.4.1.232.11.2.13.4
cpqHoPagingMemorySize 1.3.6.1.4.1.232.11.2.13.3

The problem is that cpqHoPagingMemorySize (total virtual memory) reports a smaller value than cpqHoPagingMemoryFree (free virtual memory). When this occurs, the reports for the same display negative values for virtual memory utilization.
This is a Compaq mib bug.

Problem Ticket: PRD00048910

Solution:

To work around the Compaq agent bug, a new environment variable has been created starting in eHealth 6.2.2:

NH_DISCOVER_SYSTEM_KIND

*Currently, this variable has only one valid value which is '4'. Additional functionality/values will be added in eHealth 6.3.

By setting this variable, any Compaq SNMP agents when discovered will be associated in eHealth with agent types/MTF files which poll the Host Resources mib objects instead of the Compaq mib objects.

This environment variable has not been added to Discover Policy parameters. In order to use it, it must be set as a global environment variable.

On Unix:

  1. Edit the $NH_HOME/nethealthrc.sh.usr file and add the entry:

    NH_DISCOVER_SYSTEM_KIND=4; export NH_DISCOVER_SYSTEM_KIND
  2. Stop the eHealth server processes: nhServer stop
  3. Start the eHealth server processes: nhServer start

On Windows:

The variable needs to be set as a new system environment variable.

  1. Go to: Control Panel->System->Advanced tab->Environment Variables->Add (system variable)
  2. Enter variable and value:
    1. variable name = NH_DISCOVER_SYSTEM_KIND
    2. value = 4

Environment

Release:
Component: EHRPT