I came to Sensu with experience in Nagios, Zenoss and many SaaS monitoring systems.
While I understand basic Sense concepts and have POC Sensu instance up and running, I have some “conceptual” questions:
- I like to use “OOP like” approach in DevOps, i.e hierarchy of objects with inheritance.
For instance - I’d like to set up “BASIC-LINUX-CHECKS” subscription, relevant for all linux boxes, plus
add some checks, relevant for “WEBSERVERS” group of servers, plus “WEBSERVERS-WITH-VARNISH” for a subgroup with Varnish
add “MYSQL-DATABASE” checks for MySQL servers; plus “MYSQL-SLAVES” for a MySQL slaves subgroup.
Is there some way to implement it in Sensu?
- Objects grouping.
The only was for objects grouping which is usable in Sensu dashboard and alerting, is Subscription.
I hoped to use “Environment” labels for such grouping, and use these labels in both dashboard and alerts filtering, but it seems that Dashboard doesn’t know about Environment.
But I need something in addition to Subscription, because for example I have different group of database servers. I mean - they should run the same DB server checks, but they are different - this is Production group, which should be included on NOC dashboard, there is Development group, which should be visible to developers, and this is Test group, which should be visible only for Sensu admins.
How I do this in Sensu?