changeset 16 | d6773db8469c |
parent 14 | d5cb8bd33170 |
child 26 | 54f2f57cc0b0 |
--- a/lib/arborist/monitor/snmp/process.rb Mon Apr 09 16:13:08 2018 -0700 +++ b/lib/arborist/monitor/snmp/process.rb Mon Apr 09 18:51:52 2018 -0700 @@ -80,7 +80,7 @@ # Check against what is running. # - Array( config['processes'] || self.class.check ).each do |process| + Array( config['check'] || self.class.check ).each do |process| process_r = Regexp.new( process ) found = procs.find{|p| p.match(process_r) } errors << "'%s' is not running" % [ process ] unless found