Universal Messaging 10.3 | Administration Guide | Using Command Central to Manage Universal Messaging | Universal Messaging and the Command Line Interface | Commands for Snooping on Queues | List Snooped Events on a Queue
 
List Snooped Events on a Queue
*To list the snooped events on a queue for a specific user in TSV format:
sagcc exec administration component node_alias Universal-Messaging-server_instance_name
queues snoop name=queue_name user=user_name
*To list the snooped events on a queue for a specific user in XML format:
sagcc exec administration component node_alias Universal-Messaging-server_instance_name
queues snoop name=queue_name user=user_name -f|--format xml
*To list the snooped events on a queue for a specific user in JSON format:
sagcc exec administration component node_alias Universal-Messaging-server_instance_name
queues snoop name=queue_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=queue_name
Required. The name of the queue 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 queue started, Command Central stops snooping on all queues 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 queue "queue1", 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
queues snoop name=queue1 user=Administrator
*To list the snooped events in JSON format on queue "queue1", 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
queues snoop name=queue1 user=Administrator --format json