pihole: label 2

This commit is contained in:
Michael Grote 2021-10-02 10:04:59 +02:00
parent 2880cc98fd
commit d9c8a28716

View file

@ -20,13 +20,13 @@ case $1 in
echo "graph_title Pihole blocked ads"
echo "graph_vlabel %"
echo "graph_category pihole"
echo "graph_info This graph shows the Pihole percentage of blocked ads."
echo "graph_info This graph shows the Pihole percentage of blocked queries."
for stat in $stats
do
uid=$(echo $stat | sed 's/:.*//')
if [ $uid = "ads_percentage_today" ]; then
echo "$uid.label blocked ads"
echo "$uid.label blocked queries"
fi
done