Enabling FlexGroup Constituents #3905
rahulguptajss
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Customize templates according to the collectors used by your Harvest Poller. If you're uncertain, you can extend the templates for all collectors listed below.
Note: Enabling FlexGroup Constituents counters may slow down data collection due to a high number of constituents metrics.
Note: Applicable from Harvest 25.11. For previous versions, follow the steps outlined in this GitHub discussion.
NABox4
Extend Rest volume template
restdirectory.mkdir -p /etc/nabox/harvest/user/rest cd /etc/nabox/harvest/user/restcustom.yaml:Update the file with the following content:
mkdir -p /etc/nabox/harvest/user/rest/9.12.0 cp /data/packages/harvest/conf/rest/9.12.0/volume.yaml /etc/nabox/harvest/user/rest/9.12.0/custom_volume.yaml sed -i 's/^ include_constituents: false/ include_constituents: true/' /etc/nabox/harvest/user/rest/9.12.0/custom_volume.yamlmkdir -p /etc/nabox/harvest/user/rest/9.14.0 cp /data/packages/harvest/conf/rest/9.14.0/volume.yaml /etc/nabox/harvest/user/rest/9.14.0/custom_volume.yaml sed -i 's/^ include_constituents: false/ include_constituents: true/' /etc/nabox/harvest/user/rest/9.14.0/custom_volume.yamlExtend keyperf volume template
Make sure that you have the
KeyPerfcollector listed in your poller configuration inharvest.yml. You can do this by editing/etc/nabox/harvest/harvest.yml. You can list it as the last collector in your existing collector list.Navigate to the
keyperfdirectory.mkdir -p /etc/nabox/harvest/user/keyperf cd /etc/nabox/harvest/user/keyperfcustom.yaml:Update the file with the following content:
mkdir -p /etc/nabox/harvest/user/keyperf/9.15.0 cp /data/packages/harvest/conf/keyperf/9.15.0/volume.yaml /etc/nabox/harvest/user/keyperf/9.15.0/custom_volume.yaml sed -i 's/^ include_constituents: false/ include_constituents: true/' /etc/nabox/harvest/user/keyperf/9.15.0/custom_volume.yamlExtend Zapi volume template
zapidirectory.mkdir -p /etc/nabox/harvest/user/zapi cd /etc/nabox/harvest/user/zapicustom.yaml:Update the file with the following content:
mkdir -p /etc/nabox/harvest/user/zapi/cdot/9.8.0 cd /etc/nabox/harvest/user/zapi/cdot/9.8.0Update the file with the following content:
Extend ZapiPerf volume template
zapiperfdirectory.mkdir -p /etc/nabox/harvest/user/zapiperf cd /etc/nabox/harvest/user/zapiperfcustom.yaml:Update the file with the following content:
mkdir -p /etc/nabox/harvest/user/zapiperf/cdot/9.8.0 cd /etc/nabox/harvest/user/zapiperf/cdot/9.8.0Update the file with the following content:
rpm/deb/native/container
Note:
Let's assume Harvest is installed in
/opt/harvestdirectory. Adjust paths as needed.HARVEST_DIR="/opt/harvest"Extend Rest volume template
restdirectory.custom.yaml:Update the file with the following content:
Extend keyperf volume template
Make sure that you have the
KeyPerfcollector listed in your poller configuration inharvest.yml. You can do this by editing"$HARVEST_DIR/harvest.yml. You can list it as the last collector in your existing collector list.Navigate to the
keyperfdirectory:custom.yaml:Update the file with the following content:
Extend Zapi volume template
zapidirectory:custom.yaml:Update the file with the following content:
create custom_volume.yaml
Update the file with the following content:
Extend ZapiPerf volume template
zapiperfdirectory:custom.yaml:Update the file with the following content:
create custom_volume.yaml
Update the file with the following content:
Note: Restart Harvest once you are done with all steps.
Beta Was this translation helpful? Give feedback.
All reactions