Sun N1 System Manager 1.0 管理ガイド

Procedure通知を作成、テストする

手順
  1. N1 System Manager にログインします。

    詳細は、「N1 System Manager のコマンド行にアクセスする」を参照してください。

  2. 次のコマンドを入力します。


    N1-ok> create notification notification topic topic
    type type destination destination
    

    通知が作成されて有効になります。この詳細と有効なトピックについては、「create notification」を参照してください。

  3. 次のコマンドを入力します。


    N1-ok> start notification notification test 
    

    テスト用の通知メッセージが送信されます。詳細は、「start notification」を参照してください。


例 7–8 電子メール通知の作成


N1-ok> create notification test2 topic EReport.Physical.ThresholdExceeded type email 
destination nobody@sun.com
N1-ok> show notification
Name    Event Topic                         Destination       State
test2   EReport.Physical.ThresholdExceeded  nobody@sun.com     enabled 


例 7–9 SNMP 通知の作成


N1-ok> create notification test2 topic EReport.Physical.ThresholdExceeded 
type snmp destination sun.com
N1-ok> show notification
Name    Event Topic                         Destination  State
test2   EReport.Physical.ThresholdExceeded  sun.com     enabled