Monitoring control services
The control tier of an OpenStack cloud has the most moving parts that will need to be monitored. There are a few services that need at least a basic service connection validation. They include, but are not limited to, MySQL, RabbitMQ, and MongoDB. More monitoring can certainly be added beyond simple connection checks to monitor connections, queue sizes, and other statistics of the services. For now, we'll just add a connection check to make sure that these services are running:
define service { check_command check_mysql!nagios! nagios_password host_name control service_description MySQL Health check use generic-service } define service { check_command check_nrpe!check_rabbitmq_aliveness host_name control service_description RabbitMQ service check use generic-service } define service { check_command check_nrpe!check_mongod_connect host_name control service_description MongoDB service check use generic-service }
You can get the scripts for Rabbit and...