# Prometheus Agent

* Click on the Install Agent Manager Button

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FbvJYNrVY9Mdh5tOSRmsZ%2Fimage.png?alt=media&#x26;token=6dd1048e-bebd-4d53-bead-e9cf9a58a768" alt="" width="375"><figcaption></figcaption></figure>

* Select a Platform
* And, select an Agent Type of Prometheus
* Add any optional Custom Attributes for the new agent
* Add any optional Secrets for the agent

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FxrtynoDqtq2NuzAib4MN%2FScreenshot%202025-01-15%20at%2014-50-25%20Fleet.png?alt=media&#x26;token=139977ca-d751-4f64-a066-5c994cea2968" alt=""><figcaption></figcaption></figure>

* Click on the Proceed button to generate the README instructions and installation script

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FMDTJKxeVnOTXAcyEpL55%2FScreenshot%202025-01-15%20at%2014-51-05%20Fleet.png?alt=media&#x26;token=1d009d04-ded1-434a-b1a4-ec54b9a01f24" alt=""><figcaption></figcaption></figure>

* The Download All button can be used to download these files
* Install the Fleet agent-manager as instructed in the README instructions

#### Check agent-manager status:

To check the status of agent-manager, and the running agents on a Linux host:

```
$ sudo systemctl status agent-manager-prometheus
```

To get agent-manager logs on a Linux host:

```
$ sudo journalctl -n 100 -f -u agent-manager-prometheus
```

To check the status of agent-manager, and the running agents on a Windows host, use the **Windows Services** app, and locate the service named **agent-manager-prometheus**.

To get agent-manager logs on a Windows host, use the **Windows Event Viewer** app. The logs from agent-manager will be located in the **Windows Logs > Application** logs.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apica.io/fleet-management/list-of-agents/opentelemetry-collector-2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
