前のトピック: 仮想エージェントの要件次のトピック: Enterprise Manager とクラスタの設定


仮想エージェントの設定

仮想エージェントを設定するには、エージェントがレポートする Enterprise Manager の <EM_Home>/config ディレクトリにある agentclusters.xml ファイルを使用します。 クラスタ化された Enterprise Manager を実行する場合は、MOM <EM_Home>/config ディレクトリにある agentclusters.xml ファイルを使用して仮想エージェントを設定します。 サンプル agentclusters.xml は、EM_Home>/ config ディレクトリにあります。

以下のサンプル agentclusters.xml は、Introscope スーパードメインに BuyNowAppCluster という名前の仮想エージェントを定義します。 仮想エージェントには、任意のホストで、名前が BuyNow で始まるすべてのエージェントが含まれます。

<?xml version="1.0" encoding="ISO-8859-1" ?>
<agent-clusters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="agentclusters0.1.xsd" version="0.1" >
   <agent-cluster name="BuyNowAppCluster" domain="SuperDomain" >
      <agent-specifier>.*¥|.*¥|BuyNow.*</agent-specifier>
      <metric-specifier>Frontends¥|.*</metric-specifier>
   </agent-cluster>
</agent-clusters>

ルート エレメント <agent-clusters> が必要です。 <agent-cluster> エレメントは、仮想エージェントを定義します。また、以下の 2 つの必須属性があります。

複数の仮想エージェントを定義する場合は、それぞれに対して <agent-cluster> エレメントを定義します。 <agent-cluster> エレメントには、2 つの子エレメントが必要です。

注: 以上が推奨されるプレフィックスですが、任意のリソースをメトリック指定子として使用することもできます。

<agent-cluster> エレメントには、複数の <metric-specifier> スタンザを含めることができます。

注: 一致するメトリックの量が多いほど、Enterprise Manager でのオーバーヘッドが大きくなり、最終的に Enterprise Manager の容量に大きな影響を与えることに注意してください。

重要: 正規表現、および「.*」や「(.*)」などのワイルドカード メトリック指定子を使用できますが、使用する場合には注意が必要です。 ワイルドカードを使用すると、メトリックの量が多くなり、性能に影響を与える可能性があります。

特定のブラウズ ツリー ドメイン ノードの下に仮想エージェントを表示するには、tgtDomain 属性を定義します。

このサンプル agentclusters.xml は、BuyNowAppCluster という名前の仮想エージェントを定義します。これは Introscope スーパードメイン ノードに定義され、MyDomain ノードに表示されます。

<?xml version="1.0" encoding="ISO-8859-1" ?>
<agent-clusters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="agentclusters0.1.xsd" version="0.1" >
   <agent-cluster name="BuyNowAppCluster" domain="SuperDomain" tgtDomain="MyDomain"
      <agent-specifier>.*¥|.*¥|BuyNow.*</agent-specifier>
      <metric-specifier>Frontends¥|.*</metric-specifier>
   </agent-cluster>
</agent-clusters>

この場合、MyDomain ドメインのみを表示する権限を持つ CA APM ユーザは、以下のブラウザ ツリーを参照できます。

Custom Metric Host (仮想)
Custom Metric Process (仮想)
BuyNowAppCluster