monitoring/collectd-extensions
Eric MacDonald 63c8d1e55a Add consistent init and config complete checks to collectd plugins
Some of the collectd plugins are not waiting for configuration
complete before starting to monitor or communicate with external
services such as fm. This leads to the collectd networking plugin
being triggered to run before or while the host is being configured
which has been seen to lead to collectd segfaults/coredumps within
the collectd's internal networking plugin.

To solve this issue, reduce startup thrash and a slew of plugin
startup error logs, this update adds consistent initialization
and configuration complete checks to all of the starlingX
plugins so monitoring and external service access is not
performed until the host configuration is complete.

Test Plan:

PASS: Verify no plugin sampling till after config is complete
PASS: Verify alarm assert and clear cycle for all plugins
PASS: Install AIO SX system install
PASS: Install AIO DX system install
PEND: Verify Standard system install
PASS: Verify logging

Change-Id: I90a5d1c8c3be77269a571738c9499b2e908e1fc5
Closes-Bug: 1872979
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2020-06-24 14:59:45 -04:00
..
centos Platform Memory usage alarm calculation incorrect 2020-05-25 16:51:53 -04:00
src Add consistent init and config complete checks to collectd plugins 2020-06-24 14:59:45 -04:00
PKG-INFO Align PKG-INFO for Collectd & Influxdb Extensions 2019-07-15 16:53:36 -04:00