Sensu dashboard as Horizon plugin.
Allows list events from multi Sensu APIs aka Uchiwa datacenters.
Known Error Database as optional service provide store for your errors and workarounds.
Monitoring, issues and solutions in one dashboard.
This plugin provide Monitoring
dashboard with these panels
- Current Events
- Event Stahes
- Service Checks
- Aggregations
- Monitored Clients
- Monitoring Status
optionaly with configured KEDB is there two additional panels
- Known Errors
- Workarounds
- Openstack Horizon
- Sensu API >= 0.16.0
- KEDB is optional
pip install horizon-sensu-dashboard
- add 'horizon_monitoring' to
INSTALLED_APPS
tuple - add 'monitoring' to 'dashboards' key in
HORIZON_CONFIG
- and config for your Sensu API
SENSU_HOST='localhost'
SENSU_PORT=4567
for more Sensu APIs write this
SENSU_API = {
'DC1': {'host': '10.10.10.10'},
'DC2': {'host': '10.10.10.11', 'port': 9999, 'icon': 'fa fa-cloud'},
}
for custom check filter you could write this
def check_filter(check):
return ":".join(check['name'].split("_")[1:-1])
SENSU_CHECK_FILTER = check_filter
this filter is applied on check in event view, default returns check name.
if you are using service KEDB put this into your settings.py
:
KEDB_HOST='localhost'
KEDB_PORT=6754
- http://docs.openstack.org/developer/horizon/topics/tutorial.html
- http://sensuapp.org/docs/0.16/api
- http://docs.openstack.org/developer/horizon/_modules/horizon/tables/base.html
- http://docs.openstack.org/developer/horizon/ref/tables.html
- http://nagios.sourceforge.net/docs/3_0/flapping.html
- https://github.com/ehazlett/sensu-py/
- https://github.com/tcpcloud/kedb.git