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!
173 questions
10
votes
1 answer

bad_header for AMQP connection while connecting sensu-client to server

I have installed sensu with chef community cookbook. However, sensu client fails to connect to server. Results in rabbitmq connection error with message timed out while attempting to connect Here are detailed client logs logs from…
Cthulhu
  • 264
  • 1
  • 2
  • 9
9
votes
2 answers

sensu-client check-memory sample work working

I am trying to get sensu working. The following is the sensu-client.log ubuntu@ip:~$ sudo tail -f /var/log/sensu/sensu-client.log {"timestamp":"2016-09-27T16:07:37.628182-0400","level":"info","message":"completing checks in…
Siddharth
  • 8,842
  • 13
  • 79
  • 133
6
votes
1 answer

Sense client error "previous check command execution in progress"

I am using latest sensu core version 0.26.1, set up sensu server on one CentOS machine, set up one sensu client on another. There are about 500 checks in one sensu client, I keep seeing "previous check command execution in progress" in…
Wayne Ye
  • 2,252
  • 2
  • 20
  • 28
5
votes
1 answer

Sensu trigger event manually

Sensu says: A Sensu Event is created when a check result indicates a change in state. Is it possible to create a custom event which is not a result of a check ? Sensu API has no command to create an event:…
Max Ivak
  • 1,301
  • 14
  • 35
5
votes
4 answers

Installing Slack Plugin to Sensu NON-enterprise edition

I have Sensu running and followed the instructions the best I could to install the Slack plugin. I'm attempting to just do a "hello-world" to get started, but the documentation seems lacking to me. I followed the "getting started" with…
benishky
  • 579
  • 1
  • 4
  • 16
5
votes
5 answers

Sensu-Client inside Docker container

I created a customize Docker image based on ubuntu 14.04 with the Sensu-Client package inside. Everything's went fine but now I'm wondering how can I trigger the checks to run from the hosts machine. For example, I want to be able to check the…
Ilan
  • 421
  • 1
  • 6
  • 17
5
votes
2 answers

Can not take jstat metrics using bash as Sensu plugin

I have created bash scirpt that takes jstat metrics of my jvm instances! Here is the output example : demo.server1.sms.jstat.eden 24.34 0 demo.server1.lcms.jstat.eden 54.92 0 demo.server1.lms.jstat.eden 89.49 0 demo.server1.tms.jstat.eden…
Onbayev Kanat
  • 283
  • 3
  • 9
4
votes
1 answer

How can I auto scale EC2 instances with system data collected by the Sensu framework?

I want to scale out my EC2 instances on AWS. For this I have been suggested to use the Sensu framwork. I want to scale out the instance based on its CPU usage. For testing I have configured Sensu on both Windows and Ubuntu(V.Box), I'm running a…
Anand Soni
  • 5,930
  • 9
  • 48
  • 97
4
votes
1 answer

Sensu Emailer `parse_options': invalid option: -j (OptionParser::InvalidOption)

Trying to setup amazon ses for sensu Setup 1 I have handler-mailer.rb -j mailme_using_amazonses in my config.json and handler-mailer.rb is in my /etc/sensu/plugins folder When I run on command line, I get errors ruby…
Siddharth
  • 8,842
  • 13
  • 79
  • 133
4
votes
1 answer

No keepalive sent from client

I had installed sensu server,sensu client,redis,rabbitmq on individual centos machines.I can see logs of Sensu client for memory check,but the same is missing in sensu server and sensu server logs show: No keepalive sent from client for 248234…
kumar kittu
  • 69
  • 1
  • 7
4
votes
2 answers

Installing sensu, sensu-dashboard does not install

I am installing a sensu server inside a docker container running ubuntu 14.04 but when I install it for some reason it does not install the sensu-dashboard. When I run the following command to set up the defaults I get a file does not exist error >…
user3001829
  • 19,124
  • 5
  • 15
  • 21
3
votes
3 answers

How to install Sensu client without installing Sensu server?

I am trying to install a Sensu client without the server. According to the documentation: "The Sensu Core package installs several processes including sensu-server, sensu-api, and sensu-client." However after adding the repository, I was only able…
Greg
  • 6,043
  • 8
  • 41
  • 93
3
votes
2 answers

Sensu log files growing to enormous sizes

My sensu-client.log files are growing to ridiculous sizes like 1.7 GB plus and it is taking up a lot of unnecessary space. Does anyone know how to set an option to limit the file size or have an additional suggestion to control this. Thanks
user3001829
  • 19,124
  • 5
  • 15
  • 21
3
votes
6 answers

sensu mailer and pipe

i'm switching over from nagios to sensu. i'm using chef to automated the process. everything is working great except the mailer or actually, i narrowed it down to the "pipe" that is suppose to redirect the json output from the check to the…
user2608740
  • 39
  • 1
  • 4
2
votes
1 answer

Is there any refresh and occurrence fields like sensu core in sensu go?

We are using sensu go with email handler. In sensu go, is there any way to use occurrence,refresh like sensu core?
Santhosh
  • 68
  • 4
1
2 3
11 12