Yelp / sensu_handlers

Custom Sensu Handlers to support a multi-tenant environment, allowing checks themselves to emit the type of handler behavior they need in the event json
Apache License 2.0
75 stars 31 forks source link

Can someone please help me install these Handlers #116

Open hadielaham88 opened 6 years ago

hadielaham88 commented 6 years ago

Hi There, I need to use the Jira handler and I am having hard time installing the gem on my sensu server. Can someone please send me instructions on how to install this gem?

Thanks Hadie

somic commented 6 years ago

Try "gem install jira-ruby", mayby as root?

hadielaham88 commented 6 years ago

@somic that worked and I was able to get the Jira gem installed. Thanks for your assistance :)

Do you how to configure Sensu to use the Jira handler once and alert has been created (i.e as a Handler definition). Sorry I am new to the Sensu world and I am having hard time getting this to work.

somic commented 6 years ago

I am afraid our version of jira handler may not be a good fit for you.

Instead, what I'd recommend, is head over to https://docs.sensu.io/sensu-core/1.2/guides/intro-to-handlers/#getting-started-with-handlers and try to follow their docs for your version of sensu.

The handlers in this repo make many assumptions about the setup (please see README). You may be able to take some bits from here but I doubt the handler will work well for you as is.

Also note that if you pick a handler type as pipe, sensu will pipe event json to your handler on stdin. This means you can write a handler in any language, which means you don't need to try to figure it out in ruby if it's not your preferred language.