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 CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'echoe'
2
- Echoe.new('munin_manager', '0.0.5') do |s|
2
+ Echoe.new('munin_manager', '0.0.6') do |s|
3
3
  s.description = "Tool to maintain and install munin plugins written in Ruby"
4
4
  s.author = "Rohith Ravi"
5
5
  s.email = "entombedvirus@gmail.com"
@@ -22,11 +22,12 @@ module MuninManager
22
22
  END
23
23
 
24
24
 
25
- stat_config = ''
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
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{munin_manager}
5
- s.version = "0.0.5"
5
+ s.version = "0.0.6"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Rohith Ravi"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: entombedvirus-munin_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rohith Ravi