summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-01-27 15:53:16 +0000
committermh <mh@immerda.ch>2009-01-27 15:53:16 +0000
commit86aae35859dc1bceac71b6bb11be03cd3fd5d422 (patch)
tree6ca08aba67fe9fece8911de2de8ae3a3e17bc63f
parentb0a1609e37045fe9251d4afaedde35a1ca65ca2a (diff)
downloadpuppet-lighttpd-86aae35859dc1bceac71b6bb11be03cd3fd5d422.tar.gz
puppet-lighttpd-86aae35859dc1bceac71b6bb11be03cd3fd5d422.tar.bz2
added additional label aparams
-rw-r--r--files/munin/lighttpd_14
1 files changed, 12 insertions, 2 deletions
diff --git a/files/munin/lighttpd_ b/files/munin/lighttpd_
index 65d51d2..a13fccd 100644
--- a/files/munin/lighttpd_
+++ b/files/munin/lighttpd_
@@ -11,18 +11,26 @@ if kind == "total_accesses":
graph_title = "Total Accesses"
graph_type = "DERIVE"
graph_vlabel = "Handled Requests"
+ graph_label = "requests"
+ graph_info = "Amount of handled requests"
elif kind == "total_kbytes":
graph_title = "Total KBytes"
graph_type = "DERIVE"
graph_vlabel = "Transferred KBytes"
+ graph_label = "kbytes"
+ graph_info = "Amount of transferred KBytes"
elif kind == "uptime":
graph_title = "Uptime"
graph_type = "DERIVE"
- graph_vlabel = "uptime in seconds"
+ graph_vlabel = "Uptime in seconds"
+ graph_label = "uptime"
+ graph_info = "Uptime in secoonds"
elif kind == "busyservers":
graph_title = "Busy Servers"
graph_type = "GAUGE"
- graph_vlabel = "amount of busyservers"
+ graph_vlabel = "Amount of busyservers"
+ graph_label = "busyservers"
+ graph_info = "Amount of busyservers"
if len(sys.argv) == 2 and sys.argv[1] == "autoconf":
@@ -32,6 +40,8 @@ elif len(sys.argv) == 2 and sys.argv[1] == "config":
print 'graph_vlabel ' + graph_vlabel
print 'graph_category lighttpd'
print kind+'.type ' + graph_type
+ print kind+'.label ' + graph_label
+ print kind+'.info ' + graph_info
print 'graph_args --base 1000'
else: