11[[fleet-server-monitoring]]
2- = {fleet-server} monitoring
2+ = Monitor self-managed {fleet-server} s
33
4- Monitoring {fleet-server} is key since the operation of the {fleet-server} is
5- paramount to the health of the deployed agents and the services they offer. When
6- {fleet-server} is not operating correctly, it may lead to delayed check-ins,
7- status information, and updates for the agents it manages. The monitoring data
8- will tell you when to add capacity for {fleet-server}, and provide error logs
9- and information to troubleshoot other issues.
4+ For self-managed {fleet-server}s, monitoring is key because the operation of the
5+ {fleet-server} is paramount to the health of the deployed agents and the
6+ services they offer. When {fleet-server} is not operating correctly, it may lead
7+ to delayed check-ins, status information, and updates for the agents it manages.
8+ The monitoring data will tell you when to add capacity for {fleet-server}, and
9+ provide error logs and information to troubleshoot other issues.
1010
11- To enable monitoring for {fleet-server}, turn on agent monitoring in the agent
12- policy. For self-managed clusters, monitoring is on by default when you create a
11+ For self-managed clusters, monitoring is on by default when you create a
1312new agent policy or use the existing Default {fleet-server} agent policy.
14- However, it is off by default in the {ecloud} agent policy because monitoring
15- requires additional RAM.
1613
17- To turn on {fleet-server} monitoring in the agent policy :
14+ To monitor {fleet-server}:
1815
19- . In {fleet}, go to *Agent Policies* and click on the *{ecloud} agent policy* .
16+ . In {fleet}, go to *Agent Policies* and click the agent policy.
2017+
2118[role="screenshot"]
2219image::images/fleet-policy-page.png[Fleet Policy Page]
2320
24- . Click the *Settings* tab and notice that Agent monitoring is
25- off by default.
26-
27- . Under *Agent monitoring*, select *Collect agent logs* and
28- *Collect agent metrics*.
21+ . Click the *Settings* tab and verify that *Collect agent logs* and
22+ *Collect agent metrics* are selected.
2923+
3024--
3125[role="screenshot"]
3226image::images/elastic-cloud-agent-policy-page.png[{ecloud} Policy Page]
3327
34- The agent will now be able to collect logs and metrics from the {fleet-server}.
35-
36- NOTE: The {fleet-server} is deployed as yet another agent in the system.
3728--
3829
3930. Next, set the *Default namespace*.
@@ -45,7 +36,8 @@ namespace.
4536
4637. To confirm your change, click *Save changes*.
4738
48- To see the metrics collected for {fleet-server}, go to *Analytics > Discover*.
39+ To see the metrics collected for the agent running {fleet-server}, go to
40+ *Analytics > Discover*.
4941
5042In the following example, `fleetserver` was configured as the namespace, and
5143you can see the metrics collected:
0 commit comments