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 [<em className="ph i">options</em>]
options:
-status <em className="ph i">status</em>
-crt <em className="ph i">event_type</em>
-crten <em className="ph i">state</em>
-wrn <em className="ph i">event_type</em>
-wrnen <em className="ph i">state</em>
-sys <em className="ph i">event_type</em>
-sysen <em className="ph i">state</em>