FortiADC E シリーズ 設定手順書
12 Log & Report
本章では、ログ情報と機器の負荷状況を表示される項目についての内容を記載いたします。
FortiADC E シリーズ 設定手順書
Object Name アラート対象となったオブジェクト名です。
Alert Name 設定されるアラート名です。
以下に説明する例では CLI にログイン時にハイライト2つのペンディングアラートが確認 出来ます。
12000004: You have 2 pending alert notifications.
eqcli >
alert_interval パラメーターの設定によって、ペンディングメッセージの確認インターバルを 変更する事が可能です。また、ペンディング通知がある場合にはコンソール上にメッセー ジが表示されます。
1. ペンディング通知の数に変更が生じた時
2. コマンドプロンプトでデータを入力しない状態が継続した際には、ペンディング通知 は Enter キーが押された時点で表示されます。
12.1.2.2 通知の表示
全てのペンディング通知リストを表示するには show notification を実行します。
eqcli > show notification
生成されるアラート順にアラート通知がリストされます。
eqcli > show notification
ID Time Stamp Type Obj Type Obj Name Alert Name 1 Jan 1 00:00:00 state_change server server1_80 al_test1 2 Jan 1 00:00:00 state_change server server2 al_test2 3 Jan 1 00:00:00 state_change si server2 al_test2 4 Jan 1 00:00:00 state_change si server2 al_test2 5 Jan 1 00:00:00 state_change si svever1_80 al_test1 eqcli>
最初の通知を表示したい場合には show notification first を入力します。以下は表示例 になります。
eqcli > show notification first fiest
Notification ID : 1 Alert Type : state_change Alert Subtype : Up Alert Name : al_switch Object Type : interface Object Name : swport01
Message : 50000197: Port 1 has become ACTIVE
FortiADC E シリーズ 設定手順書
フィルタリング表示する事で 1 つ、もしくは複数の適合する通知を表示させる事も可能で す。
eqcli> show notification first alert_type alerttype object_type objecttype object_name objectname
オブジェクト名が明確な場合、object_type も明記する必要があります。以下は swport01 の表示例です。
eqcli > show notification first alert_type state_change object_type interface object_name swport01
Notification ID : 1 Alert Type : state_change Alert Subtype : Up Alert Name : al_switch Object Type : interface Object Name : swport01
Message : 50000197: Port 1 has become ACTIVE eqcli >
12.1.2.3 Notification の削除
通 知 さ れ た Notification は 連 番 で リ ス ト 化 さ れ ま す 。 通 知 さ れ 、 確 認 が 済 ん だ Notification を削除します。
表示される Notification リストの ID の左ボックスにチェックを入れゴミ箱をクリックすると、
指定した Notification が削除されます。表示される全ての Notification を選択したい場 合には、Alert Name の左ボックスにチェックを入れると全選択になります。
CLI での削除は no notification all で削除します。
eqcli > no notification all
個別のアラート通知を削除する場合には no notification <id-number> で ID 番号を入力 します。
eqcli > no notification <id-number>
以下表示と削除の実行例です。
eqcli > show notification
ID Time Stamp Type Obj Type Obj Name Alert Name 1 Feb 23 16:41:08 state_change interface if01 UI, syslog 2 Feb 23 16:41:08 state_change interface if06 UI, syslog 3 Feb 23 16:41:08 state_change fogrp Unassigned al_allpeers eqcli >
FortiADC E シリーズ 設定手順書
12.1.2.4 Remote Syslog
FotiADC のログを Syslog サーバーへ出力する場合に設定します。
12.1.3 Reporting タブ
機器の CPU とメモリの利用状況を表示します。
各項目に 3 つの目盛りがあり、それぞれ現在の値、直近 60 分の平均、直近 60 分の最大値を指していま す。
パラメータ 設定内容
Syslog Server syslog サーバーの IP アドレスの設定 Enable Remote Logging Remote Syslog の有効・無効の変更
パラメータ 設定内容
CPU Consumption (%) CPU 使用率(%) Memory Utilization (MB) メモリ使用量(MB)
FortiADC E シリーズ 設定手順書
ADC300E-181 login: eqadmin on tty tty00 Username:
Username: ^CCaught interrupt. Exiting to debug mode (type 'help' and press enter for help).
debug >
debug > reset passwd Reset password successful.
debug >
ADC300E-181 login: eqadmin on tty tty00 Username: touch
Password:
Login successful.
FortiOS v4.0,build0012 eqcli >