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
0 answers

Sensu check return critical but but uchiwa show green

I have http check on sensu , sensu client return critical but uchiwa show check as green . check : "request1":{ "command": "/etc/sensu/plugins/check-http.rb -U XXX -a XXXX -t 5 -q 'OK' -u …
uno-2017
  • 509
  • 1
  • 8
  • 26
0
votes
3 answers

Sensu Ruby rest-client-1.8.0 issue

We are doing an application in which we have to find from where the message is triggering to RabbitMQ. We found that the message is posting to RabbitMQ from process.rb file. We tried to make a rest call to get what message is getting posted to…
Mohamed Safi
  • 39
  • 2
  • 10
0
votes
1 answer

Adding checks in clients is mandatory in sensu ? Can't we add checks in only server and monitor the clients?

I have added some checks in the sensu server and also subscribed for those checks, But the checks are not being seen in the UI for clients. Is it mandatory to add the checks in clients?
Vineesha.C
  • 333
  • 3
  • 13
0
votes
1 answer

Sensu /checks API call appears empty

I am running Sensu as a series of Docker containers (sensu-server, sensu-api, n sensu-clients, rabbitmq and redis). While the clients successfully register themselves and run checks requested by the server, and whose checks will be reported via…
Danielle Madeley
  • 2,616
  • 1
  • 19
  • 26
0
votes
1 answer

Error while upgrading sensu puppet module: Invalid parameter prefetch on sensu_rabbitmq_config

I'm trying to upgrade the sensu-puppet module and im getting an error when i run puppet now: the error is: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter prefetch on Sensurabbitmqconfig[<(hostname …
Vandexel
  • 609
  • 2
  • 7
  • 17
0
votes
2 answers

Is it possible to associate clients dynamically in sensu?

I'am using open source tools for the first time. I would like to install sensu, All i want to know that is there any method in which i can add my newly provisioned service automatically to the sensu server.
Vineesha.C
  • 333
  • 3
  • 13
0
votes
1 answer

Sensu Scheduler Oddness

I run < 24 checks on my systems. Servers are not regularly heavily loaded. Load averages keep well under 1 during normal operation. I have noticed a re-occurring issue where the check-cpu check would start triggering high load averages on systems…
dank
  • 579
  • 3
  • 11
0
votes
2 answers

Hiding sensu information from commands

I work at a company and many employees have access to our sensu server. In the /etc/sensu/conf.d file, we have json files that contain the commands for our checks to run. however, some of these commands contain sensitive information that i don't…
Vandexel
  • 609
  • 2
  • 7
  • 17
0
votes
1 answer

Error Setting up Containerized Sensu-server and client, to monitor Docker

I am trying to setup sensu-server to monitor my docker containers, by following the instructions on this post. The Docker daemon is running on the same host has the sensu-server and sensu-clients (localhost). The file check-docker, contains an entry…
doublebyte
  • 1,225
  • 3
  • 13
  • 22
0
votes
1 answer

Sensu: Registering client doesn't render keep alive warning after delay

When I create a Sensu client with the POST /clients API resource, it shows up in Uchiwa Dashboard, but I'm expecting the keep alive check to fail after 180 seconds by default because there is no actual Sensu client checking in. How do I get the keep…
Neil
  • 24,551
  • 15
  • 60
  • 81
0
votes
1 answer

Can I configure Salt to send emails to 2 targets for Sensu?

I'm configuring Sensu via Salt. Below is my sensu.sls file. As you can see below, it sends emails to alert@mydomain.com. However I want it to send these emails to another email address too. Am I allowed to put 2 email addresses on that line? How do…
Saqib Ali
  • 11,931
  • 41
  • 133
  • 272
0
votes
1 answer

sensu-client is failing during start

My sensu-client is failing during start (fresh install) and /var/log/sensu/sensu-client.log doesn't show much despite me adding LOG_LEVEL=debug into /etc/default/sensu . I used similar client.json and rabbitmq.json config files (inside…
irom
  • 3,316
  • 14
  • 54
  • 86
0
votes
0 answers

list all metrics which crossed threshold values on checks in sensu

I have metrics going into graphite server from sensu. I need to list all the particular pattern of metrics which crossed the threshold value ,set by me using Graphite functions. As of now i am using "ruby check-graphite-data.rb -s xx.xx.xx.xx:8080…
kumar kittu
  • 87
  • 2
  • 9
0
votes
0 answers

Adding custom keys to Sensu clients

I am trying to add custom keys/values in a sensu client via the sensu API: curl -X POST localhost:4567/clients -d '{"name":"test-sensu","address":"test-address","subscriptions":[], "custom":"value"}' The custom label is added (along with a…
Ginger
  • 13
  • 1
  • 5
0
votes
0 answers

Sensu Events API, Search queries

I've just started using Sensu, I know we have an Events API, where we can retrieve events. Since I'm used to Splunk, I used to run search queries to retrieve events. I'm trying to do the same here, Say I got the event below, how will I use Sensu…
snabel
  • 343
  • 1
  • 2
  • 15