File: test_99_100

package info (click to toggle)
munin 2.0.76-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,064 kB
  • sloc: perl: 11,684; java: 1,924; sh: 1,632; makefile: 636; javascript: 365; python: 267
file content (11 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#!@@BASH@@

if [ "$1" == "config" ]; then
	echo "graph_title test with decimal value"
	echo "graph_category Debug"
	echo "graph_vlabel Some value"
	echo "field99_100.label Some random decimal between 99 and 100"
else
	# emit a random decimal value between 99 and 100
	echo "field99_100.value 99.${RANDOM:1}"
fi