|
|
The umcli tool is an administrative and diagnostic tool. It provides commands for starting/stopping agents and the uOne system, changing log levels, and reloading various tables. The tool also has real-time monitors that can help operations personnel troubleshoot problems.
You can run the umcli tool in two ways:
Step 2 At the command line, type:
umcliStep 3 At the umcli prompt, enter a umcli command. (See "Command Descriptions" in this appendix.)
For example, type: get system status.
See "Command Descriptions"in this appendix for information about umcli commands. See Table F-1 for descriptions of umcli global commands.
| Command | Description |
|---|---|
help <command> | Displays help for the specified Gets help on the umcli command. |
exit | Exits the umcli tool |
Step 2 At the command line, type:
umcli -s <command>For example, type: umcli -s get system status
(See "Command Descriptions" in this appendix.)
![]() |
Note The watch command operates non-interactively when used in singelton mode. |
The umcli tool provides commands to help you
Description: Monitors a uOne subsystem in real time
Syntax: watch <component> [<Screen>]
| Component | Screen(s) | Description |
|---|---|---|
acb | globals | Displays ACB global counters in real time. |
| entries | Displays information about scheduled agents and sessions in use. |
| states | Displays information about states and state changes of scheduled agents. |
| comm | Displays information about the ACB, ICM, OCM, and LACS. |
| threads | Displays ACB OCM thread information. |
cma | groups | Displays CMA group information. |
| scr | Displays CMA system call router information. |
| sessions | Displays CMA session information. |
h323 | entries | Displays H.323 resource layer information for each resource ID. |
| radvision | Displays H.323 RADVision layer information for each call ID. |
| states | Displays H.323 protocol and state information for each CCR channel. |
sms | NA | Displays general information, notification state, and queued notification stats for SMS_Notify. |
notify | NA | Displays information about MWI_Notify and MWI_OnOff. |
faxprint | NA | Displays information about FaxPrint processes. |
| Watch Screen Commands | Description |
|---|---|
j | Moves the screen down one record. |
k | Moves the screen up one record. |
Ctrl-D | Moves the screen down one page. |
Ctrl-U | Moves the screen up one page. |
Q/q | Exits a watch screen and returns to the main umcli screen. |
| Section | Field | Description |
|---|---|---|
Outbound CM | Threads: Max | The maximum number of threads allowed |
| Threads:Idle | The current number of threads which are idle |
| Threads:In Use | The current number of threads which being used |
| Messages: In | The current number of messages processed. |
| Messages: Error | The current number of errors |
Inbound CM | Messages: Net | The number of messages from the network |
| Messages: SSIO | The number of messages from SSIO (LACS) |
| Errors: Net | The number of errors from the network |
| Errors: NetSSIO | The number of errors from the network going to SSIO (LACS) |
| Errors:SSIO | The number of pings to an agent |
| Section | Field | Description |
|---|---|---|
Instance info | Scheduled | The current number of scheduled agents. |
| Active | The current number of active agents. |
| Highwater (curr/max) | The current maximum number of concurrently active agents. / The configured absolute maximum number of concurrently active agents |
| HighWaterTime | The Date/time of the last change to Highwater. |
Current Apps | UM | The current number of scheduled (and possibly active) uOne agents. (Should be 0 or greater). |
| CMA | The current number of CMA agents. (Should be 0 or 1). |
| LogRemover | The current number of LogRemover agents (Should be 0 or 1). |
| MWI_OnOff | The current number of MWI_OnOff agents (Should be 0 or 1). |
| MWI_Notify | The current number of MWI_Notify agents (Should be 0 or 1). |
| FaxPrint | The current number of FaxPrint agents (Should be 0 or greater). |
| SMS_Notify | The current number of SMS_Notify agents (Should be 0 or greater). |
| Other | The number of scheduled agents not listed above (Should be 0 or greater). |
Agent Stats | Command | Any of four commands given to ACB (reload sched static, reload sched all, reload route acb, or set loglevel acb). |
| Execution Count | The number of times the given command has been executed. |
| Last Execution Time | The date and time of the last time the given command has been executed. |
| Agent | Any of the scheduled agents. |
| StartReq | The number of times the ACB has attempted to start an agent. |
| StartSuccess | The number of the ACB has successfully started an agent. |
| ExitsReq | The number of the ACB has attempted to kill an agent. |
| ExitSuccess | The number of the ACB has successfully killed an agent. |
Errors | Misc | The number of MiscStart errors returned. |
| NotFound | The number of Program not found errors returned. |
| DSFail | The number of Domain Services failed errors returned. |
| MaxExceeded | The number of times a StartRequest message was rejected because it would have exceeded the MaxInstances (Max Highwater) configurable (as defined in $PARMLIB/parms/APP/Attrib.Global). |
| QuiesceRejects | The number of requests rejected due to the system being in a quiesced state. |
| Section | Field | Description |
|---|---|---|
Scheduled Applications | Entry | The current Agent Control Table (ACT) table entry number. |
| PID | The Process ID (PID) of the currently scheduled (and possibly running) agent. |
| TYPE | The schedule type of the agent (External, Dynamic, Static, Static No Wait, Unknown). |
| STATE | The current state of the agent (Init, Idle, Transition, Shut, Run, Wait, NoStart, Unknown). |
| UPTIME | The current amount of time the agent has been scheduled since the last time it was loaded. |
| PRG/TOKEN | The process name / launching token of the agent. |
| ST/MX | The current number of start attempts. / The maximum number of start attempts before start requests (including auto restarts) are ignored (reload sched static and reload sched all resets the internal start attempts variable). A maximum of zero means unlimited. |
Sessions In Use | OBJ | The object type of the resource bound to this agent. (1 - ACB, 2 - CMA) |
| SubSys | The subsystem ID of the resource bound to this agent. The subsystem ID is ten the PID of an agent. |
| TimeInUse | The current amount of time this resource has been bound to this agent. |
| Section | Field | Description |
|---|---|---|
| Entry | The current Agent Control Table (ACT) table entry number. |
| Name | The agent name. |
| Type | The schedule type of the agent. |
| State | The current state of the agent. |
| Bound | The current number of resources bound to the agent |
| Section | Field | Description |
|---|---|---|
| Thr | The thread number for the current thread instance. |
| Host | The name of the host the thread is connected to. |
| Obj | The name of the object the thread is connected to, APP (ACB) or TNT(CMA). |
| St | The current state of the thread agent [(A)ctive or (I)nactive]. |
| Id | The EventOrCmdId of the current message. These codes are not published. |
| ComHandle | The session handle to the object for the current thread instance. |
| Tran# | The transaction number for the message. |
| Time | The time the message came in. |
| Section | Field | Description |
|---|---|---|
| Current Sessions | The current number of active sessions. |
| Peak Sessions | The maximum number of concurrently active sessions. |
| Total Sessions | The total number of sessions started/active while CMA has been running. |
(Session List) | Active Sessions | A list of the names of currently active sessions. |
| Section | Field | Description |
|---|---|---|
| Current Groups | The current number of active groups. |
| Peak Groups | The maximum number of concurrently active groups. |
| Total Groups | The total number of groups formed/active while CMA has been running. |
(Group List) | Group Id | The Group Id of the current group. |
| Parent Session | The session which owns this group. |
| Resources | The list of resources in the current group for the given session. Each resource is listed as a triple consisting of resource name, resource module name, and resource ID. |
| Section | Field | Description |
|---|---|---|
Current | Calls | The number of calls in process. |
| Inbound Calls | The number of inbound calls in process. |
| Outbound Calls | The number of outbound calls in process. |
Total | Calls | The total number of calls completed and in process. |
| Inbound Calls | The total number of inbound calls completed and in process. |
| Outbound Calls | The total number of outbound calls completed and in process. |
| Answered Calls | The total number of answered calls. |
| Answered Inbound Calls | The total number of inbound answered calls. |
| Answered Outbound Calls | The total number of outbound answered calls. |
| Abandoned Calls | The total number of abandoned calls.1 |
| Abandoned Inbound Calls | The total number of inbound abandoned calls. |
| Abandoned Outbound Calls | The total number of outbound abandoned calls. |
| Rejected Calls | The total number of rejected calls. |
| Rejected Inbound Calls | The total number of inbound rejected calls |
| Rejected Outbound Calls | The total number of outbound rejected calls |
| Drops | The total number of drops for answered calls.2 |
| Far End Drops | The total number of far-end drops for answered calls.3 |
| Near End Drops | The total number of near-end drops for answered calls.4 |
Peaks | Calls | The highest number of concurrently active calls. |
| Inbound Calls | The highest number of concurrently active inbound calls. |
| Outbound Calls | The highest number of concurrently active outbound calls. |
| Section | Field | Description |
|---|---|---|
(Resource Entry) | Rec# | The current resource record number. |
General | Handle | The handle for the H323 resource. |
| Allocated | Whether the resource type record is allocated. |
| Group | A pointer to the group in which the resource resides. NULL (0x00000000) indicates the resource is not part of a group. |
| ID | The H323 resource ID for the resource. |
| ANI | The originating caller id. |
| DNIS | The destination callee id. |
| RDNIS | The redirected destination callee id. |
| ConfID | The conference ID of the call. |
Call State | State | CCR State (Idle, Active, Hold, Unknown). |
| Connection | CCR Connection State (Null, Alerting, Fail, Hold, Connected, Queued, Initiated, Unknown). |
Outbound | ANI | The originating caller id for the outbound call. |
| Charge Number | The charge number for the outbound call. |
| Router IP | The IP address of the gateway handling the outbound call. |
| Call Type | The Outbound Call Type (GKRouted, DirectRouted, Unknown). |
| 1Note that the number of entries shown is three times the Max Ports parameter configured in H.323.ini. |
| Section | Field | Description |
|---|---|---|
(Resource Entry) | Rec# | The current call record number. |
General | Handle | The current handle for the RADVision call. |
| ID | The current RADVision call ID. |
| State | The current H225 call signaling State (DialTone, Proceeding, RingBack, Connected, Disconnected, Idle, Offering, Transferring, Unknown). |
| StateMode | The current H225 call signaling State Mode (DisconnectedBusy, Disconnected Normal, DisconnectedReject, DisconnectedUnreachable, DisconnectedUnknown, DisconnectedLocal, ConnectedControl, ConnectedCallSetup, ConnectedCall, OfferingCreate, OfferingInvite, OfferingJoin, OfferingCapNeg, OfferingCallIndSuppServ, Unknown) |
| Direction (CallType) | The current call direction (Idle, Inbound, Outbound, Unknown). |
| CallReason | The current reason for the call (D-Direct, A-SendAllCalls, B-Busy, N-No Answer, *-Unknown). |
| ANI | The current originating caller id. |
| DNIS | The current destination callee id. |
| RDNIS | The current redirected destination callee id. |
ChannelIn | ID | The current H245 Input Channel ID. |
| State | The current H245 Input Channel State (DialTone, RingBack, Connected, Disconnected, Idle, Offering, Unknown). |
| StateMode | The current H245 Input Channel State Mode (On, Off, DiscLocal, DiscRemote, Duplex, DiscReasonUnknown, DiscReasonReopen, DiscReasonResFail, Unknown) |
ChannelOut | ID | The current H245 Output Channel ID. |
| State | The current H245 Output Channel State (DialTone, RingBack, Connected, Disconnected, Idle, Offering, Unknown). |
| StateMode | The current H245 Output Channel State Mode (On, Off, DiscLocal, DiscRemote, Duplex, DiscReasonUnknown, DiscReasonReopen, DiscReasonResFail, Unknown). |
RTP Session | ID | The current RTP Session ID. |
| Dropped Packets | The current RTP Session's number of dropped inbound UDP packets. |
| Channels | The current RTP Session's number of channels (2 indicates a full duplex session). |
Aud Play | Data | The pointer to the current Audio Play Data Buffer. |
| Size | The size of the current Audio Play Data Buffer. |
| Pos | The current position of where we are playing in the current Audio Play Data Buffer. |
| State | The current state of the usage of the current Audio Play Data Buffer (Idle, Active, Beep, Unknown). |
Aud Rec | Data | The pointer to the current Audio Record Data Buffer. |
| Size | The size of the current Audio Record Data Buffer. |
| Pos | The current position of where we are playing in the current Audio Record Data Buffer. |
| State | The current state of the usage of the current Audio Record Data Buffer (Idle, Active, Beep, Unknown). |
Outbound | Routing Type | The current Outbound Call Routing type (GKRouted, DirectRouted, Unknown). |
| CallState | The current Outbound Call State type (Idle, Dialing, Connected, NoAnwser, Busy, Stopping, Unknown). |
| Dial String | The current Outbound Call Dial String. |
| Outbound ANI | The current Outbound originating caller id. |
| Router ID | The current IP address of the gateway handling this outbound call. |
| 1Note that the number of entries shown is three times the Max Ports parameter configured in H.323.ini. |
| Section | Field | Description |
|---|---|---|
| Chan | The current H323/RADVision CCR entry. |
| 225 | The current H225 State (D-DialTone, P-Proceeding, R-RingBack, C-Connected, S-Disconnected, I-Idle, O-Offering, T-Transferring,?-Unknown). |
| 245I | The current H245 Input Channel State (D-DialTone, R-RingBack, C-Connected, S-Disconnected, I-Idle, O-Offering,?-Unknown). |
| 245O | The current H245 Output Channel State (D-DialTone, R-RingBack, C-Connected, S-Disconnected, I-Idle, O-Offering,?-Unknown). |
| CCR | The current CCR State (I-Idle, A-Active, H-Hold,?-Unknown). |
| AudPl | The current state of the usage of the current Audio Play Data Buffer (Idle, Active, Beep, Unknown). |
| AudRc | The current state of the usage of the current Audio Record Data Buffer (Idle, Active, Beep, Unknown). |
| Dir | The direction of the call (I - idle, N - Inbound, O - Outbound, ? - unknown) |
| OCS | The outbound call state (I - Idle, D - Dialing, C - Connected, N - No Answer, B - Busy S - Stopping, ? - Unknown). |
| Chan# | The current H323/RADVision CCR entry. |
| ANI | The originating caller id. |
| DNIS | The current destination callee id. |
| RDNIS | The redirected destination callee id. |
| CT | The current reason for the call (D-Direct, A-SendAllCalls, B-Busy, N-No Answer, *-Unknown). |
| 1Note that the number of entries shown is three times the Max Ports parameter configured in H.323.ini. |
| Section | Field | Description |
|---|---|---|
General | Overall State | The overall state of the current SMS_Notify process (Starting Up, Sleeping, Notifying, Shutting Down). |
| LDAP State | The current state of the LDAP server configured for this SMS_Notify process (Unknown, Down, Up). |
| IMAP State | The current state of the IMAP server configured for this SMS_Notify process (Unknown, Down, Up). |
Notification | Total Sent | The total number of notification attempts made by this SMS_Notify process. |
| Total Failures | The total number of notification failures encountered by this SMS_Notify process. |
| Sent Last 5 min | The number of notification attempts made by this SMS_Notify process in the last 5 minutes. |
| Sent Last 15 min | The number of notification attempts made by this SMS_Notify process in the last 15 minutes. |
Queued Notifies | Total Queued | The total number of notification attempts which were queued for this SMS_Notify process. |
| Queued Last 5 min | The number of notification attempts which were queued for this SMS_Notify process in the last 5 minutes. |
| Queued Last 15 min | The number of notification attempts which were queued for this SMS_Notify process in the last 15 minutes. |
| Peak Queued | The maximum number of notification attempt which were concurrently queued for this SMS_Notify process and the date/time when the last peak occurred. |
| Section | Field | Description |
|---|---|---|
Notification Requests | General: Overall State | The current state of the MWI_Notify agent. |
| General: Connection State | The current connection state of the MWI_Notify agent. |
| General: Port | The current TCP port which MWI_Notify is using. |
| General: Time Connected | The current amount of time that MWI_Notify has been connected. |
| General: Incoming Messages | The total number of incoming messages (MWI_Notify). |
| Failures: Total Failures | The total number of failed notification messages (MWI_Notify). |
| Failures: Message Too Large | The total number of failures due to the notification message being too large. |
| Failures: Bad Message | The total number of failures due to the notification message being bad. |
| Failures: Records Ignored | The total number of records ignored. |
| Failures:Send Record | The total number of failures to send records. |
Notification Sends | General: Current State | The current state of the MWI_OnOff agent. |
| Requests: Total | The total number of notification requests from MWI_Notify. |
| Requests: Set Message Waiting Indicator Light | The total number of SMDI requests. These could be to set a light or to set stutter dial tone. |
| Requests: Notify Via Pager | The total number of SNPP and SMTP paging requests. |
| Failures: Total | The sum of No Subscriber Matches + Too Many Subscriber Matches + Invalid Notify Number + Set Message Waiting Indicator Light + Notify Via Pager failures. |
| Failures: No Subscriber Matches | The total number of failures due to no LDAP entry matches on the requested e-mail address. |
| Failures: Too Many Subscriber Matches | The total number of failures due to too many LDAP entry matches on the requested e-mail address. |
| Failures: Invalid Notify Number | The total number of failures due to an invalid notify number. |
| Failures: Set Message Waiting Indicator Light: | The total number of failures due to an SMDI request failure. |
| Failures: Notify Via Pager: | The total number of failures due to an SNPP or SMTP paging request failure. |
| Section | Field | Description |
|---|---|---|
(FaxPrint PID) | FaxPrint PID | The Process ID (PID) of the current FaxPrint agent being watched. |
Stats | State | The current state of the current FaxPrint agent. |
| Fax Host | The IMAP host for the current FaxPrint agent. |
| Fax User | The admin user for the current FaxPrint agent. |
| Successes | The current total successful send count for the current FaxPrint agent. |
| Returns | The current send return failure notice to user count for the current FaxPrint agent. |
Inbox Queue | Length | The current inbox queue length of outbound messages for the current FaxPrint agent. |
| Peak | The maximum inbox queue length of outbound messages for the current FaxPrint agent. |
| PeakTime | The date/time when the last inbox peak occurred for the current FaxPrint agent. |
Retry Queue | Length | The current outbound retry queue length for the current FaxPrint agent. |
| Peak | The maximum outbound retry queue length for the current FaxPrint agent. |
| PeakTime | The date/time when the last retry peak occurred for the current FaxPrint agent. |
Failures | Login | The current number of fax admin user login failures for the current FaxPrint agent. |
| MaxRetry | The current number of failures due to reaching the maximum number of fax send retries for the current FaxPrint agent. |
| Retry | The current number of moving fax to retry folder failures for the current FaxPrint agent. |
| FaxReturn | The current number of return undelivered fax notice failures for the current FaxPrint agent. |
| DestErr | The current number of destination error in receiving fax failures for the current FaxPrint agent. |
| BusyLine | The current number of line is busy failures for the current FaxPrint agent. |
| TimeOut | The current number of modem timeout failures for the current FaxPrint agent. |
| NoRoute | The current number of no route failures for the current FaxPrint agent. |
Description: Requests a supported value.
Syntax: get <variable>
| Variable | Description |
|---|---|
watchtime | Displays the refresh time in milliseconds for the watch screens. |
system status | Displays the current system status: up, down, or quiesce. |
loglevels | Displays the current run-time logging levels for the ACB, CMA, and all loaded Static/Static_Nowait agents. |
Description: Sets a supported value.
Syntax: set <variable> <value>
| Variable | Value | Description | |
|---|---|---|---|
watchtime |
| A number greater than 500. | Sets the refresh time for the watch screens in milliseconds. Any value less than 500 will be set to 500. |
loglevel acb |
|
| Sets the ACB error, warning, informational, and debug level logging. |
loglevel cma |
|
| Sets the CMA error, warning, informational, and debug level logging. |
loglevel <PID> |
|
| Sets the error, warning, informational, and debug level logging for the scheduled agent indicated by the PID. |
Description: Starts a uOne component.
Syntax: start <component>
| Component | Description |
|---|---|
acb | Starts the Agent Communications Broker (SPOBJ). This action starts the SPOBJ process and reloads the Schedule table, which triggers the starting of static application agents. It also starts the TRAPMAN and LOGSUB processes if they are not already running. |
cma | Starts the Call/Media Control agent (TNTOBJECT). This action starts the TNTOBJECT process. |
system | Starts the ACB, LOGSUB, TRAPMAN, and CMA. |
Description: Stops a uOne component.
Syntax: stop <component>
| Component | Description |
|---|---|
acb | Stops all application agents, CMA, and ACB. |
cma | Stops the Call/Media Control agent (TNTOBJECT). |
system | Stops all application agents (including LogRemover), CMA, ACB, TRAPMAN, and LOGSUB. |
Description: Quiesces either the ACB or the CMA server agent.
Syntax: quiesce <component>
| Component | Description | ||
|---|---|---|---|
acb | Allows current agent and ACB sessions to complete, but will not allow new sessions to begin. | ||
cma | Allows current Call/Media Control agent (TNTOBJECT) sessions to complete, but will not allow new sessions to begin.
|
Description: Reloads various tables.
Syntax: reload <table> <[parameters]>
| Table | Parameters | Description |
|---|---|---|
cmaloglevels | NA | Causes the CMA agent to reload the DBG and TRACE sections of the $PARMLIB/TNT/parms/TNT.ini file. |
dialmap | NA | Causes the CMA agent to reload the $PARMLIB/TNT/parms/Dialmap.ini file. |
route |
|
|
|
|
|
sched |
|
|
|
|
|
![]() |
Note If you add a new token to the Schedule.<hostname> table, you must use reload sched all or start acb to initially start the application. If you need to restart the application at a later time, you can use reload sched static <token> to restart a static application. |
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Sep 25 20:15:00 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.