Managing Faults in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Configuring When and How You Will Be Notified

Use the svcs -n and svccfg listnotify commands to show event notification parameters, as shown in Showing Event Notification Parameters in Managing System Services in Oracle Solaris 11.2 .

Use the svccfg setnotify command to configure FMA error event notification, as shown in Configuring Notification of State Transition and FMA Events in Managing System Services in Oracle Solaris 11.2 . For example, the following command creates a notification that sends an SMTP message when an FMA-managed problem is repaired:

$ svccfg setnotify problem-repaired smtp:

You can configure notification of fault management error events to use the Simple Mail Transfer Protocol (SMTP) or the Simple Network Management Protocol (SNMP).

FMA event tags include problem-diagnosed, problem-updated, problem-repaired, and problem-resolved. These tags correspond to the problem lifecycle stages described in Fault Management Overview.

Event notification and FMA event tags are also described in the “Notification Parameters” section in the smf(5) man page. For more information about the notification daemons, see the snmp-notify(1M) and smtp-notify(1M) man pages.

Settings for notification parameters for FMA events are stored in fmnotify properties in svc:/system/fm/notify-params:default. Events generated by SMF state transitions are stored in the service or in the transitioning instance. System-wide notification parameters for SMF state transition events are stored in svc:/system/svc/global:default.