1Z0-821 · Question #4
You want the system to generate an email notification each time one of the services has changed its state. Which option would send an email message to the system administrator whenever a service…
The correct answer is C. Use the svccfg setnotify command to create a notification and send an email when a service enters. This procedure causes the system to generate an email notification each time one of the services or a selected service has a change in state. You can choose to use either SMTP or SNMP. Normally, you would only select SNMP if you already have SNMP configured for some other By…
Question
You want the system to generate an email notification each time one of the services has changed its state. Which option would send an email message to the system administrator whenever a service changes to the maintenance state?
Options
- AUse the setsc command in ALOM to enable the mail alerts to be sent to a specified email address
- BMake an entry in the /etc/syslog.conf file to instruct syslogd to send an email alert when it receives
- CUse the svccfg setnotify command to create a notification and send an email when a service enters
- DUse the scvadm command to enable the notification service. Set the -gmaintenance option on the
How the community answered
(31 responses)- A3% (1)
- B13% (4)
- C74% (23)
- D10% (3)
Explanation
This procedure causes the system to generate an email notification each time one of the services or a selected service has a change in state. You can choose to use either SMTP or SNMP. Normally, you would only select SNMP if you already have SNMP configured for some other By default, SNMP traps are sent on maintenance transitions. If you use SNMP for monitoring, you can configure additional traps for other state transitions. 1. Become an administrator or assume a role that includes the Service Management rights 2. Set notification parameters. The following command creates a notification that sends email when transactions go into the maintenance state # /usr/sbin/svccfg setnotify -g maintenance mailto:[email protected] How to Set Up Email Notification of SMF Transition Events
Topics
Community Discussion
No community discussion yet for this question.