Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for "aggregate checks" #1041

Closed
apognu opened this issue Sep 5, 2015 · 5 comments

Comments

Projects
None yet
4 participants
@apognu
Copy link

commented Sep 5, 2015

Hi there,

I'm not sure the title really conveys what I'm trying to say here, let me explain.

One of the thing I want to monitor is a Mesos cluster, which runs Docker. One of my checks would be "I need to have at least three instances of this Docker container across my whole cluster".

The same paradigm could be applied to some other datacenter-oriented OS's, with a check that would be triggered if the total available RAM across the cluster falls beneath a certain point.

At this moment, to my knowledge, checks only apply to a single node's context.

Thank you for your ideas and suggestions.

Regards,
A.

@portertech

This comment has been minimized.

Copy link
Member

commented Oct 19, 2015

Hello @apognu, this functionality currently available Sensu core, and is known as check aggregates 👍 You can add the check definition attribute "aggregate": true (https://sensuapp.org/docs/latest/checks#definition-attributes) to any check definition and an aggregate will be created for each execution. Sensu check aggregates are "lazy", int that there is technically no end to one, you can query the check aggregates via the Sensu API https://sensuapp.org/docs/latest/api-aggregates

@portertech portertech added the Help label Oct 19, 2015

@br0ch0n

This comment has been minimized.

Copy link

commented Dec 11, 2015

Just to be clear, there is or is not support for standalone aggregates yet? I see a few different open issues/PRs about this. Unless I'm missing something, my only option for standalone aggregates at this point is to make a check querying/aggregating redis data directly like @solarkennedy has done with his cluster check script. @portertech , is this true?

@calebhailey

This comment has been minimized.

Copy link
Member

commented Apr 9, 2016

Tagged this for renewed discussing in #1218.

@calebhailey

This comment has been minimized.

Copy link
Member

commented Apr 26, 2016

A proposal for "aggregates 2.0" has been published as a comment on issue #1218. Barring any objections, this proposal will be implemented in Sensu 0.24 and will resolve this issue.

@calebhailey calebhailey added this to the 0.24 milestone Apr 26, 2016

@portertech

This comment has been minimized.

Copy link
Member

commented May 25, 2016

Aggregates 2.0 has been merged into the release/0.24 branch #1273 Sensu 0.24 will be available sometime next week.

@portertech portertech closed this May 25, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.