alertentries command
Use this command to manage alert recipients.
- alertentries with no options display all alert entry settings.
- alertentries -number -test generates a test alert to the given recipient index number.
- alertentries -number (where number is 0 - 12) display alert entry settings for the specified recipient index number or allow you to modify the alert settings for that recipient.
The following table shows the arguments for the options.
Option | Description | Values |
---|---|---|
-number | Alert recipient index number to display, add, modify, or delete | 1 through 12 |
-status | Alert recipient status | on, off |
-type | Alert type | email, syslog |
-log | Include event log in alert email | on, off |
-n | Alert recipient name | String |
-e | Alert recipient email address | Valid email address |
-ip | Syslog IP address or host name | Valid IP address or host name |
-pn | Syslog port number | Valid port number |
-del | Delete specified recipient index number | |
-test | Generate a test alert to specified recipient index number | |
-crt | Sets critical events that send alerts | all, none, custom:te|vo|po|di|fa|cp|me|in|re|ot Custom critical alert settings are specified using a pipe separated list of values of the form alertentries -crt custom:te|vo, where custom values are:
|
-crten | Send critical event alerts | enabled, disabled |
-wrn | Sets warning events that send alerts | all, none, custom:rp|te|vo|po|fa|cp|me|ot Custom warning alert settings are specified using a pipe separated list of values of the form alertentries -wrn custom:rp|te, where custom values are:
|
-wrnen | Send warning event alerts | enabled, disabled |
-sys | Sets routine events that send alerts | all, none, custom:lo|tio|ot|po|bf|til|pf|el|ne Custom routine alert settings are specified using a pipe separated list of values of the form alertentries -sys custom:lo|tio, where custom values are:
|
-sysen | Send routine event alerts | enabled, disabled |
Syntax:
alertentries [options]
options:
-number recipient_number
-status status
-type alert_type
-log include_log_state
-n recipient_name
-e email_address
-ip ip_addr_or_hostname
-pn port_number
-del
-test
-crt event_type
-crten state
-wrn event_type
-wrnen state
-sys event_type
-sysen state
Example:
system> alertentries
1. test
2. <not used>
3. <not used>
4. <not used>
5. <not used>
6. <not used>
7. <not used>
8. <not used>
9. <not used>
10. <not used>
11. <not used>
12. <not used>
system> alertentries -1
-status off
-log off
-n test
-e test@mytest.com
-crt all
-wrn all
-sys none
system>
Give documentation feedback