
Triggers Configuration
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
60.3
4.
Configure trigger 2
To create trigger two, use the command:
awplus(config)#
trigger 1
Set the trigger to activate at 5.30pm:
awplus(config-trigger)#
type time 17:30
Set the trigger to activate on Monday, Tuesday, Wednesday, Thursday and Friday:
awplus(config-trigger)#
day mon tue wed thur fri
To add the script “open.cfg”, use the command:
awplus(config-trigger)#
script 1 open.cfg
Specify a helpful description, such as “access allowed to video sharing sites”. Use the
command:
5.
Verify the configuration
To check the configuration of the triggers, use the command:
awplus#
show trigger
Capturing Unusual CPU and RAM
Activity
The following configuration allows you to troubleshoot high CPU or RAM usage by the device.
It uses two triggers to capture show output, and places this output in a file.
■
Trigger three activates the script cpu-usage.cfg when CPU usage is over 90% and can
activate up to 5 times
■
Trigger four activates the script ram-usage.cfg when RAM usage is over 95%, and can
activate up to 10 times
1.
Create the cpu-usage.cfg configuration script
Create a configuration script with the appropriate show commands:
2.
Create the ram-usage.cfg configuration script
Create a configuration script with the appropriate show commands:
3.
Configure trigger 3
To create trigger three, use the command:
awplus(config)#
trigger 3
Set the trigger to activate when CPU usage exceeds 80%, use the command:
awplus(config-trigger)#
type cpu 90 up
Add the configuration script “cpu-usage.cfg” to the trigger, by using the command:
awplus(config-trigger)#
script 1 cpu-usage.cfg
awplus(config-trigger)#
description access allowed to video
sharing sites
Содержание AlliedWare Plus 5.2.1
Страница 8: ...65 Stacking Commands Introduction 65 2 Appendix l Command List ...
Страница 10: ......
Страница 218: ......
Страница 376: ......
Страница 726: ......
Страница 806: ......
Страница 1006: ......
Страница 1056: ......
Страница 1235: ...Stacking Reference This part includes the following chapters Chapter 64 Stacking Introduction Chapter 65 Stacking Commands ...
Страница 1236: ......