(オプション)リモート UNIX 監視のインストールおよび設定

EPAgent 監視は、CA APM で CA Analysis サーバを監視するためのツールです。CA Analysis Server が UNIX/Linux で実行されている場合は、これらの手順を使用します。
apmdevops97jp
注:
2015 年 12 月以降に APM をダウンロードした場合、ABA は使用できません。このドキュメントは、以前のダウンロードに含まれています。
EPAgent 監視は、CA APM で CA Analysis サーバを監視するためのツールです。CA Analysis Server が UNIX/Linux で実行されている場合は、これらの手順を使用します。
リモート UNIX 監視要件
リモート UNIX 監視の要件を確認します。
要件
サポートされている環境
CA Analysis Server
Microsoft Windows 2008 R2
RedHat CentOS 5.8 以上
リモート UNIX 監視エージェントは Enterprise Manager サーバまたはコレクタで実行
UNIX/Linux または Windows サーバでの実行
Linux CA Analysis サーバからのメトリック コレクション
監視対象サーバでコマンドをリモートで実行するための SSH
リモート UNIX 監視エージェントのインストールおよび設定
リモート UNIX 監視エージェントの手動インストールと設定がサポートされています。
以下の手順に従います。
  1. ファイルをディレクトリに解凍します。
    以下のファイルは設定が必要です。
    • ./config/IntroscopeRemoteAgent.profile
    • ./config/RemoteUnixStats.properties
    • ./config/ps.default.alias
  2. リモート UNIX 監視エージェントを Enterprise Manager にインストールするか、または ./config/IntroscopeRemoteAgent.profile 内の以下の行を変更します。
    introscope.agent.enterprisemanager.transport.tcp.host.default=<hostname or IP Address of EM server>
    注:
    エラーを回避するために、無関係なホストまたは IP アドレスがプロパティ ファイルに含まれていないことを確認してください。
    例: 監視用の RemoteUnixStats.properties ファイル設定
    host.1=<IP or hostname of CA Analysis Server> host.1.alias=<User friendly description to display in Metric Browser tree> host.1.username=<username under which monitoring commands will be executed - must exist on monitored> host.1.password=<password for above user> host.1.vmstat.description.file=vmstat.default.descriptions host.1.vmstat.polling.interval.seconds=15 host.1.vmstat.debug=false host.1.df.description.file=df.default.descriptions host.1.df.polling.interval.minutes=10 host.1.df.debug=false host.1.ps.process.regex=(.*prelert_engine.*)|(.*prelert_ts_feature_detector.*)|(.*prelert_evidence_gatherer.*)|(.*prelert_activity_mgr.*)|(.*prelert_rate_monitor.*)|(.*java.*apache-tomcat.*) host.1.ps.polling.interval.minutes=1 host.1.ps.description.file=ps.default.descriptions host.1.ps.alias.file=./config/ps.default.alias host.1.ps.force.format=false host.1.ps.debug=false host.1.netstat.description.file=netstat.default.descriptions host.1.netstat.polling.interval.minutes=1 host.1.netstat.debug=false host.1.iostat.description.file=iostat.default.descriptions host.1.iostat.polling.interval.seconds=15 host.1.iostat.debug=false #note to enable iostat on linux you must have the stats package installed
  3. ./config/RemoteUnixStats.properties ファイルを開き、定期的なクリーンアップ用のシャットダウン プロパティを設定します。このプロパティを数日おき(たとえば 7)に設定し、起動スクリプトを変更してループ内でスクリプトを再度起動します。
    shutdown.agent.after.days=7
  4. (オプション)./config/ps.default.aliases を開き、前の手順の "regex=" セクションに含まれる Prelert プロセスを、CA Analysis Server のユーザにとって分かりやすい名前にマップします。
    • (.*prelert_engine.*)=CA Analysis Server Engine
    • (.*prelert_ts_feature_detector.*)=CA Analysis Server Time Series Feature Detector
    • (.*prelert_evidence_gatherer.*)=CA Analysis Server Evidence Gatherer
    • (.*prelert_activity_mgr.*)=CA Analysis Server Anomaly Manager
    • (.*prelert_rate_monitor.*)=CA Analysis Server Rate Monitor(.*java.*apache-tomcat.*)=Apache Tomcat
  5. ./config/IntroscopeRemoteAgent.profile を開き、メトリックの名前付けとログ記録を設定します。
    log4j.logger.EPAgent=info, logfile log4j.appender.logfile.File=<Relative or absolute path to desired logfile>
  6. ./config/IntroscopeRemoteAgent.profile で、エージェント名を設定します。
    introscope.agent.hostName=remote agents introscope.agent.customprocessName=system metrics introscope.agent.defaultprocessName=unknownprocess introscope.agent.agentName=ca analysis server
  7. コマンド シェルで、リモート エージェントを開始します。
    ./RemoteUnixStats.sh
    注:
    必要な場合、ファイルを編集して JAVA_HOME を設定し、JRE/JDK がインストールされている場所を指定します。
  8. ログ ファイルにエラーが含まれていないことを確認します。
  9. WebView で、SuperDomains|Remote Agents|System Metrics|
    (*SuperDomain*)| に移動して、メ
    トリックを表示します。