System Administration Commands snmp-notify(1M) NAME snmp-notify - SNMP Notification Daemon for Software Events SYNOPSIS /usr/lib/fm/notify/snmp-notify DESCRIPTION snmp-notify is a daemon that subscribes to software events and FMA diagnosis and repair events and generates SNMP trap notifications based on a set of notification preferences which are stored in the SMF service configuration repository. SNMP notification preferences are set using svccfg(1M) snmp-notify is managed by the service management facility, smf(5), under the service FMRI: svc:/system/fm/snmp-notify:default Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The service's status can be queried using the svcs(1) command. Properties The following service properties can be set config/rootdir This is an astring property that defaults to "/". When set, the specified root directory will be used for all pathnames evaluated by snmp-notify. EXAMPLES Example 1 Configuring notification preferences for SMF service state transition events # svccfg setnotify -g from-online,to-maintenance snmp:active Example 2 Enabling SNMP notifications for Fault Management events # svccfg setnotify fma-diagnosis snmp:active Example 3 Listing notification settings for Fault Management events # svccfg listnotify fma-diagnosis ATTRIBUTES See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWfmd | |_____________________________|_____________________________| | Interface Stability | Unstable | |_____________________________|_____________________________| SEE ALSO svcs(1), svcadm(1M), syslogd(1M), attributes(5), smf(5) NOTES