User manual

2
2-158
E/OS Command Line Interface User Manual
perf
1. Create a counter threshold alert using the command
perf.thresholdAlerts.counter.addAlert on page 2-161. Use this
command to create a name for the threshold alert that you can use
in subsequent commands. The threshold alert must then be
configured using the other counter threshold alert commands.
2. Assign the threshold alert to a port using the command
perf.thresholdAlerts.counter.addPort on page 2-162.
3. Configure the threshold alert using other perf.thresholdalert
commands. For example, you may want to associate the threshold
alert counter with the threshold alert name using the
perf.thresholdAlerts.counter.setCounter command, described on
page 2-164. Use the following commands to view alert settings
and configure an alert:
perf.thresholdAlerts.counter.removePort on page 2-163
perf.thresholdAlerts.counter.setCounter on page 2-164
perf.thresholdAlerts.counter.setParams on page 2-165
perf.thresholdAlerts.counter.show on page 2-166
perf.thresholdAlerts.counter.showStatisticTable on page 2-166
4. Once the alert is fully configured, activate the alert using the
perf.thresholdAlerts.setState command described on 2-168. To
modify an alert you will need to disable it first.
Activating a Throughput Threshold Alert
In order to activate a throughput threshold alert using the CLI, you
must enter certain commands in the specified sequence:
1. Create a throughput threshold alert using the command
perf.thresholdAlerts.throughput.addAlert on page 2-170. Use this
command to create a name for the threshold alert that you can use
in subsequent commands. The threshold alert must then be
configured using the other throughput threshold alert
commands.
2. Assign the threshold alert to a port using the command
perf.thresholdAlerts.throughput.addPort on page 2-171.
3. Identify the throughput statistic that triggers the throughput
threshold alert using the command
perf.thresholdAlerts.throughput.setUtilType on page 2-173.