Hi All,
I am getting below error , while executing event handlers.
I have configured to use embedded ruby instead of system ruby
I have generated self singed SSL certificates as per the sensu documentation .Any help would be greatly appreciated on this.
{“timestamp”:“2014-09-27T15:22:09.334031-0700”,“level”:“info”,“message”:“handler output”,“handler”:{“severities”:[“ok”,“warning”,“critical”,“unknown”],“type”:“pipe”,“command”:"/etc/sensu/handlers/logevent.rb",“name”:“logevent”},“output”:"/opt/sensu/embedded/lib/ruby/2.0.0/net/http.rb:878:in `initialize’: Connection refused - connect(2) (Errno::ECONNREFUSED)\n"}
{“timestamp”:“2014-09-27T15:22:09.334416-0700”,“level”:“info”,“message”:“handler output”,“handler”:{“severities”:[“ok”,“warning”,“critical”,“unknown”],“type”:“pipe”,“command”:"/etc/sensu/handlers/logevent.rb",“name”:“logevent”},“output”:"\tfrom /opt/sensu/embedded/lib/ruby/2.0.0/net/http.rb:878:in `open’\n"}
{“timestamp”:“2014-09-27T15:22:09.334532-0700”,“level”:“info”,“message”:“handler output”,“handler”:{“severities”:[“ok”,“warning”,“critical”,“unknown”],“type”:“pipe”,“command”:"/etc/sensu/handlers/logevent.rb",“name”:“logevent”},“output”:"\tfrom /opt/sensu/embedded/lib/ruby/2.0.0/net/http.rb:878:in `block in connect’\n"}