File: test_99_100

package info (click to toggle)
munin 2.0.6-4%2Bdeb7u2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,944 kB
  • sloc: perl: 11,577; sh: 2,939; java: 1,880; makefile: 726; python: 272
file content (11 lines) | stat: -rw-r--r-- 314 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/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