diff options
author | Vu Tran <vu.tran@windriver.com> | 2014-09-30 12:22:12 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-09-30 14:30:18 -0400 |
commit | b4d666ff63acd269b0acb2c4419643863c683750 (patch) | |
tree | f22e20ee845a0cca1fe0f7837d92a652325ba036 /meta-openstack/recipes-devtools/python/python-neutron_git.bb | |
parent | 1b8a298689a95c1943f18d8d9c24589e64bbc7b7 (diff) | |
download | meta-cloud-services-b4d666ff63acd269b0acb2c4419643863c683750.tar.gz |
add generic monitor framework
Instead of having a central file or group of files to
describe what data resources should be monitored. The
content of these files will depend on what core system
monitoring is used ((e.g. Nagios or Monasca).
It's desirable to have each recipe describes what
it wants be monitored in generic way such that various system
monitors can understand and convert these into their format.
If a recipe wishes to register itself to system monitor, it
inherits monitor bbclass and use MONITOR_SERVICE_PACKAGES and
MONITOR_SERVICE_<package name> to indicate what processes
should should be monitored. Also MONITOR_CHECKS_<package name>
variale can be used to pass list of scripts which will be run
on target and if any of these scripts fail then will report.
Eventually monitor.bbclass will be expanded to allow recipe
to describe more complicated information passed down to
system monitor (e.g. Nagios or Monasca)
Signed-off-by: Vu Tran <vu.tran@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutron_git.bb')
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutron_git.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron_git.bb b/meta-openstack/recipes-devtools/python/python-neutron_git.bb index f961487..6a9e66f 100644 --- a/meta-openstack/recipes-devtools/python/python-neutron_git.bb +++ b/meta-openstack/recipes-devtools/python/python-neutron_git.bb | |||
@@ -25,7 +25,7 @@ PV="2014.2.b3+git${SRCPV}" | |||
25 | 25 | ||
26 | S = "${WORKDIR}/git" | 26 | S = "${WORKDIR}/git" |
27 | 27 | ||
28 | inherit setuptools update-rc.d identity hosts default_configs openstackchef | 28 | inherit setuptools update-rc.d identity hosts default_configs openstackchef monitor |
29 | 29 | ||
30 | SERVICECREATE_PACKAGES = "${SRCNAME}-setup" | 30 | SERVICECREATE_PACKAGES = "${SRCNAME}-setup" |
31 | KEYSTONE_HOST="${CONTROLLER_IP}" | 31 | KEYSTONE_HOST="${CONTROLLER_IP}" |
@@ -313,3 +313,6 @@ INITSCRIPT_NAME_${SRCNAME}-l3-agent = "neutron-l3-agent" | |||
313 | INITSCRIPT_PARAMS_${SRCNAME}-l3-agent = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 313 | INITSCRIPT_PARAMS_${SRCNAME}-l3-agent = "${OS_DEFAULT_INITSCRIPT_PARAMS}" |
314 | INITSCRIPT_NAME_${SRCNAME}-metadata-agent = "neutron-metadata-agent" | 314 | INITSCRIPT_NAME_${SRCNAME}-metadata-agent = "neutron-metadata-agent" |
315 | INITSCRIPT_PARAMS_${SRCNAME}-metadata-agent = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 315 | INITSCRIPT_PARAMS_${SRCNAME}-metadata-agent = "${OS_DEFAULT_INITSCRIPT_PARAMS}" |
316 | |||
317 | MONITOR_SERVICE_PACKAGES = "${SRCNAME}" | ||
318 | MONITOR_SERVICE_${SRCNAME} = "neutron" | ||