alertentries command
Use this command to manage alert recipients.
Note
- 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.
Syntax:
alertentries [-options]
Option | Description | Values |
---|---|---|
-[number] | Alert recipient index number to display, add, modify, or delete | 1 through 12 |
-type | Alert type | email, syslog |
-status | Alert recipient status | on, off |
-log | Include event log in alert e-mail | on, off |
-n [name] | Alert recipient name | String |
-e [email_address] | Alert recipient e-mail address | Valid email address |
-del | Delete specified recipient index number | |
-test | Generate a test alert to specified recipient index number | |
-ip [ipaddr|hostName] | Syslog IP address or host name | Valid IP address or host name |
-pn [port_number] | Syslog port number | Valid port number |
-crt | Sets critical events that send alerts | all, none, custom:te|vo|po|di|fa|cp|me|in|re|pc|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:
|
-wrn | Sets warning events that send alerts | all, none, custom:rp|te|vo|po|fa|cp|me|pc|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:
|
-sys | Sets routine events that send alerts | all, none, custom:lo|tio|ot|po|bf|til|pf|ne|au|nl|dh 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:
|
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 -2
-type: syslog
-status: on
-log: off
-n: syslog
-e:
-ip: 12.12.1.2
-pn: 514
-crt: all
-wrn: custom:rp|te|vo|po|fa|cp|me|pc
-sys: all
Предоставить обратную связь