Opens an editor that allows you to create rules to be applied to monitors and to initiate alerting and action. For detailed information about writing and using rules, refer to the Guide to Rules and Monitors.
CLI resource: system
Uplogix system: All
LMS offerings: All
config rule [no] <"rulename">
Using the no modifier with the config rule command deletes the rule.
no – used before subcommands to remove attributes or entries.
conditions – list of elements evaluated from collected data and evaluated using thresholds to determine if rule is true
description – Provide information about the rule. This is a free text field of 255 characters. Use the no modifier to clear an existing description.
start – rule’s MMDDYYYYHHMMSS start time – INACTIVE before
expire – rule’s MMDDYYYYHHMMSS expiration time – INACTIVE after
show – display current settings
action <action name> <parameters> - may be any of the following:
Actions are executed in the order they are listed in the rule.
exit –save the rule and exit the rule configuration editor.
[admin@UplogixLM]# config rule carrier [config rule carrier]# show description Serial Carrier ProblControl Center action alarm -a "serial carrier problControl Center" conditions interface.operationalStatus equals up AND interface.lineProtocolStatus equals down AND serviceModule.currentLossOfFrame equals true AND serviceModule.currentLossOfSignal equals true exit exit
Inventory > group page > Automation > Rules - specific to this inventory group
Inventory > Local Manager page > Automation > Rules - specific to this system
1.1 - This command was introduced.
3.2 - The execute action was added.
3.4 - The emailLocal ManagerLog and restartLocal Manager actions were renamed emailSystemLog and restartSystem, respectively. The serviceProcessorPower actions were added. The certify, restore, and writeStatus actions were added.