entombedvirus-munin_manager 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/lib/munin_manager/plugins/scribe_net.rb +2 -2
- data/munin_manager.gemspec +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
|
@@ -22,11 +22,12 @@ module MuninManager
|
|
|
22
22
|
END
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
|
|
26
26
|
graph_order = 'graph_order'
|
|
27
27
|
counters.keys.each do |stat|
|
|
28
28
|
stat_name = format_for_munin(stat)
|
|
29
29
|
graph_order << " "+ stat_name
|
|
30
|
+
stat_config = "#{stat_name}.label #{stat_name}"
|
|
30
31
|
net_stats.each do |var,value|
|
|
31
32
|
value = "#{stat_name}," + value if var == :cdef
|
|
32
33
|
stat_config << "#{stat_name}.#{var} #{value}\n"
|
|
@@ -69,7 +70,6 @@ module MuninManager
|
|
|
69
70
|
|
|
70
71
|
def net_stats
|
|
71
72
|
stats = {
|
|
72
|
-
:label => 'read',
|
|
73
73
|
:type => 'COUNTER',
|
|
74
74
|
:cdef => '8,*'
|
|
75
75
|
}
|
data/munin_manager.gemspec
CHANGED