get group

Returns a result set that contains either a list of the groups and a roll-up status for each group, or status of each server in a group and a roll-up status for the specified group. Roll-up status shows the lowest status reported; for example, if any server in a group is not UP, then the group status is reported as “SUSPECT”.

Syntax

get group [group_name]

Parameters

Examples

Usage

  • If you do not provide a group_name parameter, get group returns a result set that contains a roll-up status for each group:

    Column Descriptions for get group (Group List, and Roll-Up for Each Group)

    Column

    Description

    Group Name

    The name of the group.

    State Constant

    The integer constant that defines the state of the group.

    State

    The description that defines the state of the group. This is a string representation of the State Constant column.

    Description

    The reason string that describes the state of the group. If there is more than one description, this field should contain the first description.

    More Descriptions

    A flag that indicates whether there is more than one description string that describes the status of the group.

  • If you provide a group_name parameter, get group returns a result set that contains the status of each server:

    Column Descriptions for get group (Individual Server, and Roll-Up for Specified Group)

    Column

    Description

    Group Name

    The name of the group.

    Server Name

    The name of the server.

    Server Type

    The type of the server (Replication Server, Adaptive Server Enterprise, Replication Agent, and so on).

    Last Monitored

    A timestamp indicating that last time the server was monitored by the RMS. The timestamp is in the format MM/DD/YYYY HH:MM:SS.

    Version String

    Returns the server version string.

    State Constant

    The numeric status of the server.

    State

    The description that defines the state of the server. This is a string representation of the state constant.

    Description

    The reason string that describes the state of the server.

    More Descriptions

    Indicates whether additional information is available. If true, then the status of the server contains multiple descriptions. Use get status descriptions to retrieve a list of all descriptions for the server.

Related reference
create group
delete group
get status descriptions