Mcontrol - Documentation for Bmc Truesight Infrastructure Management 11.3
Controldescriptionmetrics [On|Off|Reset|Intervalinterval|Amount Amount]On = Enables Metricsoff = Disables Metricsreset= Resets Running Countersinterval...
metrics [on|off|reset|intervalInterval|amount Amount]on = enables metrics
off = disables metrics
Must Read
reset= resets running counters
interval Interval = sets the length of the short term metrics collection in seconds. For example: interval 300
amount Amount = sets the number of short term metrics collection that make up a medium term metrics collection. For example: if the amount is 5, it means 5 short term metrics make up a medium term metrics collection.
If an argument is not specified, metrics are reported by default.
pauseprofiling on|off|reseton = enables the collection of profile data off = suspends the collection of profile data reset= resets the profile counter
To know the time spent to run each rule, see mgetinfo profiling.
prop [Destinations]reload [dir|trace|conf|collect|kb|data|all]Reload cell configuration, for one or more categories; if you do not select an argument, all categories reload
dir –mcell.dirtrace –mcell.traceconf –mcell.conf, propagate, modifycollect-collector definitionskb -Knowledge Base, classes, rulesdata –data instancesall –all the categories
When you run the mcontrol -n reload command, the cell generates an MC_CELL_RELOADED class event with category set to the list of all reloaded categories.
restartshutdownmkill -sstandbystartstatbldmcontrol waits until termination of the forced StateBuild and, if successful, returns the path to the resulting saved state filestopmkilltimer adjust Adjustment[eventEventID] [info TimerInfo]The timer expiration time is adjusted by the number of seconds specified by Adjustment. A positive value for Adjustment increases the amount of time it takes for the timer to expire. A negative value decreases the amount of time it takes for the timer to expire. If the negative Adjustment value is greater than the time it would take for the timer to expire, then the timer will expire immediately.
If no event is specified, all matching timers on all events are selected. If no timer information is specified, all timers on the indicated event for all timer rules are selected.
timer delete [event EventID] [infoTimerInfo]If no event is specified, all matching timers on all events are selected. If no timer information is specified, all timers on the indicated event for all timer rules are selected.
tracerule on | offon) or disables (off) rule tracingtracerule phases PhaseTraceRulePhasesparameter in the mcell.conf file. Use a plus sign before the phase name to enable tracing for all rules in that phase. Use a minus sign (-) before the phase name to disable tracing for all rules in that phase. For example: mcontrol -n CellName phases -new, +abstract
This command disables tracing of all rules in the new phase and enables all rules in the abstract phase.
tracerule names NameTraceRuleNames parameter in the mcell.conf file. For example: mcontrol -n CellName tracerule names problem_rule
This command enables tracing for the rule named problem_rule. Ifproblem_rule is of a phase that has been disabled by thetracerule phases command option, rule tracing forproblem_rule will not be enabled.
tracerule ports TraceportsDetermines the category of tracing messages that are reported. TheTraceports value has the same format as the TraceRulePortsparameter in the mcell.conf file and is a comma-separated list of any of the following trace message categories:
- entry
- using
- using_policy
- using_failure
- using_policy_failure
- assign
For example: mcontrol -n CellName tracerule ports entry, assign
This command traces all entry to the specified rules, and assignments within those rules.