nerdexam
Oracle

1Z0-821 · Question #77

You have installed the SMF notification framework to monitor services. Which command is used to set up the notifications for a particular service?

The correct answer is A. svccfg. How to Set Up Email Notification of SMF Transition Events 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…

Managing Services and Processes

Question

You have installed the SMF notification framework to monitor services. Which command is used to set up the notifications for a particular service?

Options

  • Asvccfg
  • Bsvcadm
  • Csetnotify
  • Dsmtp-notify

How the community answered

(42 responses)
  • A
    83% (35)
  • B
    2% (1)
  • C
    5% (2)
  • D
    10% (4)

Explanation

How to Set Up Email Notification of SMF Transition Events 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 reason. 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] The following command creates a notification that sends email when the switch service goes into the online state. # /usr/sbin/svccfg -s svc:/system/name-service/switch:default setnotify to-online \ mailto:[email protected] Note: The svccfg command manipulates data in the service configuration repository. svccfg can be invoked interactively, with an individual subcommand, or by specifying a command file that contains a series of subcommands. Changes made to an existing service in the repository typically do not take effect for that service until the next time the service instance is refreshed. SMF Transition Events

Topics

#SMF#svccfg#service notifications#notification framework

Community Discussion

No community discussion yet for this question.

Full 1Z0-821 Practice