Universal Messaging 10.5 | Administration Guide | Using Command Central to Manage Universal Messaging | Universal Messaging and the Command Line Interface | Commands for Snooping on Channels | List Snooped Events on a Channel
 
List Snooped Events on a Channel
*To list the snooped events on a channel for a specific user in TSV format:
sagcc exec administration component node_alias Universal-Messaging-server_instance_name
channels snoop name=channel_name user=user_name
*To list the snooped events on a channel for a specific user in XML format:
sagcc exec administration component node_alias Universal-Messaging-server_instance_name
channels snoop name=channel_name user=user_name -f|--format xml
*To list the snooped events on a channel for a specific user in JSON format:
sagcc exec administration component node_alias Universal-Messaging-server_instance_name
channels snoop name=channel_name user=user_name -f|--format json
Arguments and Options
Argument or Option
Value
Universal-Messaging-server_instance_name
Required. The ID of the Universal Messaging server instance for which you want to list snooped events.
name=channel_name
Required. The name of the channel for which you want to list snooped events.
user=user_name
Required. The username of the user for whom you want to list snooped events.
[-f|--format {xml|json}]
Optional. Whether to list the snooped events in XML or JSON format.
Usage Notes
If the Universal Messaging server becomes unavailable after the snoop on the channel started, Command Central stops snooping all channels on that Universal Messaging server for all Command Central users. If you run the command that lists snooped events while the Universal Messaging server is unavailable, the system returns "snoopStarted=false" and an empty list of events.
Examples
*To list the snooped events in TSV format on channel "channel2", created on the server instance with ID "Universal-Messaging-umserver" that is installed in the installation with alias name "sag01", for user "Administrator":
sagcc exec administration component sag01 Universal-Messaging-umserver
channels snoop name=channel2 user=Administrator
*To list the snooped events in JSON format on channel "channel2", created on the server instance with ID "Universal-Messaging-umserver" that is installed in the installation with alias name "sag01", for user "Administrator":
sagcc exec administration component sag01 Universal-Messaging-umserver
channels snoop name=channel2 user=Administrator --format json