reset_blade_stats.py
Use this script to reset the SNMP statistics for Diameter Gateway and the MDC Gateway. You can specify the gateway using the command options or you can use the gateway abbreviations.
Syntax
reset_blade_stats.py {-D | diam} {-W | gw} [-h] [-d] -e engineId -c clusterId
-b bladeId
Options
- -h, --help
- Help about the script options.
- -d, --debug
- Debug mode. When this option is set, more messages are displayed at the command line to help in debugging.
- -e engineId, --engine=engineId
- The
MATRIXX Engine
ID. If the
MATRIXX Engine
from which you are running the command is the target of the operation, you do
not have to specify this option. You can specify an Engine ID using the
-e engineId
syntax or by specifying the engine number. For example, when running this script on engine ID 2, the following commands are equivalent:reset_blade_stats.py
reset_blade_stats.py -e 2
reset_blade_stats.py 2
- -c clusterId, --cluster=clusterId
- The cluster on which to run the command. If the cluster from which you are running the
command is the target of the operation, you do not have to specify this
option. When not specified, the
${MTX_ENGINE_ID}
and${MTX_CLUSTER_ID}
environment variables determine the cluster. - -b bladeId, --blade=bladeId
- The server on which to run the script. If the engine ID and cluster ID are not specified,
the script runs on the specified server in the local engine and cluster. If
no options are specified, the script runs on the local server in the local
engine and cluster. When identifying a server by its server number, you must
specify the fully qualified number of the logical server:
engineId:clusterId:bladeId,
for example,
1:1:1
. - -D, --diameter
- Resets the diameter statistics. You can use the abbreviation
diam
when specifying this option. For example, the following two commands are equivalent:reset_blade_stats.py -D
reset_blade_stats.py diam
- -W, --mdc_gateway
- Resets the MDC Gateway statistics. You can use the abbreviation
gw
when specifying this option. For example, the following two commands are equivalent:For example, the following two commands are equivalent:reset_blade_stats.py -W
reset_blade_stats.py gw
For more information about the MATRIXX environment variables, see the discussion about container directories and environment variables in MATRIXX Installation and Upgrade.