Channel and Queue Monitoring Commands
You can retrieve information about channels and queues using the following commands:
View the list of administration namespaces using the
sagcc get administration component node_alias Universal-Messaging-umserver command.
Retrieve all the configuration information about a channel in XML format using the
sagcc get configuration data node_alias Universal-Messaging-umserver UM-CHANNELS-channel name command.
Retrieve information about the options available for monitoring channels using the
sagcc get administration component node_alias Universal-Messaging-umserver channels command.
List the channels on a
Universal Messaging server instance using the
sagcc get administration component node_alias Universal-Messaging-umserver channels list command.
Retrieve the status of a specific channel in TSV format using
sagcc get administration component node_alias Universal-Messaging-umserver channels status name=channel name command.
Retrieve a list of durable subscribers on a specific channel in TSV format using the
sagcc get administration component node_alias Universal-Messaging-umserver channels durablesubscribers name=channel name command.
Delete a durable subscriber subscribed to a channel using
sagcc exec administration component node_alias Universal_Messaging-umserver channels deletedurablesubscriber name=channel_name durablesubscriber=durable subscriber nameExamples
To view the list of administration namespaces:
sagcc get administration component sag01 Universal-Messaging-umserver
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running.
To retrieve all the configuration information about a channel:
sagcc get configuration data sag01 Universal-Messaging-umserver
UM-CHANNELS-channelname
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running. UM-CHANNELS is the configuration type and channelname is the name of the channel from which the information is to be retrieved.
To retrieve information about the options available for monitoring channels:
sagcc get administration component sag01 Universal-Messaging-umserver channels
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running.
To retrieve the list of channels on a
Universal Messaging server instance:
sagcc get administration component sag01 Universal-Messaging-umserver channels
list
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running. list is the command to list all the channels in a server instance.
To retrieve the status of a specific channel in TSV format:
sagcc get administration component sag01 Universal-Messaging-umserver channels
status name=channel_name
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running.channel_name is the channel name for which the status is to be retrieved.
To retrieve a list of durable subscribers on a specific channel in TSV format:
sagcc get administration component sag01 Universal-Messaging-umserver channels
durablesubscribers name=channel_name
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running. channel_name is the name of the channel from which the durable subscribers list is to be retrieved.
To delete a durable subscriber subscribed to a channel:
sagcc exec administration component sag01 Universal_Messaging-umserver channels
deletedurablesubscriber name=channel_name durablesubscriber=durable_subscriber_name
sag01 is the alias name of the installation where Universal-Messaging-umserver server instance is running. channel_name is the name of the channel, and durable_subscriber_name is the name of the durable subscriber that has to be deleted from this channel.