Alarms use Bots to execute automated Actions.
- name - The name of the Bot
- command - An
if-then-fistatement containing the Alarm name and Action name associated with the Bot. Alternatively, the
commandproperty can be a custom Linux command.
command property is automatically defined when creating a Bot within the CLI. The basic Op syntax is:
bot <name> = <command>
<command>line must be provided in the following format:
bot <name> = if <alarm_name> then <action_name> fi
alarm_nameThe name of the Alarm that the Bot monitors.
action_name- The name of the Action the Bot triggers when the monitored
<alarm_name>Alarm is raised.
For example, the following creates a
high_cpu_bot that fires the
high_cpu_action when the
high_cpu_alarm is raised.
bot high_cpu_bot = if high_cpu_alarm then high_cpu_action fi