snmpalerts command
Use this command to manage alerts sent via the SNMP.
Running snmpalerts with no options displays all SNMP alert settings. The following table shows the arguments for the options.
Option | Description | Values |
---|---|---|
-status | SNMP alert status | on, off |
-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 snmpalerts -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 snmpalerts -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 snmpalerts -sys custom:lo|tio, where custom values are:
|
-sysen | Send routine event alerts | enabled, disabled |
snmpalerts [options]
options:
-status status
-crt event_type
-crten state
-wrn event_type
-wrnen state
-sys event_type
-sysen state