Updates configuration information of one of more existing actions. If actionSeria
l and actionName
are both given, then the action matching the serial number given by actionSerial
is updated with the name given by actionName
. Omitting an action item implies the intent to remove that particular item. So if there are two action items for the action profile, and you are updating the parameters for action item #2 (method2), you must include the details of method1 verbatim (available via the action.list
command) first, and then the updated parameters for method2. Otherwise action item #1 is removed.
This command requires all the parameters to be specified even if you want to change only some parameters due to the nature of this command.
action.update <"actionName=<regexp>" | "actionSerial=<value>">
, "method<1..5>=<none|email>"
, "recipient<1..5>=<new_value>"
, "notifyOn<1..5>=<ok,|warning,|critical,|unknown>"
[, "notifyAfter<1..5>=<n_tests>"]
[, "repeat<1..5>=<n_tests>"
[, "description=<new_value>"]