Systemwalker Operation Manager 導入手引書 - UNIX/Windows(R)共通 - |
目次
索引
![]() ![]() |
第2章 Systemwalker Operation Managerの動作環境を定義する | > 2.14 保守のための定義 | > 2.14.1 プロセス監視機能の定義 |
プロセス監視機能は、定義ファイルの内容に従って動作します。定義ファイルの内容は必要に応じて変更することができます。定義ファイルの内容および変更の仕方について説明します。
プロセス監視機能の定義情報の変更は、以下の手順で行います。
プロセス監視機能の定義ファイルを変更します。定義ファイルの内容および変更方法については、後述しています。
変更した定義情報を有効にするには、プロセス監視機能の再起動が必要です。以下の方法で再起動してください。
【Windows版】
Systemwalker MpPmonO |
【UNIX版】
以下のコマンドを実行します。
/opt/FJSVftlo/pmon/bin/stpmppmon.sh |
以下のコマンドを実行します。
/opt/FJSVftlo/pmon/bin/strmppmon.sh |
プロセス監視機能の定義ファイルは、以下のとおりです。
【Windows版】
Systemwalker Operation Managerインストールディレクトリ\mpwalker.jm\mpcmtool\pmon\etc\mppmon.ini |
【UNIX版】
/etc/opt/FJSVftlo/pmon/mppmon.ini |
定義ファイルの内容を以下に示します。後述の定義項目一覧を参照し、必要に応じて設定値を変更してください。
# Process Monitoring Definition File # Systemwalker Operation Manager [Common] StartWait=60 # Interval to Start Monitoring # 60-3600 secs is available CheckWait=60 # Interval of Each Monitoring # (If, Monitor Result is Normal) # 60-3600 secs is available RetryWait=60 # Interval of Retry Monitoring # (If, Monitor Result is Abnormal) # 60-3600 secs is available RetryCount=3 # Time to Retry # 3-255 times is available [Notification] Destination= # Destination Nodes to Notify # You can direct until 4 nodes, as # "Destination=node1,node2,node3,node4" # If you don't direct any node, we use # System Monitor default notification node # (If System Monitor is running). MyIPaddr= # IP address of this host. # If you don't direct, we try to find # the one of this host, and use the one # which we find at first. MpTrap=OFF # If you want to use Systemwalker Trap, # edit as "MpTrap=ON", # otherwise edit as "MpTrap=OFF" MpConsole=OFF # If you want to notify to Systemwalker Console, # edit as "MpConsole=ON", # otherwise edit as "MpConsole=OFF" MpEvlog=ON # If you want to output Eventlog, # edit as "MpEvlog=ON", # otherwise edit as "MpEvlog=OFF" UserOriginal=OFF # If you want to use your original command, # edit as "UserOriginal=ON", # otherwise edit as "UserOriginal=OFF" ### End of Definition File ###
プロセス監視機能の定義ファイルの項目一覧を以下に示します。
設定値名 |
説明 |
初期値 |
設定可能値 |
StartWait |
起動時にプロセス監視が開始されるまでの待ち時間(秒)を指定します。 |
60 |
60〜3600 |
CheckWait |
プロセス状態をチェックする時間間隔(秒)を指定します。 |
60 |
60〜3600 |
RetryWait |
プロセス異常を検出したときに、再確認を行うまでの時間間隔(秒)を指定します。 |
60 |
60〜3600 |
RetryCount |
プロセスの異常を最初に検出してから通知するまでに再確認を行う回数を指定します。 |
3 |
3〜255 |
設定値名 |
説明 |
初期値 |
設定可能値 |
Destination |
プロセス状態の異常を通知する通知先ノード名を指定します。4ノードまで指定可能です。値が未設定の場合、Centric Managerのシステム監視の通知先が使用されます。 |
なし |
コンマ区切り4ノードまで |
MyIPaddr |
プロセス状態の異常を通知する場合の検出元(自ノード)のIPアドレスを指定します。 |
なし |
xxx.xxx.xxx.xxx 形式 |
MpTrap |
異常通知をトラップ通知機能で行います。 |
OFF |
ON / OFF |
MpConsole |
異常通知を、Centric ManagerのSystemwalkerコンソールが起動している画面に、ダイアログで表示します。 |
OFF |
ON / OFF |
MpEvlog |
異常検出時に、検出元のアプリケーションログ/システムログに情報を出力します。 |
ON |
ON / OFF |
UserOriginal |
異常検出時にカスタマイズ通知コマンドを実行します。 |
OFF |
ON / OFF |
プロセス監視機能でプロセスの異常を検出した場合に、利用者側で定義した特定の処理を実行させることができます。
異常時に特定の処理を実行させるためには、あらかじめ“カスタマイズ通知コマンド”(バッチファイル/シェルスクリプト)に処理を記述し、“mppmon.ini”(プロセス監視定義ファイル)ファイル内の[Notification]セクションの“UserOriginal”パラメタを“ON”にしておきます。
【Windows版】
Systemwalker Operation Managerインストールディレクトリ\mpwalker.jm\mpcmtool\pmon\bin\mppmonsnd.bat |
【UNIX版】
/opt/FJSVftlo/pmon/bin/mppmonsnd.sh |
デフォルトでは何も実行しません。必要に応じて処理を記述してください。
【Windows版】
@echo off |
【UNIX版】
#!/bin/sh |
目次
索引
![]() ![]() |