sensu-plugins/sensu-plugins-mailer

Error sensu-handler.rb

Closed this issue · 3 comments

Get the next error:

cat /etc/sensu/conf.d/mailer.json | /opt/sensu/embedded/bin/ruby /etc/sensu/handlers/handler-mailer.rb

/opt/sensu/embedded/lib/ruby/gems/2.2.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:128:in +': no implicit conversion of nil into String (TypeError) from /opt/sensu/embedded/lib/ruby/gems/2.2.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:128:infilter_silenced'
from /opt/sensu/embedded/lib/ruby/gems/2.2.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:31:in filter' from /opt/sensu/embedded/lib/ruby/gems/2.2.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:54:inblock in class:Handler'

Can you help?

Thanks!

Just configuration issue.

zoell commented

What was the configuration issue? I have the same problem.

same