Initial setup
I need to update the readme and migrate the data from the below reddit post https://www.reddit.com/r/PFSENSE/comments/fsss8r/additional_grafana_dashboard/
This commit is contained in:
parent
e0015d65d3
commit
cef8ae5909
BIN
Grafana-pfSense.png
Executable file
BIN
Grafana-pfSense.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 455 KiB |
3249
PF-Sense - V2-1585803816846.json
Executable file
3249
PF-Sense - V2-1585803816846.json
Executable file
File diff suppressed because it is too large
Load Diff
BIN
plugins/telegraf_netifinfo_plugin
Executable file
BIN
plugins/telegraf_netifinfo_plugin
Executable file
Binary file not shown.
5
plugins/temperature.sh
Normal file
5
plugins/temperature.sh
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
HOSTNAME=$(hostname)
|
||||
|
||||
sysctl dev.cpu | fgrep temperature | tr -d '[:blank:]' | awk -v HOST="$HOSTNAME" -F '[.:]' '{print "temperature,sensor="$2$3",host="HOST" degrees=" $5"."substr($6, 1, length($6)-1)}'
|
||||
sysctl hw.acpi.thermal | fgrep temperature | tr -d '[:blank:]' | awk -v HOST="$HOSTNAME" -F '[.:]' '{print "temperature,sensor="$4",host="HOST" degrees="$6"." substr($7, 1, length($7)-1)}'
|
Loading…
x
Reference in New Issue
Block a user