# Telegraf instead of node exporter to collect data

**URL:** <https://community.influxdata.com/t/telegraf-instead-of-node-exporter-to-collect-data/24991>\
**Category:** Telegraf\
**Tags:** telegraf, prometheus\
**Created:** [May 11, 2022, 12:57am UTC](https://community.influxdata.com/t/telegraf-instead-of-node-exporter-to-collect-data/24991 "2022-05-11T00:57:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter753l](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/peter753l/32/9359_2.png) [@Peter753l](https://community.influxdata.com/u/Peter753l)\
**Post date:** [May 11, 2022, 12:57am UTC](https://community.influxdata.com/t/telegraf-instead-of-node-exporter-to-collect-data/24991/1 "2022-05-11T00:57:48Z")

</div>

hello,

I use **telegraf** instead of **node exporter** to collect data. There are some indicators that can’t be replaced.Hope you can help me.

metrics:

```auto
node_filefd_allocated         
node_context_switches_total
node_filefd_maximum

node_filesystem_free_bytes
node_filesystem_size_bytes
node_filesystem_files_free
node_filesystem_files

node_disk_read_time_seconds_total
node_disk_reads_completed_total
node_disk_write_time_seconds_total
node_disk_writes_completed_total
node_disk_io_time_seconds_total
node_disk_io_time_weighted_seconds_total

node_netstat_Tcp_CurrEstab
node_sockstat_TCP_tw
node_sockstat_sockets_used
node_sockstat_UDP_inuse
node_sockstat_TCP_alloc

```

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [May 12, 2022, 9:44pm UTC](https://community.influxdata.com/t/telegraf-instead-of-node-exporter-to-collect-data/24991/2 "2022-05-12T21:44:04Z")

</div>

Hello @Peter753l,  
You might be able to use the execd input plugin:  
[telegraf/README.md at master · influxdata/telegraf · GitHub](https://github.com/influxdata/telegraf/blob/master/plugins/inputs/execd/README.md#:~:text=The%20execd%20plugin%20runs%20an,exit%2C%20check%20out%20the%20inputs).
