Service Availability Monitoring
To access Service Availability Monitoring, select Home > Servers > Service Availability (left navigation menu).
The Service Availability Monitoring feature of Server Visibility enables you to monitor internal or external HTTP and HTTPS services. You configure service monitoring from the Controller UI. After you configure monitoring for a service, Service Availability Monitoring evaluates the service:
- The Agent evaluates each response, based on your specified violation rules, and flags each response as failed (rule violation) or successful (no violation).
- The service monitor maintains a rolling buffer of evaluated responses. This buffer has a configurable window size (number of evaluated responses), success threshold (number of successful responses), and failure ratio (number of failed responses).
- The monitor collects evaluated responses until the response buffer is full. Then, it evaluates the service as:
- NORMAL - Successful responses are greater than or equal to the success threshold.
- CRITICAL - Failed responses are greater than or equal to the failure threshold.
- When the buffer is full, the monitor re-evaluates the service every time it evaluates a new response.
For example, with the following values:
- Success threshold = 3
- Failure threshold = 1
- Results window size = 5
The Agent waits until five check results are received, and from these five results, if there is one failure, then the target state is CRITICAL. If there are at least three successful results, then the target state is NORMAL.
Licensing and System Requirements
Service Availability Monitoring requires a separate license and a Server Visibility license. Server Visibility is currently available for Linux, Windows, and Solaris. See .NET Agent Environment Variables and Server Visibility Requirements and Supported Environments.
モニタ対象サービスの表示
モニタ対象サービスは、モニタ対象サービスリストで確認できます。結果ウィンドウで応答バリデータを評価することで、状態が決定されます。応答バリデータは、サービスから受信された応答に対して評価を行うために使用される設定ルールです。
次の状態があります。
- NORMAL:結果ウィンドウの成功応答の数が設定した成功しきい値以上。
- CRITICAL:結果ウィンドウの失敗応答の数が設定した失敗しきい値以上。
- UNKNOWN:マシンエージェントがデータを提供していない。
モニタ対象サービスリスト
上部のナビゲーションバーから、[Servers] > [Service Availability] の順に選択すると、モニター対象サービスのリストが表示されます。アクションツールバーを使用して、新しいモニタ対象サービスを追加したり、詳細を表示したりすることで、モニタ対象サービスを管理します。
モニタ対象サービスの詳細
モニタ対象サービスを選択してダブルクリックすると、関連する詳細が表示されます。
サービスの可用性の設定
デフォルトでは、設定変更は少なくとも変更の 2 分間以内に有効になるため、設定を変更した後にマシンエージェントを再起動する必要はありません。サービスの作成後にサービスのプロトコル、ターゲット、またはメソッドが変更された場合、サービスの状態は UNKNOWN に設定され、新しい設定で再評価されます。
デフォルトでは、次のアドレスが制限されています。
- ループバックアドレス:
localhost, 127.0.0.1, ::1(IPv6) - サイト ローカルアドレス:
192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, fec0::/8(IPv6) - リンクローカルアドレス:
169.254.0.1 - 169.254.255.254, fe80::/10(IPv6) - 任意のローカルアドレス:
0.0.0.0, ::(IPV6) - マルチキャストアドレス:
224.0.0.0/4(224.0.0.0 to 239.255.255.255), ff00::/8(IPV6)
設定パネルにアクセスするには、次の操作を行います。
サービスの正常性のモニタリング
- システムプロパティの
appdynamics.machine.agent.sam.event.updateIntervalMillisを設定して、更新間隔を変更できます。「設定プロパティのリファレンス」を参照してください。 - イベントは、[Monitored Service details] パネルおよび [Server Visibility Events] リストから表示できます。
- 詳細を確認するには、イベントをダブルクリックします。
- イベントのプロパティは次のとおりです。
オプション 説明 カテゴリ カスタム イベントタイプ サービスの可用性 プロパティ 重大度 注: 値として ERROR(失敗)または INFO(合格)を指定できます。
アラートの設定
モニタ対象サービスのアラートを作成するには、次の手順を使用します。
- [Servers] パネルから、[Alert & Respond] を選択します。
- [ポリシー(Policies)] を選択します。
- [Create Policy Manually] を選択します。ポリシーがすでに存在している場合は、このオプションが表示されないことがあります。[+] をクリックして、ポリシーを手動で追加します。
- [Custom Events] で、[+] をクリックしてカスタムイベントを追加します。
- [Policy] パネルの [Actions] セクションで、ポリシーに違反した場合に実行するアクションを追加し、ポリシーを保存します。