Skip to main content

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.

Table 1. alertentries command.

The following table is a multi-row three column table consisting of the options, option descriptions, and associated values for the options.

OptionDescriptionValues
-numberAlert recipient index number to display, add, modify, or delete1 through 12
-statusAlert recipient statuson, off
-typeAlert typeemail, syslog
-logInclude event log in alert emailon, off
-nAlert recipient nameString
-eAlert recipient email addressValid email address
-ipSyslog IP address or host nameValid IP address or host name
-pnSyslog port numberValid port number
-delDelete specified recipient index number 
-testGenerate a test alert to specified recipient index number 
-crtSets critical events that send alertsall, 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:

  • te: critical temperature threshold exceeded
  • vo: critical voltage threshold exceeded
  • po: critical power failure
  • di: hard disk drive failure
  • fa: fan failure
  • cp: microprocessor failure
  • me: memory failure
  • in: hardware incompatibility
  • re: power redundancy failure
  • ot: all other critical events
-crtenSend critical event alertsenabled, disabled
-wrnSets warning events that send alertsall, 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:

  • rp: power redundancy warning
  • te: warning temperature threshold exceeded
  • vo: warning voltage threshold exceeded
  • po: warning power threshold exceeded
  • fa: non-critical fan event
  • cp: microprocessor in degraded state
  • me: memory warning
  • ot: all other warning events
-wrnenSend warning event alertsenabled, disabled
-sysSets routine events that send alertsall, 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:

  • lo: successful remote login
  • tio: operating system timeout
  • ot: all other informational and system events
  • po: system power on/off
  • bf: operating system boot failure
  • til: operating system loader watchdog timeout
  • pf: predicted failure (PFA)
  • el: event log 75% full
  • ne: network change
-sysenSend routine event alertsenabled, 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>