Openstack monitoring with consul.io

539 views
Skip to first unread message

Oğuz Yarımtepe

unread,
Jun 18, 2015, 9:14:37 AM6/18/15
to consu...@googlegroups.com
Hi,

I am wondering whether any use case of consul.io at Openstack monitoring? It seems the services may be easily monitored. Can it be used as tenant based or any method to use it for tenant's vm's machines so that they can see the machine's states.

I am also wondering whether consul.io can be used with rethinkdb. My aim is to trigger a script that will send a json to some API depending on the check result. Rethindb has push support over a socket to web or it is also send the values to rabbitmq and read them. According to the documentation consul has statsd support, and statsd had rethinkdb backend. Since statsd is not scalable, this is not what i am looking for.

So any idea or tips?

Ryan Uber

unread,
Jun 18, 2015, 12:45:49 PM6/18/15
to Oğuz Yarımtepe, consu...@googlegroups.com
Consul can certainly be used alongside OpenStack components to provide service discovery and health monitoring. I am not an expert myself, but others in the community here have used Consul to monitor various components within an OpenStack deployment before. You would just need to define the checks for each component and run an agent locally on each node.

Consul doesn't currently have support for multi-tenancy within a cluster, but usually this can be worked around by running multiple clusters in tandem.

While Consul does not natively support RethinkDB, one possibility is to use Consul's "watches" to get near-realtime updates of changes to services, nodes, or health check information, and execute scripts based on the events which could push the information wherever you need it to go. Watches are documented here: https://consul.io/docs/agent/watches.html. Also note that the REST API can be used to do long-polling to consume data from Consul in an external application, and still get the near-realtime results. This is documented in the "Blocking Queries" section on this page: https://consul.io/docs/agent/http.html

Hope this helps!
- Ryan

--
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Oğuz Yarımtepe

unread,
Jun 19, 2015, 2:05:15 AM6/19/15
to Ryan Uber, consu...@googlegroups.com
Hi,

It will be great if anyone here had experience with consul and openstack, share his/her experiences. I already got an idea about health checks, it will be about the openstack services, it may be good to use consul for each tenant's VM and able to tell them their services are working. Any tips about it?
--
Oğuz Yarımtepe
http://about.me/oguzy
Reply all
Reply to author
Forward
0 new messages