What data is returned from the HealthState scripts? (NETIQKB37099)

  • 7737099
  • 02-Feb-2007
  • 17-Oct-2007

Resolution

goal
What data is returned from the HealthState scripts?

fact
AppManager 5.0

fact
AppManager 5.01

fact
WebLogic Server Unix

fact
JMSHealthState

fact
JMSServersHealthState

fact
JTAHealthState

fact
ServerHealthState

fact
TransResHealthState

fix

The HealthState scripts return the current state of a specific subsystem of a WebLogic Server.  The ServerHealthState script returns the health of the overall server.

There are 4 states for a subsystem: OK, WARNING, CRITICAL, or FAIL.  WebLogic identifies these as integers between 0 and 3, respectively.

In other NetIQ scripts, the number 100 indicates a good, healthy, or available server, and the number 0 indicates an unavailable server.  An example of this is the Availability script, which returns 100 if the server is up and 0 if the server is down.  If the ?Scale to 100?? parameter is set to ?y,? the HealthState is scaled such that OK is 100 and FAIL is 0.

The table below shows the various values if ?Scale to 100?? is set to ?y? or ?n.?

<.
/TR>

HealthState

?Scale to 100?? set to ?n?
(default WebLogic values)

?Scale to 100?? set to ?y?

OK

0

100

WARNING

1

66

CRITICAL

2

33

FAIL

3

0

.


Additional Information

Formerly known as NETIQKB37099