Administrator Guide
[weekday day] [ month month] [monthday nday]} | cpu-usage
percentage | mem-usage percentage}
To delete the trigger event, use the no script trigger-event command.
Parameters
event-name
Enter the name of the script event to trigger.
log-event
tag tag—or—
ex tags
Enter the keywords log-event tag tag—or—ex then the
pattern (tag) in the syslog message to trigger the event if any
pattern matches the syslog message. You can enter a
maximum of three tags. Separate each tag by commas.
log-event
tag tag—and—
ex tags
Enter the keywords log-event tag tag-and-ex then the
pattern (tag) in the syslog message to trigger the event if all
the patterns match the syslog message. You can enter a
maximum of three tags. Separate each tag by commas.
log-event
tag tag—
regex tags
Enter the keywords log-event tag tag-regex then the
regex pattern (tag) in the syslog message to trigger the event
based on the regular expression. You can enter only one tag.
log-event
severity
severity
level
Enter the keywords log-event severity then the severity
level to define a trigger based on the syslog message severity
level. Valid message security levels are from 1 to 6.
time-event
start at
date-time
Enter the keywords time-event start at then the time
and date either in HH:MM—MM/DD/YY format to begin the
trigger event at the specified time and date or in HH:MM
format to begin the trigger event at the specified time on the
same day (if the mentioned time is elapsed, the event runs
on the next day HH:MM mentioned). The date can be the
present or future date.
time-event
start after
time
Enter the keyword start after then the time in [HHHH:]
MMMM format to begin the trigger event after the specified
time.
time-event
stop at
date-time
Enter the keyword stop at then the time and date either in
HH:MM—MM/DD/YY format to stop the trigger event at the
specified time and date or in HH:MM format to begin the
trigger event at the specified time on the same day (if the
mentioned time is elapsed, the event runs on the next day
HH:MM mentioned). The date must be a future date.
time-event
stop after
time
Enter the keyword stop after then the time in [HHHH:]
MMMM format to stop the trigger event after the specified
time.
count number Enter the keyword count then the number of times to
trigger the script event. The range is from 1 to 100.
interval time Enter the keyword interval then the time in [HHHH:]
MMMM format, in minutes, to schedule the script execution
interval.
Smart Scripting CLI
107