問題
EEMへ登録し、必要な時に手動実行できるEEM applet policyを作る方法はどれか。
- A
event manager applet ondemand event none action 1.0 syslog priority critical msg "This is a message from ondemand" - B
event manager applet ondemand action 1.0 syslog priority critical msg "This is a message from ondemand" - C
event manager applet ondemand event register action 1.0 syslog priority critical msg "This is a message from ondemand" - D
event manager applet ondemand event manual action 1.0 syslog priority critical msg "This is a message from ondemand"
正解:A
理由
event noneは、手動で起動できるEEM policyを登録する。
| コマンド名・構文 | 作用・条件 |
|---|---|
event manager run |
登録したApplet名をこの指定へ渡すと起動できる。 |
Applet名をondemandとしたりactionを定義したりするだけでは、手動実行用のevent条件は登録されない。
選択肢ごとの説明
- A.
event manager applet ondemand event none action 1.0 syslog priority critical msg "This is a message from ondemand" Event noneで手動実行できるpolicyとして登録し、syslog actionを指定している。
- B.
event manager applet ondemand action 1.0 syslog priority critical msg "This is a message from ondemand" Actionはあるが、手動実行用のevent noneがない。Applet名だけではeventの登録を代用しない。
- C.
event manager applet ondemand event register action 1.0 syslog priority critical msg "This is a message from ondemand" Event registerという指定は、IOSの手動実行用none detectorの構文ではない。
- D.
event manager applet ondemand event manual action 1.0 syslog priority critical msg "This is a message from ondemand" Event manualという指定は、IOSの手動実行用none detectorの構文ではない。