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:
Victor Robellini 2020-04-02 01:09:24 -04:00
parent e0015d65d3
commit cef8ae5909
4 changed files with 3254 additions and 0 deletions

BIN
Grafana-pfSense.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 KiB

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

Binary file not shown.

5
plugins/temperature.sh Normal file
View 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)}'