9.49. Configuration for the websphere check

Check if a a websphere cluster (or and) a websphere clone is in state running (through wsadmin)

WEBSPHERE

Explanation

WEBSPHERE is the enclosing tag for all websphere servers/clusters to check.

Parent

OSAGENT

allowed values

Count

0 or 1. If you don't define WEBSPHERE, no websphere check will run.

Example
  <WEBSPHERE>
    <WAS_HOME>/usr/IBM/WebSphere/AppServer</WAS_HOME>
    <WSADMIN_APPEND>-conntype SOAP -username test -password 123</WSADMIN_APPEND>

    <CLUSTER_STATE>
      <CLUSTER_NAME>ProdCluster</CLUSTER_NAME>
      <CELL_NAME>PRODCELL</CELL_NAME>
    </CLUSTER_STATE>

    <SERVER_STATE>
      <CELL_NAME>PRODCELL</CELL_NAME>
      <NODE_NAME>wassrv1</NODE_NAME>
      <SERVER_NAME>Clone01</SERVER_NAME>
    </SERVER_STATE>
  </WEBSPHERE>
        

WASHOME

Explanation

Where is WebSphere installed. The base directory should be specified with this tag

Parent

WEBSPHERE

allowed values

  • path to WAS_HOME (absolute)

Count

1

Example

Look at WEBSPHERE

WSADMIN_APPEND

Explanation

specify appending parameters to wsadmin (like conntype etc.)

Parent

WEBSPHERE

allowed values

  • valid parameter for wsadmin

Count

1

Example

Look at WEBSPHERE

WSADMIN_COMMAND

Explanation

if you want to specify your own command to get the output of wsadmin, you can specify it with this tag

Parent

WEBSPHERE

allowed values

  • valid command for wsadmin output (must know about the -f flag (for jacl script). You may want to use this option if you need to sudo the wsadmin command

Count

0 or 1

Example
  <WEBSPHERE>
    <COMMAND>sudo /usr/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/wsadmin.sh -conntype SOAP -user app -password app123</COMMAND>

    <CLUSTER_STATE>
      <CLUSTER_NAME>ProdCluster</CLUSTER_NAME>
      <CELL_NAME>PRODCELL</CELL_NAME>
    </CLUSTER_STATE>

    <SERVER_STATE>
      <CELL_NAME>PRODCELL</CELL_NAME>
      <NODE_NAME>wassrv1</NODE_NAME>
      <SERVER_NAME>Clone01</SERVER_NAME>
    </SERVER_STATE>
  </WEBSPHERE>
        

CLUSTER_STATE

Explanation

for each websphere cluster you want to check, define these tag-pair

Parent

WEBSPHERE

allowed values

Count

0 or 1. If you don't define CLUSTER_STATE, no cluster check will run.

Example

Look at WEBSPHERE

SERVER_STATE

Explanation

for each websphere app server you want to check, define these tag-pair

Parent

WEBSPHERE

allowed values

Count

0 or 1. If you don't define SERVER_STATE, no server check will run.

Example

Look at WEBSPHERE

CELL_NAME

Explanation

name of your webpshere cell

Parent

allowed values

  • valid name of your websphere cell

Count

1

Example

Look at WEBSPHERE

NODE_NAME

Explanation

name of your webpshere node

Parent

allowed values

  • valid name of your websphere node

Count

1

Example

Look at WEBSPHERE

SERVER_NAME

Explanation

name of your webpshere server (sometimes this is server1/Clone01)

Parent

allowed values

  • name of your webpshere application server, you want to check

Count

1

Example

Look at WEBSPHERE

CLUSTER_NAME

Explanation

name of your webpshere cluster

Parent

allowed values

  • name of your webpshere application cluster, you want to check

Count

1

Example

Look at WEBSPHERE