Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Commit

Permalink
slight adjustments to notify my android and sensu handler lecture
Browse files Browse the repository at this point in the history
  • Loading branch information
solarkennedy committed Sep 28, 2015
1 parent cd30bba commit 8d6b7a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@ I am by no means a "Ruby guy", but I can handle this.

So go forth and do not be afraid to build custom integrations with Sensu,
as you can see you can get very far with a very minimal product. With a
little glue, Sensu can integrate with just about anything!

### Further Reading

* [Official Documentation](https://github.com/sensu-plugins/sensu-plugin#handlers)
* [Notify My Android Rubygem](https://github.com/slashk/ruby-notify-my-android)
* [Sensu Show Handler](https://github.com/sensu/sensu-community-plugins/blob/master/handlers/debug/show.rb)
little glue, Sensu can integrate with just about anything!
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/opt/sensu/embedded/bin/ruby
require 'sensu-handler'
require 'ruby-notify-my-android'

class Show < Sensu::Handler
class NofityMyAndroid < Sensu::Handler

def handle
response = NMA.notify do |n|
Expand Down

0 comments on commit 8d6b7a7

Please sign in to comment.