トリガによるメール通知機能に関するFAQ


状態メール通知機能


作成日2007/Nov/09
最終変更日2007/Nov/09
文書サイズ10.7KB


  1. どんな時にメールが送信されますか?
  2. 設定方法を教えてください
  3. 通知されるメールの内容は?

  1. どんな時にメールが送信されますか?
    [Answer]
    "mail notify status exec"コマンドを実行するとメールが送信されます。

  2. 設定方法を教えてください
    [Answer]
    メールサーバ、テンプレートの設定に関しては、こちらを参照してください。

    mail notifyコマンドで通知内容を設定します。

    インターフェース(interface) show status lan1〜N
    show status bri1 (BRI対応機種のみ)
    show status pp N
    show arp
    show ipv6 address
    show ipv6 neighbor cache
    show status tunnel
    ルーティング(routing) show ip route
    show ipv6 route
    show ip rip table
    show ipv6 rip table
    show status ospf database (OSPF対応機種のみ)
    show status ospf neighbor (OSPF対応機種のみ)
    show status ospf interface (OSPF対応機種のみ)
    show status ospf virtual-link (OSPF対応機種のみ)
    show status bgp neighbor (BGP対応機種のみ)
    VPN(vpn) show ipsec sa (IPsec対応機種のみ)
    show ipsec sa gateway (IPsec対応機種のみ)
    show ipsec pptp (PPTP対応機種のみ)
    NAT(nat) show nat descriptor address all
    ファイアウォール(firewall) show ip connection (動的フィルタ対応機種のみ)
    show ipv6 connection (動的フィルタ対応機種のみ)
    show status ip inbound filter (ポリシーフィルター対応機種のみ)
    show status ipv6 inbound filter (ポリシーフィルター対応機種のみ)
    show status ip policy filter (ポリシーフィルター対応機種のみ)
    show status ipv6 policy filter (ポリシーフィルター対応機種のみ)
    show status ip policy service (ポリシーフィルター対応機種のみ)
    show status ipv6 policy service (ポリシーフィルター対応機種のみ)
    show ip intrusion detection
    設定内容・ログ(config-log) show environment
    show config
    show status boot (SRT100)
    show status boot list (SRT100以外の対応機種)
    show status boot all (SRT100以外の対応機種)
    show status packet-buffer
    show log

    例 1)
    • インターフェース、およびVPNの情報を通知する場合

      mail notify 1 1 trigger status interface vpn
    例 2)
    • 全ての情報を通知する場合

      mail notify 1 1 trigger status all

  3. 通知されるメールの内容は?
    [Answer]
    通知されるメール内容は以下の通りです。
    • 機種名
    • リビジョン
    • snmp sysname コマンドの設定名(設定されていれば)
    • snmp syslocation コマンドの設定名(設定されていれば)
    • 通知時刻(実際にメールを送信したときの日時)
    • テンプレートID
    • メッセージ
    • メール通知をする時刻から前数分間のログ(mail templateコマンドの[notify-log=SW]オプションを'on'にした場合)

    以下に例を挙げます。
    Model: SRT100
    Revision: Rev.10.00.27
    Name: yamaha-srt100-00a0de07fa8f
    Time: 2007/11/07 14:54:44
    Template ID: 1
    
    
    ----- "show ipsec sa" コマンドの実行結果 -----
    show ipsec sa
    
    ----- "show ipsec sa gateway" コマンドの実行結果 -----
    show ipsec sa gateway
    
         (show logコマンドの実行結果)


[ FAQ for RT-Series ]
[ FAQ for トリガによるメール通知機能 / files ]