Usage
Code Block |
---|
usage: wfcommand <pattern matching expression for workflow name> <'Workflow' | workflow service | agent> <instructions> ... |
Debug
The debug command cannot be sent to a specific agent, it is only functional on a workflow level.
...
Code Block |
---|
wfcommand <workflow> Workflow debug off |
Aggregation and Diameter agents
The Aggregation and Diameter agents allow the user to interact with the flow of data via the wfcommand. For further information, see Aggregation (4.23) and Diameter(4.23).
GTP agent
The GTP agent allows the user to view the MIM counters via the wfcommand. For further information, see GTP'(4.23).
The request counters and the timestamp, which are published as MIM values are also possible to view from the commandline command line tool.
Syntax to run the wfcommand function in mzcli:mzcli wfcommand <Workflow Name> <Agent Name> printcounters
Parameters
Parameter | Description |
| Name of the workflow |
that contains the GTP agent. | |
| Name of the GTP agent in the workflow. |
Info | ||
---|---|---|
Example - Executing the wfcommand
|
Supervision
By stating the Supervision service you can select to trigger and clear supervision actions with the wfcommand
command.
If you want to use the wfcommand
to trigger the Supervision service, you can append the following instructions:
manual
which has the following syntax:Usage:
manual [-action actionName actionParameters]
Simply entering manual will deactivate the Supervision Service configurations and switch to manual mode, which means that no conditions will be evaluated and no actions will be executed.
When using the
-action
option, the syntax will be as follows:Usage:
manual -action overload ( <ratio> | -trigger | -clear ) [strategy]
Options
Option | Description |
---|---|
ratio | If you want to trigger overload and reject a specific ratio of incoming requests, e g reject every fifth request, you can enter the ratio number here. 2 equals every second request, 5 equals every fifth request, etc. |
-trigger | Use this option if you want to trigger overload for everything. An event will then be sent out for monitoring purposes. This will disable the automatic Supervision configuration. |
-clear | Use this option if you want to clear overload for everything. Any Diameter/Radius overload protection strategies will be cleared and no requests will be rejected. The automatic Supervision configuration will then be disabled. |
Note! Using this option will not enable the automatic Supervision configuration. | |
[strategy] | Use this option to state a specific Diameter/Radius strategy, e g Diameter_AbortSessionRequest, Diameter_CCEventRequest, etc. |
automatic
is used to revert to automatic Supervision configuration.
...
Info | ||||||||
---|---|---|---|---|---|---|---|---|
Example - Trigger Overload Protection To trigger overload protection for a workflow:
An event will then be sent out for monitoring purposes. To clear overload protection for a workflow:
To reject every fifth Diameter AbortSessionRequest in a workflow:
To switch back to automatic mode:
See Supervision Service (4.23) for for more information. |
Return Codes
Listed below are the different return codes for the wfcommand
:
...