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 | Start Snooping on a Queue
 
Start Snooping on a Queue
*To start snooping on events on a queue for a specific user:
sagcc exec administration component node_alias Universal-Messaging-server_instance_name
queues startSnoop name=queue_name user=user_name
*To start snooping on events on a queue for a specific user with filtering criteria:
sagcc exec administration component node_alias Universal-Messaging-server_instance_name
queues startSnoop name=queue_name user=user_name [fromeid=first_event_id]
[toeid=last_event_id] [filter=filter_string]
Arguments and Options
Argument or Option
Value
Universal-Messaging-server_instance_name
Required. The ID of the Universal Messaging server instance on which you want to snoop.
name=queue_name
Required. The name of the queue on which you want to snoop.
user=user_name
Required. The username of the user for whom you want to start snooping.
[fromeid=first_event_id]
Optional. The ID of the first event in the event range on which you want to start snooping.
[toeid=last_event_id]
Optional. The ID of the last event in the event range on which you want to start snooping.
[filter=filter_string]
Optional. Additional filtering criteria based on the properties of the event.
Usage Notes
When you want to start snooping on a range of events:
*If you do not specify fromeid, the range of events starts with the first event on the queue and ends with the event specified for toeid.
*If you do not specify toeid, the range of events starts with the event specified for fromeid and ends with the last event on the queue.
Examples
*To start snooping on events 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 startSnoop name=queue1 user=Administrator
*To start snooping on the events with IDs from "2" to "10" 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 startSnoop name=queue1 user=Administrator fromid=2 toid=10