> For the complete documentation index, see [llms.txt](https://docs.apica.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apica.io/fleet-management/list-of-agents/opentelemetry-collector-2.md).

# Prometheus Agent

* Click on the Install Agent Manager Button

<figure><img src="/files/1hPVxu5oOZeV33Y6C5CI" 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="/files/7MhFSHdDqCFbErmyhCVp" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/mFxvm1t7PKRyA5JCHbXF" 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.
