The svcs -n command displays the FMA events notification parameters, system wide SMF state transition notification parameters, and service instance state transition notification parameters. See “Notification Parameters” in the smf(7) man page for information about these parameters.
$ svcs -n Notification parameters for FMA Events Event: problem-diagnosed Notification Type: smtp Active: true reply-to: root@localhost to: root@localhost Notification Type: snmp Active: true Notification Type: syslog Active: true Event: problem-repaired Notification Type: snmp Active: true Event: problem-resolved Notification Type: snmp Active: true System wide notification parameters: svc:/system/svc/global:default: Event: to-maintenance Notification Type: smtp Active: true to: [email protected] svc:/application/pkg/mirror:default: Event: to-maintenance Notification Type: smtp Active: true to: [email protected]
Three FMA events are shown: problem-diagnosed, problem-repaired, and problem-resolved. Notification parameters can also be configured for a fourth event: problem-updated.
For the system wide state transition notification setting, the service that stores these global settings is also listed. This system wide setting is a custom setting. System wide, or global, values apply to all service instances that do not have custom values set.
The last setting shown is a custom setting for a particular service instance.
Use the svccfg listnotify command to show notification parameters for only the specified event. For state transition events, use the -g option to show global settings. The output also shows the source of the notification parameter values.
$ svccfg listnotify problem-resolved Event: problem-resolved (source: svc:/system/fm/notify-params:default) Notification Type: snmp Active: true $ svccfg listnotify -g to-maintenance Event: to-maintenance (source: svc:/system/svc/global:default) Notification Type: smtp Active: true to: [email protected] $ svccfg -s pkg/mirror listnotify to-maintenance Event: to-maintenance (source: svc:/application/pkg/mirror) Notification Type: smtp Active: true to: [email protected]
See Configuring Notification of State Transition and FMA Events for information about configuring event notification.