Need to integrate monitoring puppet classes to Foreman/Quickstack, initially implemented with Nagios, in order to offer monitoring features to be available to customer as an option. An initial set of monitoring tasks to cover: - Nodes: ping, load, disk usage - Openstack services: Long list here. APIs availability checks, scaffold for more advance checks such as instances builds, network floating IPs, etc.
Can you advise if this needs PuppetDB to function properly?
Yes, I do confirm, the current (rebased) pull request Astapor PR#80 requires PuppetDB to work. This process is quite straightforward: 1. Each OpenStack node register itself: https://github.com/redhat-openstack/astapor/pull/86/files#diff-6fbf6936fbe2479ec8be03f8f55c3d6dR187 2. Nagios server collects the nodes: https://github.com/redhat-openstack/astapor/pull/86/files#diff-6fbf6936fbe2479ec8be03f8f55c3d6dR187 Now, replacing PuppetDB using a different implementation, for instance ForemanAPI/Facts, would be much *heavier* and as far as discussed *not recommended*. That said I hadn't had time to develop that path.
Decoupled Nagios from quickstack Therefore this BZ becomes a tracker for the related dependencies. 1. Quickstack Abandoned aforementioned Astapor PR#80 To be replaced with a version using outside Openstack-Puppet-Module[OPM]: Nagios Puppet module for OpenStack https://github.com/gildub/puppet-nagios-openstack The latter makes use of PuppetDB if it's configured Otherwise it uses a built-in mechanism definition sharing. New astapor PR for new approach under test. 2. [OPM] To include the nagios module: https://github.com/redhat-openstack/openstack-puppet-modules/pull/75 Also needed to bump up puppet-concat version: https://github.com/redhat-openstack/openstack-puppet-modules/pull/75
The following Quickstack Pull Request adds Nagios integration: https://github.com/redhat-openstack/astapor/pull/309 There are some dependencies: - puppet-nagios-openstack [1] - puppet-module-data [2] - nagios-plugins: disk and load - BZ#1118537 The first two are provided through Openstack Puppet Modules [OPM]: [1] is to be integrated: https://github.com/redhat-openstack/openstack-puppet-modules/pull/83 [2] is already merged into [OPM] but needs to make it to the build (RPM)
Aforementioned PR309 also needs puppet concat module [OPM] to be bumped up: https://github.com/redhat-openstack/openstack-puppet-modules/pull/82
moving to on_dev since patch needs review