Comments (7)
fixed via adding Timeout.
from sensu-plugins-mailer.
Would be great to fix this. Care to create a PR?
from sensu-plugins-mailer.
Same here:
{"timestamp":"2016-06-08T17:23:30.243635-0700","level":"info","message":"handler output","handler":{"type":"pipe","command":"/opt/sensu/embedded/bin/handler-mailer.rb","name":"mailer"},"output":["/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:134:in `block in filter_silenced': Object#timeout is deprecated, use Timeout.timeout instead.\n/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:134:in `block in filter_silenced': Object#timeout is deprecated, use Timeout.timeout instead.\n/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:134:in `block in filter_silenced': Object#timeout is deprecated, use Timeout.timeout instead.\n/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-mailer-0.2.0/bin/handler-mailer.rb:215:in `handle': Object#timeout is deprecated, use Timeout.timeout instead.\nmail -- sent alert for server_hostname/keepalive to [email protected]\n"]}
from sensu-plugins-mailer.
@asciifaceman it's a deprecation from ruby 2.3.0 feel free to downgrade your ruby
from sensu-plugins-mailer.
does this have to be released in the next version? we are at 0.3.1, i assume this fix will be put into 0.3.2?
or is there another way i can get this update
EDIT: I guess this isn't a "blocker".. no rush on releasing it. it won't actually cause errors.
from sensu-plugins-mailer.
hi @ddavison, new release with the timeout fixes will be out soon.
from sensu-plugins-mailer.
1.0.0 has been released to rubygems.
from sensu-plugins-mailer.
Related Issues (20)
- New issues comes yesterday for handler-mailer.rb
- `build_body': undefined method `[]' for nil:NilClass HOT 2
- -j, --json_config help text and documentation are misleading HOT 1
- warning: event filtering in sensu-plugin is deprecated HOT 13
- Send mail with google SMTP HOT 1
- subscriptions do not seem to work
- Support sending emails to multiple senders HOT 2
- default mailer handler fails in embedded ruby HOT 5
- receiving the alerts before the refresh interval HOT 2
- contact based routing only accepts 1 email address HOT 20
- contact based routing only accepts 1 email address - same as #55 HOT 15
- Code explanation HOT 2
- High CPU consumption by mailer handler HOT 1
- Mailer breaks when you specify an ERB template HOT 11
- `require': cannot load such file -- mail HOT 5
- Handler is not being executed HOT 1
- handler-mailer.rb with Office365 - 504 5.7.4 Unrecognized authentication type HOT 2
- Subscriptions recipients not honored HOT 2
- Update sensu-plugin conservative dep 2.7 to pick up new Sensu Go event data mapping
- Handler still does internal filtering
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sensu-plugins-mailer.