CA APM ChangeDetector のファイル監視システムでは、I/O オーバーヘッドに対するさまざまなニーズと許容度を抱える組織であっても、ファイル変更の監視を制御できます。 このため、変更が発生したときから検出されるまで、処理と I/O コストおよび時間のバランスを保つことができます。
注: ファイル監視プロパティは大文字と小文字を区別します。 たとえば、監視対象のディレクトリ名が i18n である場合に、scan-directory name プロパティを I18N に設定すると、CA APM ChangeDetector は監視対象のディレクトリを特定できません。
注: このエレメントは、サンプル Java ChangeDetector-config.xml ファイル内に示されているカスタム設定ファイルの例で定義されています。 この例はサンプルのデータであり、ユーザのデータ コンテンツを反映しているとは限りません。 異なるバージョンの CA APM ChangeDetector を使用している場合は、該当するバージョンに適宜置き換えてください。
<datasource-instance name="C_Drive" type="file" version="8.0">
<!-- datasource-instance specific XML here -->
<property name="explodeArchiveFiles" value="true" />
<!-- Accepted units are hour, min, sec -->
<property name="delayBetweenIterations" value="1" unit="sec" />
<property name="filesPerIteration" value="1" />
<property name="delayBetweenArchiveIterations" value="10" unit="sec" />
<property name="archiveFilesPerIteration" value="1" />
<!-- Accepted units are bytes, KBytes, MBytes -->
<property name="maxFileSizeToUpload" value="4" unit="KB" />
<property name="useDigest" value="needed" />
<fileset name="default">
<exclude pattern="(.*)¥.err" />
<exclude pattern="(.*)¥.log" />
<exclude pattern="(.*)¥.lok" />
<exclude pattern="(.*)¥.tlog" />
<exclude pattern="(.*)¥.log0(.*)" />
</fileset>
<fileset name="NoCode">
<include-fileset name="default" />
<exclude pattern="(.*)¥.jar" >
<include pattern="(.*)wily(.*)¥.jar" />
</exclude>
<exclude pattern="(.*)¥.zip" />
</fileset>
<!-- typically, the wily agent is installed in the "wily" directory. -->
<scan-directory name="wily" recursive="true"
fileset="default">
<exclude name="data" />
</scan-directory>
<!-- scan the java home directory, as specified in the java.home system property -->
<scan-directory recursive="true" fileset="default"
name="${java.home}" enabled="false">
<exclude name="lib/zi" />
</scan-directory>
<!-- directories to be scanned in a typical jboss installation -->
<scan-directory name="." recursive="true" fileset="default"
enabled="false">
<exclude name="log" />
<exclude name="tmp" />
</scan-directory>
<!-- test scan directory -->
<scan-directory recursive="true" fileset="NoCode" name="."
enabled="true" />
<!-- directories to be scanned in a typical WebSphere 5.0ee installation -->
<!-- basically exclude the following dirs:
_uninst, _uninstPME, BRBeans, classes, installableApps, logs, temp, tranlog, wstemp -->
<scan-directory recursive="true" name="." fileset="default"
enabled="false">
<exclude name="_uninst" />
<exclude name="_uninstPME" />
<exclude name="logs" />
<exclude name="temp" />
<exclude name="tranlog" />
<exclude name="wstemp" />
</scan-directory>
</datasource-instance>
|
Copyright © 2013 CA.
All rights reserved.
|
|