Skip to content

Commit

Permalink
forked to sensu-transport-snssqs-ng
Browse files Browse the repository at this point in the history
This project should provide a place for feature enhancements, etc. It
is not expected to diverge greatly from the upstream project
  • Loading branch information
troyready committed Nov 8, 2016
1 parent 2d9a05e commit 842affe
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 17 deletions.
1 change: 0 additions & 1 deletion CONTRIBUTING

This file was deleted.

3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Contributing

Please submit pull requests using [good commit messages](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# sensu-transport-snssqs
# sensu-transport-snssqs-ng

`sensu-transport-snssqs` is a Sensu transport that produces messages over Amazon SNS and consumes messages from Amazon SQS, providing simplified monitoring using Sensu.
`sensu-transport-snssqs-ng` is a Sensu transport that produces messages over Amazon SNS and consumes messages from Amazon SQS, providing simplified monitoring using Sensu.

Messages flow from hosts onto an Amazon SNS topic. It is up to the operator to ensure that messages from the SNS topic flow to one SQS queue for consumption by the Sensu server.

This project is forked from the [the Simple team's project](https://github.com/SimpleFinance/sensu-transport-snssqs) to add additional community-generated enhancements. It is intended to provide a superset of the upstream features.

### Architecture

![architecture diag](arch.png)
Expand All @@ -27,15 +29,15 @@ To use this `snssqs` transport, this gem must be in your Sensu installation's ru
If you're installing Sensu via Chef, you can use the `sensu_gem` resource to ensure the gem is in Sensu's ruby include path:

```
sensu_gem 'sensu-transport-snssqs' do
sensu_gem 'sensu-transport-snssqs-ng' do
action :install
end
```

Otherwise, if you're running Sensu via bundler, add this line to your Sensu installation's Gemfile:

```
gem 'sensu-transport-snssqs'
gem 'sensu-transport-snssqs-ng'
```

That should place this gem into the include path.
Expand Down Expand Up @@ -80,4 +82,4 @@ The following table lists possible settings and their descriptions. The values s
| statsd_sample_rate | Set the sample rate for all statsd operations. This should be a string with a value between 0 and 1.0. |
## License

`sensu-transport-snssqs` is released under the Apache 2.0 License, full copy of which is inside of the `LICENSE` file.
`sensu-transport-snssqs-ng` is released under the Apache 2.0 License, full copy of which is inside of the `LICENSE` file.
22 changes: 22 additions & 0 deletions certs/troyreadygems.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
-----BEGIN CERTIFICATE-----
MIIDjjCCAnagAwIBAgIBATANBgkqhkiG9w0BAQUFADBGMRgwFgYDVQQDDA90cm95
LnJlYWR5X2dlbXMxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixk
ARkWA2NvbTAeFw0xNjExMDgyMzMzMjlaFw0xNzExMDgyMzMzMjlaMEYxGDAWBgNV
BAMMD3Ryb3kucmVhZHlfZ2VtczEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYK
CZImiZPyLGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
4HhKJwPlVHMlOaxmv2FBaS/M8u/9mN2v5WWsv0+6P934jzDIYBBKE6oW5eFUg6vM
wpWOaF4O4mwCRoOCvfGuhg2ufVnDYh3GPIWqE1ziIBx/Y3D5VIQSnAvP4/6yDMuS
kKTHi3/fJcs/vOs9JiuTb7zkb53TFLlR/g2lX6I8vy0HowJcMYZzKLhEUnnIPG7a
DPD5Qy67p8rIy/T6AsSCCPdn+mpg1jLHsTsj6DdQxPyM9rtNZRRGvBluZNa4QxYv
PMj3dSRlO9eEKHayrY24pcOZqus8eyPE64bbOeR6yj34vRMJ2eeu+Pq/YzRxlqmf
1dtR7Nm3Uxhmw1/PLWi8eQIDAQABo4GGMIGDMAkGA1UdEwQCMAAwCwYDVR0PBAQD
AgSwMB0GA1UdDgQWBBTX6fBjssJCph8JWQd+lF31ZWtkLTAkBgNVHREEHTAbgRl0
cm95LnJlYWR5K2dlbXNAZ21haWwuY29tMCQGA1UdEgQdMBuBGXRyb3kucmVhZHkr
Z2Vtc0BnbWFpbC5jb20wDQYJKoZIhvcNAQEFBQADggEBADMf8GNVKPmUTX8iirDp
p4FJtZ5pv614QBSoxutDMTVRPUGluN9dZ/oUNTBvByrm4CJI4vMbZhfIs07L8YdG
D/u5A5nXD9qlKIi9CtYHIekjsetool2s4tCMTyvNO4CfV/dALT0Vdc3gXIPeC8YZ
lIT+5GzwvlSX+TXYUq/Q4lDLQHU28j2nC4yFl5rej5akZCjiurJWE8A9P/AiHkgc
ZHJ4XyeURdy0oA6kjiWzYf4puRodQTDQ2W4uis7aHSkqVrw/SCW5YgFZkEBh72KY
SDfvq2xI1v+iTmBkyYqft23MKnTcc5jJ5Gh0a11a2zUstWaH1XHelXYCx44ZLCtC
Q6k=
-----END CERTIFICATE-----
15 changes: 15 additions & 0 deletions sensu-transport-snssqs-ng.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Gem::Specification.new do |g|
g.name = 'sensu-transport-snssqs-ng'
g.version = '2.0.4'
g.summary = 'Sensu transport over Amazon SNS & SQS'
g.authors = ['Troy Ready']
g.email = '[email protected]'
g.cert_chain = ['certs/troyreadygems.pem']
g.signing_key = File.expand_path('~/.gem/gem-private_key.pem') if $0 =~ /gem\z/
g.files = ['lib/sensu/transport/snssqs.rb']
g.homepage = 'https://github.com/troyready/sensu-transport-snssqs-ng'
g.licenses = ['Apache-2.0']
g.add_dependency('aws-sdk')
g.add_dependency('eventmachine')
g.add_dependency('statsd-ruby')
end
11 changes: 0 additions & 11 deletions sensu-transport-snssqs.gemspec

This file was deleted.

0 comments on commit 842affe

Please sign in to comment.