Open RobertoMarcelino opened 2 years ago
For myself, I chose FROM 'System', then SELECT 'field(uptime)' then 'last()' then 'math(/100)'. You need to convert the measured sysUptime value from hundredths of seconds to seconds.
Under standard options choose 'seconds' as the unit of measure (under time).
You can also select the colour mode as 'background' and select some thresholds that change the entire panel colour depending on how long the system has been up. For example, you could select thresholds of 7200 seconds as orange and 86400 as green. The base colour should be red. This will show systems that have only just come up recently as red, and systems that have been up for some time as green.
Customise to suit. Hope this helps? I got some tips from this link - https://lkhill.com/telegraf-influx-grafana-network-stats/.
Do you have any settings I should make to get the Uptime panel to work?