Scheduler Jobs Management
© Copyright Lenovo 2017
The user is allowed to define up to 20 scheduler jobs as a mapping of event and
action. When the specified event occurs, the corresponding script is executed.
Table 385.
Scheduler Jobs Management Configuration Commands
Command Syntax and Usage
scheduler job name <job name>
Creates a scheduler job and Scheduler Job command mode.
Note: A scheduler job can be created prior to downloading/creating an actual
script.
Command mode: Global configuration
action <script file name> [<argument list>]
Configures the script file name to be executed and an optional list of
arguments that are passed to the script when executed. The list of arguments
must be provided as a string enclosed in double quotes and the arguments
must be separated by white spaces. The arguments string must not exceed 199
characters.
Command mode: Scheduler Job
event counter cpu ge <1‐99>
Triggers a script execution when CPU usage percentage exceeds an user
defined threshold. CPU usage percentage is checked every 60 seconds.
Command mode: Scheduler Job
event counter interface port <1‐64> igmpgroup ge <1‐3072>
[interval <11‐6010>]
Triggers a script execution when the number of IGMP groups learned on a
port is greater than the set up value.
The number of learned IGMP groups is checked, by default, every 260
seconds. The interval option changes the check frequency.
Command mode: Scheduler Job
event counter interface port <1‐64> {indiscard|outdiscard}
ge <1‐2147483647> [interval <10‐300>]
Triggers a script execution when the number of discarded frames per second
on a port is greater than or equal to the set up value. When an interval value
is configured, the discarded frames rate is averaged over a configured period
of time instead of a fixed interval 60 seconds.
Command mode: Scheduler Job
event counter interface port <1‐64> {inerror|outerror}
ge <1‐2147483647> [interval <10‐300>]
Triggers a script execution when the number of errors on a port is greater than
or equal to the set up value. When an interval value is configured, the error
frames rate is averaged over a configured period of time instead of a fixed
interval 60 seconds.
Command mode: Scheduler Job
Chapter 4: Configuration Commands
681