# How to extend MetricBeat to execute external scripts?

**URL:** <https://discuss.elastic.co/t/how-to-extend-metricbeat-to-execute-external-scripts/102104>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [September 28, 2017, 11:37am UTC](https://discuss.elastic.co/t/how-to-extend-metricbeat-to-execute-external-scripts/102104 "2017-09-28T11:37:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pascaldergane](https://avatars.discourse-cdn.com/v4/letter/p/ac91a4/32.png) [@pascaldergane](https://discuss.elastic.co/u/pascaldergane)\
**Post date:** [September 28, 2017, 11:37am UTC](https://discuss.elastic.co/t/how-to-extend-metricbeat-to-execute-external-scripts/102104/1 "2017-09-28T11:37:51Z")

</div>

Hi all,  
I've got some "old" probes based on snmp command (snmpwalk, snmpget).  
I would like to reuse them. How can extend metricbeat to execute my old scripts?

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [October 9, 2017, 8:57pm UTC](https://discuss.elastic.co/t/how-to-extend-metricbeat-to-execute-external-scripts/102104/2 "2017-10-09T20:57:52Z")

</div>

Hi @pascaldergane, and sorry for the late response 🙂

As of today this is something not supported by Metricbeat, but you have at least 2 options to do it:

- [execbeat](https://github.com/christiangalsterer/execbeat) is a community beat that does exactly that, run an external binary or script and report its metrics.
- Use the new [graphite](https://www.elastic.co/guide/en/beats/metricbeat/6.x/metricbeat-module-graphite.html) compatible server to push your metrics to Metricbeat

Let me know what do you think, thank you for the feedback!

---

<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:** [November 6, 2017, 8:57pm UTC](https://discuss.elastic.co/t/how-to-extend-metricbeat-to-execute-external-scripts/102104/3 "2017-11-06T20:57:57Z")

</div>

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