Révision e3899a30
Reduce number of categories, use more generic terms
| plugins/streaming/icecast_ | ||
|---|---|---|
| 89 | 89 |
print "graph_title Icecast client listening duration" |
| 90 | 90 |
print "graph_args --base 1000 -l 0" |
| 91 | 91 |
print "graph_scale no" |
| 92 |
print "graph_category Icecast"
|
|
| 92 |
print "graph_category streaming"
|
|
| 93 | 93 |
print "graph_vlabel minutes" |
| 94 | 94 |
print "avg.label average listening duration" |
| 95 | 95 |
print "mdn.label median listening duration" |
| ... | ... | |
| 97 | 97 |
print "graph_title Icecast source uptime" |
| 98 | 98 |
print "graph_args --base 1000 -l 0" |
| 99 | 99 |
print "graph_scale no" |
| 100 |
print "graph_category Icecast"
|
|
| 100 |
print "graph_category streaming"
|
|
| 101 | 101 |
print "graph_vlabel hours" |
| 102 | 102 |
for s in sources: |
| 103 | 103 |
print "%s.label source %s" % (s["mount"].strip("/").replace(".","_").replace("-","_"), s["mount"])
|
| 104 | 104 |
elif plugin_name == "icecast_traffic": |
| 105 | 105 |
print "graph_title Icecast outgoing traffic" |
| 106 | 106 |
print "graph_args --base 1024 -l 0" |
| 107 |
print "graph_category Icecast"
|
|
| 107 |
print "graph_category streaming"
|
|
| 108 | 108 |
print "graph_vlabel bytes / second" |
| 109 | 109 |
is_first = True |
| 110 | 110 |
for s in sources: |
| ... | ... | |
| 121 | 121 |
print "graph_title Icecast listeners count" |
| 122 | 122 |
print "graph_args --base 1000 -l 0" |
| 123 | 123 |
print "graph_scale no" |
| 124 |
print "graph_category Icecast"
|
|
| 124 |
print "graph_category streaming"
|
|
| 125 | 125 |
print "graph_vlabel listeners" |
| 126 | 126 |
is_first = True |
| 127 | 127 |
for s in sources: |
Formats disponibles : Unified diff