|
|
The umcli tool is an administrative and diagnostic tool. It provides commands for starting/stopping server agents and the uOne system, changing log levels, and reloading the Schedule 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 1 At the command line, type umcli.
Step 2 At the umcli prompt, enter a umcli command. ("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 specifed Gets help on the umcli command. |
exit | Exits the umcli tool |
Step 1 At the command line, type: umcli -s <command>.
For example, type: umcli -s get system status
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 and client server subsection counters in real time. |
| entries | Displays real-time information about scheduled applications and sessions in use. |
| states | Displays real-time information about states (state changes) of scheduled applications. |
| threads | Displays acb thread information. |
cma | groups | Displays CMA groups information |
| sessions | Displays CMA session information |
h323 | entries | Displays H.323 information for each record number. |
| radvision | Displays H.323 RadVision information for records. |
| states | Displays H.323 state information for channels, H.323 protocol layers. |
sms | NA | Displays general information, notification state, and queued notification stats. |
notify | NA | Displays information about MWI_Notify. |
faxprint | NA | Displays information about FaxPrint. |
| 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 |
| 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 |
| Errors: Net | The number of errors from the network |
| Errors: NetSSIO | The number of errors from the network going to SSIO |
| 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 Datetime of the last 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 (resched static, resched all, reroute 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 StartRequest messages received by ACB for the given agent. |
| StartSuccess | The number of Successful Starts for a given StartRequest message. |
| ExitsReq | The number of ExitRequest messages received by ACB for the given agent. |
| ExitSuccess | The number of Successful Exits for a given ExitRequest message. |
Errors | Misc | The number of MiscStart errors returned. |
| NotFound | The number of Program not found errors returned. |
| DSFail | The number of Domain Services faild errors returned. |
| MaxExceeded | The number of times a StartRequest messages which 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 quiesce state. |
| Section | Field | Description |
|---|---|---|
Scheduled Applications | Entry | The current ACT table entry number. |
| PID | The Process ID (PID) of the currently schedule (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 it was loaded. |
| PRG/TOKEN | The process name / token of the agent. |
| ST/MAX | The current number of start attempts / The maximum number of start attempts before start requests are ignored (Resched static and Resched all resets the internal start attempts variable). |
Sessions In Use | OBJ | The object type of the resource bound to this agent. |
| SubSys | The subsystem ID of the resource bound to this agent. |
| TimeInUse | The current amount of time this resource has been bound to this agent. |
| Section | Field | Description |
|---|---|---|
| Entry | The current 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. |
| St | The current state of the agent [ (A)ctive or (I)nactive]. |
| Id | The EventOrCmdId of the current message. |
| ComHandle | The 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 Sessions | The session which owns this group. |
| Resources | The list of resources in the current group for the given session. |
| Section | Field | Description |
|---|---|---|
(Resource Entry) | Rec# | The current resource record number. |
General | Handle | The handle for the H323 resource. |
| Allocated | Whether one or more resource type records are allocated. |
| Group | A pointer to the group in which the resource resides. NULL indicates the resource is not part of a group. |
| ID | The H323 resource ID. |
| ANI | The originating caller id. |
| DNIS | The destination caller id. |
| RDNIS | The redirected destination caller id. |
Call State | State | CCR State (Idle, Active, Hold, Unknown). |
| Connection | CCR Connection State (Null, Alerting, Fail, Hold, Connected, Queued, Initiated, Unknown). |
| Section | Field | Description |
|---|---|---|
(Resource Entry) | Rec# | The current resource record number. |
General | Handle | The current handle for the Radvision resource. |
| ID | The current Radvision resource ID. |
| State | The current H225 State (DialTone, Proceeding, RingBack, Connected, Disconnected, Idle, Offering, Transferring, Unknown). |
| StateMode | The current H225 State Mode (DisconnectedBusy, Disconnected Normal, DisconnectedReject, DisconnectedUnreachable, DisconnectedUnknown, DisconnectedLocal, ConnectedControl, ConnectedCallSetup, ConnectedCall, OfferingCreate, OfferingInvite, OfferingJoin, OfferingCapNeg, OfferingCallIndSuppServ, Unknown) |
| ANI | The current originating caller id. |
| DNIS | The current destination caller id. |
| RDNIS | The current redirected destination caller 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 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 Play Record Buffer. |
| Size | The size of the current Audio Play Record 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). |
| Section | Field | Description |
|---|---|---|
| Chan | The current H323/Radvision 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). |
| APP | 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). |
| Chan# | The current H323 entry. |
| DNIS | The current destination caller id. |
| RDNIS | The redirected destination caller id. |
| CT | The current reason for the call (D-Direct, A-SendAllCalls, B-Busy, N-No Answer, *-Unknown). |
| Section | Field | Description |
|---|---|---|
(SMS Agent) | SMS PID | The Process ID (PID) of the SMS_Notify process we are watching. |
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 made 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 by this SMS_Notify process. |
| Queued Last 5 min | The number of notification attempts which were queued by this SMS_Notify process in the last 5 minutes. |
| Queued Last 15 min | The number of notification attempts which were queued by this SMS_Notify process in the last 15 minutes. |
| Peak Queued | The maximum number of notification attempt which were concurrently queued and the datetime 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 port which MWI_Notify is using. |
| General: Time Connected | The current amount of time which 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 message (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. |
| Requests: Notify Via Pager | The total number of SNPP 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 address. |
| Failures: Too Many Subscriber Matches | The total number of failures due to too many LDAP entry matches on the requested 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 a SMDI request failure. |
| Failures: Notify Via Pager: | The total number of failures due to a SNPP request failure. |
| Section | Field | Description |
|---|---|---|
(FaxPrint PID) | FaxPrint PID | The Process ID (PID) of the current FaxPrint agent. |
Stats | State | The current state of the current FaxPrint agent. |
| Fax Host | The host of the current FaxPrint agent. |
| Fax User | The admin user of the current FaxPrint agent. |
| Successes | The current total successful send count for the current FaxPrint agent. |
| Returns | The current send return notice to user count for the current FaxPrint agent. |
Inbox Queue | Length | The current outbound inbox queue length for the current FaxPrint agent. |
| Peak | The maximum outbound inbox queue length for the current FaxPrint agent. |
| PeakTime | The datetime when the last peak occurred for the current FaxPrint agent. |
Retry Queue | Length | The current outbound inbox queue length for the current FaxPrint agent. |
| Peak | The maximum outbound inbox queue length for the current FaxPrint agent. |
| PeakTime | The datetime when the last peak occurred for the current FaxPrint agent. |
Failures | Login | The current number of fax admin 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. |
| TotalSend | The current number of SMTP send fax 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 system variable 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 or Down. |
Description: Sets a system variable value.
Syntax: set <variable> <value>
| Variable | Error Type | Value | Description |
|---|---|---|---|
watchtime | NA | 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. |
Description: Starts a uOne subsystem.
Syntax: start <component>
| Component | Description |
|---|---|
acb | Starts the Agent Communications Broker agent (SPOBJ). This action starts the SPOBJ process and reloads the Schedule table, which triggers the starting of 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, logging, TRAPMAN, and CMA. |
Description: Stops a uOne subsystem.
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, CMA, ACB, TRAPMAN, LogRemover, and LOGSUB. |
Description: Quiesces either the ACB or CMA server agent.
Syntax: quiesce <component>
| Component | Description |
|---|---|
acb | Allows current application agents 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. Note The umcli tool does not currently support quiescing the CMA agent. |
Description: Reloads ACB's or CMA's Route.<hostname> configuration file.
Syntax: reroute <agent>
| Agent | Description |
|---|---|
acb | Reloads the Route.<hostname> configuration file for the ACB. |
cma | Reloads the Route.<hostname> configuration file for the Call/Media Control agent. |
Description: Reloads either the entire or specific entries in the Schedule Table.
Syntax: resched <component>
| Component | Description |
|---|---|
all | Forces the ACB to reload the Schedule.hostname table and starts any static agents in the table that are not running. It will not stop any agents currently running. |
static <token> | Starts a specified static application that already exists in the Schedule.<hostname> table. <token>=any token in the Schedule.<hostname> table that is designated as a static application, for example, FaxPrint, LogRemover, etc. |
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Sep 25 19:53:50 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.