Projet

Général

Profil

Révision 623bed75

ID623bed7581db3729c9bcd1367a4bf21737ec993a
Parent d5b6a600
Enfant b618e762

Ajouté par Matthias Schmitz il y a plus de 13 ans

Add some svg files with logos for t-shirts

Voir les différences:

plugins/sensor/sequoia_websens
15 15
#
16 16
# If your environment has a average temperature which differs from the default
17 17
# waring and critical value than feel free to configure the warning and critical value
18
# 
18
#
19 19
#
20 20
#  Author
21 21
#	Mohammad Ali
22 22
#
23 23
# Version 1.0
24 24
# March 19, 2010
25
# 01:17:14 PM 
25
# 01:17:14 PM
26 26
#
27 27
#%# family=auto
28 28
#%# capabilities=autoconf
......
39 39
	echo "graph_category sensor"
40 40
	echo "graph_args -l 0 -u 100 -r"
41 41
	echo "graph.scale no"
42
	echo "graph_vlabel % and C?"
42
	echo "graph_vlabel % and C°"
43 43
	echo "tempsens.label Temperature"
44 44
	echo "humsens.label Humidity"
45 45
	echo "tempsens.warning 19:24"
......
47 47
	echo "tempsens.critical 18:25"
48 48
	echo "humsens.critical :60"
49 49
	exit 0
50
fi 
50
fi
51 51

  
52 52
# HTTP GET REQUEST to retrieve the data from the WebSensor
53 53
WEBSENS_DATA_FULL=$(printf "GET $host/index.html?em345678 HTTP/1.0 \n\n" | nc $host $port )
......
61 61

  
62 62
# Sending custom formatted data to munin to create the graphs
63 63
echo "tempsens.value $WEBSENS_TEMP"
64
echo "humsens.value $WEBSENS_HUM"
64
echo "humsens.value $WEBSENS_HUM"

Formats disponibles : Unified diff