VictorRobellini / pfSense-Dashboard

A functional and useful dashboard for pfSense that utilizes influxdb, grafana and telegraf
669 stars 184 forks source link

Panel does not show data #52

Open RobertoMarcelino opened 2 years ago

RobertoMarcelino commented 2 years ago

Do you have any settings I should make to get the Uptime panel to work?

adenoz commented 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/.