Systemwalker Centric Manager リファレンスマニュアル - UNIX/Windows(R)共通 -
目次 索引 前ページ次ページ

第2章 ファイルの形式> 2.3 定義情報

2.3.33 プロセス監視のユーザ定義コマンド

■ファイル名

【Windows版】

mppmonsnd.bat

【UNIX版】

mppmonsnd.sh

■使用用途

プロセス監視中で、各プロセスの異常を検出した場合、プロセス監視の動作環境定義ファイルのUserOriginal=ONを指定した場合に、本コマンドが実行されます。本コマンドに任意のコマンドを追加することで、異常を検出した場合に、通知する動作をカスタマイズすることができます。

■格納場所

Windows

Systemwalkerインストールディレクトリ\mpwalker.dm\mpcmtool\pmon\bin

UNIX

/opt/FJSVftlc/pmon/bin

■ファイル形式

【Windows版】

@echo off
REM ############################################################
REM # [Usage]
REM #  mppmonsnd.bat %1 %2 %3 %4 %5 %6 %7 %8
REM #
REM # Parameters
REM #  %1: Product Information(CMGR 1, OMGR 2)
REM #  %2: Error Process Name
REM #  %3: IP Address (My Host)
REM #  %4: The Number of Destination Hosts
REM #  %5: Destination Host1 (if directed at mppmon.ini)
REM #  %6: Destination Host2 (if directed at mppmon.ini)
REM #  %7: Destination Host3 (if directed at mppmon.ini)
REM #  %8: Destination Host4 (if directed at mppmon.ini)
REM ############################################################


REM # Specify User Original Commands.
REM #
REM # If you want to execute this mppmonsnd.bat, you should edit
REM # mppmon.ini file. you should edit like "UserOriginal=ON" of
REM # [Notification] section. So, in case that some processes of
REM # Systemwalker are in trouble, this mppmonsnd.bat will be 
REM # executed. 
REM # mppmon.ini is at [INSTALLDIR]\MpWalker.DM\mpcmtool\pmon\
REM # 


REM ### End of mppmonsnd.bat ###################################

【UNIX版】

#!/bin/sh
###############################################################
# [Usage]
#  mppmonsnd.sh $1 $2 $3 $4 $5 $6 $7 $8
#
# Parameters
#  $1: Product Information(CMGR 1, OMGR 2)
#  $2: Error Process Name
#  $3: IP Address (My Host)
#  $4: The Number of Destination Hosts
#  $5: Destination Host1 (if directed at mppmon.ini)
#  $6: Destination Host2 (if directed at mppmon.ini)
#  $7: Destination Host3 (if directed at mppmon.ini)
#  $8: Destination Host4 (if directed at mppmon.ini)
###############################################################

# Specify User Original Commands.
#
# If you want to execute this mppmonsnd.bat, you should edit
# mppmon.ini file. you should edit like "UserOriginal=ON" of
# [Notification] section. So, in case that some processes of
# Systemwalker are in trouble, this mppmonsnd.bat will be 
# executed. 
# mppmon.ini is at /opt/FJSVftlc[o]/pmon/
# 



########### End of mppmonsnd.sh ################################

■参照

プロセス監視の動作環境定義ファイル

目次 索引 前ページ次ページ

Copyright FUJITSU LIMITED 1995-2008