1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-28 11:54:52 +00:00

Add some svg files with logos for t-shirts

This commit is contained in:
Matthias Schmitz 2010-07-26 21:31:27 +00:00 committed by Steve Schnepp
parent d5b6a600ac
commit 623bed7581
4 changed files with 309 additions and 5 deletions

View file

@ -15,14 +15,14 @@
#
# If your environment has a average temperature which differs from the default
# waring and critical value than feel free to configure the warning and critical value
#
#
#
# Author
# Mohammad Ali
#
# Version 1.0
# March 19, 2010
# 01:17:14 PM
# 01:17:14 PM
#
#%# family=auto
#%# capabilities=autoconf
@ -39,7 +39,7 @@ if [ "$1" = "config" ]; then
echo "graph_category sensor"
echo "graph_args -l 0 -u 100 -r"
echo "graph.scale no"
echo "graph_vlabel % and C°"
echo "graph_vlabel % and C°"
echo "tempsens.label Temperature"
echo "humsens.label Humidity"
echo "tempsens.warning 19:24"
@ -47,7 +47,7 @@ if [ "$1" = "config" ]; then
echo "tempsens.critical 18:25"
echo "humsens.critical :60"
exit 0
fi
fi
# HTTP GET REQUEST to retrieve the data from the WebSensor
WEBSENS_DATA_FULL=$(printf "GET $host/index.html?em345678 HTTP/1.0 \n\n" | nc $host $port )
@ -61,4 +61,4 @@ WEBSENS_HUM=$(echo "$WEBSENS_DATA" | cut -d ' ' -f11 | cut -d ':' -f2 | cut -d '
# Sending custom formatted data to munin to create the graphs
echo "tempsens.value $WEBSENS_TEMP"
echo "humsens.value $WEBSENS_HUM"
echo "humsens.value $WEBSENS_HUM"