utilities/tools/collector/scripts
Eric MacDonald 93c067606a Make platform.conf variables visible to collect.d service scripts
A number of collect.d service scripts are not gathering
all the info that is needed during the collect operation.

Many collect.d service scripts use nodetype, subfunction,
vswitch_type and other platform.conf variables to determine
what to collect.

However, these variables are seen to be empty causing the
service scripts to make incorrect collection decisions.

This update modifies the scoping of loaded platform.conf
variables so that they are visible to all of collect,
including the collect.d service scripts.

Test Plan:

PASS: Verify platform.conf variables are visible to collect.d service scripts.
PASS: Verify file list before and after update.
PASS: Run collect all and verify missing content present.
PASS: Run collect host and verify missing content present.

Change-Id: Ia6f45afd3f3fc676b0d3eaca16dc8bbe68356c8e
Closes-Bug: 1839389
2019-08-13 13:47:23 -04:00
..
LICENSE Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00
collect Fix sourcing openrc in collect 2019-07-22 16:52:17 -04:00
collect_ceph.sh Fix linters error and enable linters zuul gate 2018-09-07 01:50:28 +08:00
collect_coredump.sh Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00
collect_crash.sh Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00
collect_date Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00
collect_fm.sh [Enhancement] Add system active alarms in collect logs 2018-12-14 12:27:55 -05:00
collect_host Make platform.conf variables visible to collect.d service scripts 2019-08-13 13:47:23 -04:00
collect_ima.sh Fix linters error and enable linters zuul gate 2018-09-07 01:50:28 +08:00
collect_mask_passwords Change collect to use /etc/platform/openrc 2019-03-17 15:36:15 -04:00
collect_networking.sh change 'compute' to 'worker' in collect utils 2019-01-05 09:35:04 +08:00
collect_nfv_vim.sh Fix linters error and enable linters zuul gate 2018-09-07 01:50:28 +08:00
collect_openstack.sh Collapse the glance filesystem into platform 2019-08-08 10:54:11 -04:00
collect_ovs.sh change 'compute' to 'worker' in collect utils 2019-01-05 09:35:04 +08:00
collect_parms Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00
collect_patching.sh Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00
collect_psqldb.sh Fix linters error and enable linters zuul gate 2018-09-07 01:50:28 +08:00
collect_sm.sh Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00
collect_sysinv.sh Fix linters error and enable linters zuul gate 2018-09-07 01:50:28 +08:00
collect_tc.sh Fix linters error and enable linters zuul gate 2018-09-07 01:50:28 +08:00
collect_utils Make platform.conf variables visible to collect.d service scripts 2019-08-13 13:47:23 -04:00
etc.exclude Updating script references for openrc 2019-04-08 08:46:11 -05:00
expect_done Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00
run.exclude Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00