# Graphic display of ping results

**URL:** <https://discourse.nodered.org/t/graphic-display-of-ping-results/65390>\
**Category:** Dashboard\
**Created:** [20 July 2022 19:41 UTC](https://discourse.nodered.org/t/graphic-display-of-ping-results/65390 "2022-07-20T19:41:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexander77](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Post date:** [20 July 2022 19:41 UTC](https://discourse.nodered.org/t/graphic-display-of-ping-results/65390/1 "2022-07-20T19:41:54Z")

</div>

Hi,  
i want to monitor a small Network with ~ 18 fixed devices. For that reason i ping them  
every 15 minutes. To visualize the result i tried a state-trail node.  
Unfortunately, the state trail clears after the configured time and starts vom scratch.  
What i need is something that shows the last 48 hours.  
For that reason i tried the 'Event Timeline Dashboard Graph'  
[https://flows.nodered.org/flow/3827f07ed08826b01bd71b2c874f7fdc](https://flows.nodered.org/flow/3827f07ed08826b01bd71b2c874f7fdc)  
It says, 'You can customize the maximum chart duration', but it does not say, how.  
It also says 'There is a hard coded dom id in the ui\_template. If you wan to have more than one timeline chart, you need to manually change this value to something unique for each chart that you want to display.'  
OMG, what is this? It would be nice, if i could group the devices.

Or has someone another idea how to display the pingresults in a graphic of the last 48 hours?

Any advice is highly apreciatet!

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [22 July 2022 16:56 UTC](https://discourse.nodered.org/t/graphic-display-of-ping-results/65390/2 "2022-07-22T16:56:45Z")

</div>

Possibly not what you want to hear but I do this using Grafana rather than NR Dashboard. In fact, I use Telegraf to do the pings. It writes the output to InfluxDB (no code required, just a configuration). It is then easy to use Grafana to produce the charts.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/9/59ff958cbd46a9d7e54bae7ee21a3be1d9009f26.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/e/be08d4954929fba33c36b2a4126b9c30265f9552.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/7/a7ad17b8a0963e18f9457a59f224751c995fec6f.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/f/1f6fa7c34098104cd7cf3c512a61905da0863b3a.png)

---

<div class="post-metadata">

**Author:** ![alexander77](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Post date:** [23 July 2022 16:46 UTC](https://discourse.nodered.org/t/graphic-display-of-ping-results/65390/3 "2022-07-23T16:46:45Z")

</div>

Hi TotallyInformation,  
thank you for the reply. Indeed, an impressing solution!  
You are right, the Dashboard solutions are not the best choice her. Hat the Event Timeline ... node running for some days now, it has errors and is not maintained since more than 2 years. Maybe the developer has given up.  
Looks like my focuspoint has to move in the next weeks to grafena and InfluxDB. It's a way that seems promising.

All the best,  
Alexander

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [24 July 2022 13:14 UTC](https://discourse.nodered.org/t/graphic-display-of-ping-results/65390/4 "2022-07-24T13:14:35Z")

</div>

Telegraf is really quite easy to set up and I have it monitoring my server as well as my router & wifi (via SNMP), DNS, remote web servers as well as internet performance. Even the weather!

I have it set to output both to InfluxDB as well as MQTT.

Having output to MQTT also makes it easy to use the data in Node-RED:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/0/40b5a5ec7011851b6755a75bda0acdcfbe1053b3.png)

Just make sure to set up a retention policy on the telegraf db since it can be a lot of data. I just keep mine for 7d as that's all I need. You can also auto-summarise to another db using a continuous query if you want to keep some data for extended periods. Perhaps by reducing the data to hourly avg/max/min as I do for my sensor data.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [7 August 2022 13:15 UTC](https://discourse.nodered.org/t/graphic-display-of-ping-results/65390/5 "2022-08-07T13:15:18Z")

</div>

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