asg alert
This command is supported only on these:
|
|
Note - You can run this command in Gaia gClish or in the Expert mode. |
|
Best Practice - Run the " |
Description
The "asg alert
" command is an interactive wizard that configures system alerts for Security Group Member and Security Group events.
These events include hardware failure, recovery, and performance-related events. You can create other general events.
An alert is sent when an event occurs. For example, when the value of a hardware resource is greater than the threshold.
The alert message includes the Site ID, Security Group Member ID, and/or unit ID.
If the test fails, an alert appears. The alerts continue to appear in the Message of the Day (MOTD) until the issues are resolved. When the issues are resolved, a Clear Alert message appears the next time the test runs. You can manually run the "insights
" command or the "hcp
" command to confirm the issue is resolved.
The "asg alert
" wizard has these options:
Option |
Description |
---|---|
1) Full Configuration Wizard |
Creates a new alert. |
2) Edit Configuration |
Changes an existing alert. |
3) Show Configuration |
Shows existing alert configuration. |
4) Run Test |
Runs a test simulation to make sure that the alert works correctly. |
Alert Configuration Procedure

Step |
Instructions |
|
---|---|---|
1 |
Connect to the command line on the Security Group. |
|
2 |
Log in. |
|
3 |
Run:
|
|
4 |
Enter the number of the applicable option and press Enter:
|
|
5 |
Enter the number of the applicable option and press Enter:
|
|
6 |
Configure the required parameters as prompted by the wizard. |
SMS Alert Parameters

Parameter |
Description |
---|---|
SMS provider URL |
Fully qualified URL to your SMS provider. |
HTTP proxy and port |
Optional. Configure only if the Security Gateway requires a proxy server to reach the SMS provider. |
SMS rate limit |
Maximum number of SMS messages sent per hour. If there are too many messages, they can be combined together. |
SMS user text |
Custom prefix for SMS messages. |
Email Alert Parameters

Parameter |
Description |
---|---|
SMTP server IP |
One or more SMTP servers to which the email alerts are sent. |
Email recipient addresses |
One or more recipient email address for each SMTP server. |
Periodic connectivity checks |
Tests run periodically to confirm connectivity with the SNMP servers. If there is no connectivity, alert messages are saved and sent in one email when connectivity is restored. |
Interval |
Interval, in minutes, between connectivity tests. |
Sender email address |
Email address of the sender for alerts. |
Subject |
Subject header text for the email alert. |
Body text |
User defined text for the alert message. |
Log Alert Event Types

There are no parameters to configure.
-
Select event types for which to send alerts:
-
All event types (enter:
all
). -
None of the event types (enter:
none
). -
Specific event types (enter the required numbers).
Some Hardware Monitor event types apply only to Scalable Chassis.
-
-
Configure the Log Mode to one of these:
-
Enabled (enter:
e
).The Security Group sends an alert for the selected events.
-
Disabled (enter:
d
).The Security Group does not send alerts for the selected events.
-
Monitor (enter:
m
).The Security Group generates a log entry instead of an alert.
-
System Event Types: