Questions tagged [sensu]

Sensu is an open source monitoring framework written in ruby.

Sensu (www.sensuapp.org) is often described as the "monitoring router". Most simply put, Sensu connects "check" scripts run across many nodes with "handler" scripts run on one or more Sensu servers. Checks are used, for example, to determine if Apache is up or down. Checks can also be used to collect metrics (such as MySQL or Apache statistics). The output of checks is routed to one or more handlers. Handlers determine what to do with the results of checks. Handlers currently exist for sending alerts via email, as well as to various external services such as Pagerduty, IRC, Twitter, etc. Handlers can also feed metrics into Graphite, Librato, etc. Writing checks and handlers is quite simple and can be done in any language.

Key details:

  • (EventMachine, Sinatra, AMQP), ,
  • Excellent test coverage with continuous integration via travis-ci
  • Messaging oriented architecture. Messages are objects.
  • Ability to re-use existing Nagios plugins
  • Plugins and handlers (think notifications) can be written in any language
  • Supports sending metrics into various backends (Graphite, Librato, etc)
  • Designed with modern configuration management systems such as or in mind
  • Designed for cloud environments
  • Lightweight, less than 1200 lines of code
  • "Omnibus" style packages for easy, low-friction deployments!
170 questions
0
votes
1 answer

The channel 1 was closed, you can't use it anymore! (AMQP::ChannelClosedError)

I am trying to use sensu framework for monitoring my EC2 instance but unfortunately i am facing one problem of The channel 1 was closed, you can't use it anymore! (AMQP::ChannelClosedError). The stack of error is posed here also but can figure out…
Anand Soni
  • 5,070
  • 11
  • 50
  • 101
-1
votes
1 answer

Request returned undefined method `parse' when extend Sensu Plugin Metric class

I am calling an API in Sensu custom metric-collection-check, but when I tried to parse the response its throw the below error Request returned undefined method `parse' for Sensu::Plugin::Metric::CLI::JSON:Class While the same API parse working in…
Adiii
  • 54,482
  • 7
  • 145
  • 148
-1
votes
1 answer

How to import Nagios config to Sensu?

I have nagios config and Sensu test environment. And I want to add all nagios check to Sensu. Should I convert nagios configs to JSON or there are any solution, probably plugin for Sensu? Thanks.
mikonoid
  • 25
  • 2
  • 7
-1
votes
1 answer

sensu mailer handler using mail gem ruby

i am facing some issue using sensu mailer handler, please help me out to solve this issue i think i am facing port issue, does anyone have any idea. "output":["/opt/sensu/embedded/lib/ruby/2.3.0/net/smtp.rb:542:in initialize': execution expired…
sreenivas
  • 395
  • 3
  • 17
-2
votes
1 answer

In Sensu server I am facing issue when I want to use graphite

In Sensu server logs :- level":"fatal","message":"handler socket must be a hash","object":{"type":"tcp","host":"127.0.0.1","port":2003,"name":"graphite_tcp"}}
1 2 3
11
12