# Can we have : an agent which publish system metrics from 2 servers

**URL:** https://discuss.elastic.co/t/can-we-have-an-agent-which-publish-system-metrics-from-2-servers/219147
**Category:** Beats
**Tags:** metricbeat
**Created:** [February 13, 2020, 7:51am UTC](https://discuss.elastic.co/t/can-we-have-an-agent-which-publish-system-metrics-from-2-servers/219147 "2020-02-13T07:51:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Samerd](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@Samerd](https://discuss.elastic.co/u/Samerd)
#### Post date: [February 13, 2020, 7:51am UTC](https://discuss.elastic.co/t/can-we-have-an-agent-which-publish-system-metrics-from-2-servers/219147/1 "2020-02-13T07:51:57Z")

</div>

Hi,  
is there a way to make an agent to send metrics for another 2 servers (system metrics)- the 2 servers send the metrics to the agent , and the agent will publish the metrics .

---

<div class="post-metadata">

### Author: ![Kaiyan\_Sheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaiyan_sheng/32/38247_2.png) [@Kaiyan\_Sheng](https://discuss.elastic.co/u/Kaiyan_Sheng)
#### Post date: [February 21, 2020, 7:35pm UTC](https://discuss.elastic.co/t/can-we-have-an-agent-which-publish-system-metrics-from-2-servers/219147/2 "2020-02-21T19:35:56Z")

</div>

Hey @Samerd, sorry for the late response here. Do you mean on top of aws metricbeat module(based on your previous issue), you want to also collect system metrics from the machine?  
If so, you can use `./metricbeat modules enable aws` and `./metricbeat modules enable system` to make sure both modules are enabled. Make sure both aws.yml and system.yml under modules.d is accurate. Then when you start MB, for example using `./metricbeat -e`, you will see MB starts collecting metrics both from AWS and system.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 20, 2020, 7:36pm UTC](https://discuss.elastic.co/t/can-we-have-an-agent-which-publish-system-metrics-from-2-servers/219147/3 "2020-03-20T19:36:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
