Merge pull request #86 from mattt416/add_alarm_for_neutron_metering_agent

Add check/alarm for neutron-metering-agent
This commit is contained in:
Andy McCrae 2014-09-15 12:12:50 +01:00
commit f2678aa860

View File

@ -193,6 +193,18 @@
roles:
- maas_local
- hosts: neutron_l3_agent
vars:
check_name: neutron_metering_agent_check
check_details: file=neutron_service_check.py,args=--host,args={{ ansible_hostname }},args={{ internal_vip_address }}
check_period: "{{ maas_check_period }}"
check_timeout: "{{ maas_check_timeout }}"
alarms:
- { 'name': 'neutron_metering_agent_status', 'criteria': ':set consecutiveCount={{ maas_alarm_local_consecutive_count }} if (metric["neutron-metering-agent_status"] != 1) { return new AlarmStatus(CRITICAL, "neutron-metering-agent down"); }' }
user: root
roles:
- maas_local
- hosts: nova_api_os_compute
vars:
check_name: nova_api_local_check