sensu-plugins-mailer
sensu-plugins-mailer copied to clipboard
This plugin is an email handler for Sensu.
## handler-mailer.rb with Office365 - 504 5.7.4 Unrecognized authentication type Hello everybody I'm trying to connect the handler-mailer plugin with Office365. Unfortunately, the following error message always appears: `{"timestamp":"2018-02-18T18:19:01.319729+0100","level":"error","message":"handler output","handler":{"type":"pipe","command":"/opt/sensu/embedded/bin/handler-mailer.rb","name":"mailer"},"event":{"id":"7698933b-981e-4793-80f8-7a1a091d4df8"},"output":["/opt/sensu/embedded/lib/ruby/2.4.0/net/smtp.rb:981:in...
I have a check with a command of something like `foo -password foobar -other stuff`, however the alert emails show up as `Command: foo -p foobar -other stuff` which is...
Hi, I have the same problem as reported in .. contact based routing only accepts 1 email address #55 The email contacts are configured in the check. Emails only get...
here is the server log file `"version":"0.26.5","timestamp":1515181908},"check":{"command":"/etc/sensu/plugins/sensu-plugins-memory-checks-master/bin/check-memory-percent.rb","handler":"mailer","contact":"support","subscribers":["Infrastructure"],"interval":5,"name":"check-memory-percent","issued":1515181910,"executed":1515181910,"duration":0.082,"output":"MEM CRITICAL - system memory usage: 96%\n","status":2,"type":"standard","history":["2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2"],"total_state_change":0},"occurrences":259317,"occurrences_watermark":259317,"action":"create","timestamp":1515181910,"id":"9ea995ea-aa4c-44c2-af66-bb43b4f4dac6","last_state_change":1513884914,"last_ok":1513884914,"silenced":false,"silenced_by":[]}} {"timestamp":"2018-01-05T14:51:50.901343-0500","level":"error","message":"handler output","handler":{"type":"pipe","command":"/etc/sensu/plugins/sensu-plugins-mailer-master/bin/handler-mailer.rb","name":"mailer"},"event":{"id":"9ea995ea-aa4c-44c2-af66-bb43b4f4dac6"},"output":["/opt/sensu/embedded/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- mail (LoadError)\n\tfrom /opt/sensu/embedded/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'\n\tfrom /etc/sensu/plugins/sensu-plugins-mailer-master/bin/handler-mailer.rb:18:in `'\nignoring event -- no...
sensu-plugin 2.7 has new logic to aid mutators and handlers map sensu Go event data into sensu 1.x event data. When updating need to use conservative dep so that 2.7.x...
Current code does not allow to send multipart email (typically html/plain text) because it would require a configuration switch for template or reading some headers from the template itself. Please...
Hi, I am using sensu-plugins-mailer for alerts and notifications. I noticed that handler-mailer.rb is consuming 10 to 14% of CPU. I always see that sensu server CPU consumption is 100%...
Hi I am using sensu-plugins-mailer for the mail notification. I have set below configuration for my check "interval": 60, "refresh": 43200, "timeout": 30, "handlers": ["ose-email"], my handler configuration is like...
I have a chinese windows server which send error message in chinese by the OS. input: 'check_winping' 不是内部或外部指令,也不是可运行的程序或批处理文件 error on handle: `{ handle: { "type": "pipe", "command": "handler-mailer.rb", "name": "email_handler"...
Running on CentOS 7.1 Sensu v0.22.1 I was use a previous version of mailer on my sensu server without issue. I just upgraded to the latest version on Github and...