> 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/grafana-alloy.md).

# Grafana Alloy

The following points will tell you how to install an Alloy agent on a Linux machine:

1. Click on the 'Install Agent Manager' button at the top right corner of the Fleet page.

<figure><img src="/files/FAn3l2BF1eCH9xQ9ZC44" alt=""><figcaption></figcaption></figure>

2. Once the Modal Opens, choose Linux as a platform and Grafana Alloy as the agent type. On completion, click Proceed.

<figure><img src="/files/TuYpy5Qkvyj8DsKBfLWD" alt=""><figcaption></figcaption></figure>

3. A modal opens with a README file and an installation file. Execute the install script to install the agent manager and the Grafana Alloy instance on the Linux Machine.

<figure><img src="/files/06jDLB0cugvpqQvfH5hO" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Make sure the install.sh script file has execute access.\
To do so, execute the following command in the directory where the install.sh file is placed:\
$ chmod +x ./install.sh
{% endhint %}

#### Check agent-manager status:

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

```
$ sudo systemctl status agent-manager-grafana-alloy
```

To get agent-manager logs on a Linux host:

```
$ sudo journalctl -n 100 -f -u agent-manager-grafana-alloy
```
