# Monitor server down with telegraf , influxdb and grafana

**URL:** <https://community.influxdata.com/t/monitor-server-down-with-telegraf-influxdb-and-grafana/7648>\
**Category:** Dashboards\
**Created:** [November 28, 2018, 10:13am UTC](https://community.influxdata.com/t/monitor-server-down-with-telegraf-influxdb-and-grafana/7648 "2018-11-28T10:13:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcV](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/marcv/32/7676_2.png) [@MarcV](https://community.influxdata.com/u/MarcV)\
**Post date:** [November 28, 2018, 10:13am UTC](https://community.influxdata.com/t/monitor-server-down-with-telegraf-influxdb-and-grafana/7648/1 "2018-11-28T10:13:12Z")

</div>

Hello ,  
I wondered how you monitor the servers. I would like to get an alert in grafana when a server goes down or when a telegraph agent stops.  
How could I do that ?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![l1f](https://avatars.discourse-cdn.com/v4/letter/l/839c29/32.png) [@l1f](https://community.influxdata.com/u/l1f)\
**Post date:** [November 28, 2018, 8:59pm UTC](https://community.influxdata.com/t/monitor-server-down-with-telegraf-influxdb-and-grafana/7648/2 "2018-11-28T20:59:02Z")

</div>

That’s something I’d like monitors to do, too.

---

<div class="post-metadata">

**Author:** ![MarcV](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/marcv/32/7676_2.png) [@MarcV](https://community.influxdata.com/u/MarcV)\
**Post date:** [November 29, 2018, 9:59am UTC](https://community.influxdata.com/t/monitor-server-down-with-telegraf-influxdb-and-grafana/7648/3 "2018-11-29T09:59:29Z")

</div>

I thought about kapacitor but I couldn’t find a way to send an alert from kapacitor to grafana …

---

<div class="post-metadata">

**Author:** ![philb](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/philb/32/1805_2.png) [@philb](https://community.influxdata.com/u/philb)\
**Post date:** [November 30, 2018, 11:36pm UTC](https://community.influxdata.com/t/monitor-server-down-with-telegraf-influxdb-and-grafana/7648/4 "2018-11-30T23:36:02Z")

</div>

Hi @MarcV,

I don’t personally use Grafana for alerting. I use the Chronograf and Kapacitor part of the TICK stack to do this. You could write a [deadman TICK script](https://docs.influxdata.com/kapacitor/v1.5/nodes/alert_node/#deadman) to monitor a server being down and use Kapacitor to alert you. If you generate a script with Chronograf you’ll see at the bottom there is an [output node](https://docs.influxdata.com/kapacitor/v1.5/nodes/influx_d_b_out_node/). This can store the alert data in InfluxDB in a database called Chronograf by default.

You could then use Grafana to build dashboards based on the alert data.

We collect a lot of data where I work and we found querying InfluxDB with Grafana for our dashboards and to also generate alerts was quite intensive on InfluxDB and as there’s no limit to the memory Influx uses we got a lot of OOM issues.

PhilB
