riemann-babbler 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -21,8 +21,8 @@ class Riemann::Babbler::Runit < Riemann::Babbler
|
|
21
21
|
def read_run_status
|
22
22
|
status = Array.new
|
23
23
|
Dir.glob('/etc/service/*').each do |srv|
|
24
|
-
next if plugin.not_monit.include? srv
|
25
24
|
human_srv = ' ' + srv.gsub(/\/etc\/service\//, '')
|
25
|
+
next if plugin.not_monit.include? human_srv
|
26
26
|
stat_file = File.join(srv, 'supervise', 'stat')
|
27
27
|
next unless File.exists? stat_file
|
28
28
|
srv_uptime = uptime(srv)
|