Enabling FlexGroup Constituents #3778
Hardikl
started this conversation in
Show and tell
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.
-
Harvest Guide for Enabling FlexGroup Constituents
You must extend all the volume.yaml templates with the
include_constituentsflag totrueto enable flexgroup constituents counters.Note: Enabling FlexGroup Constituents counters may slow down data collection due to a high number of constituents metrics.
For RPM, DEB, Native and Docker Installation:
Extend Rest volume template
We are going to create a new template and add it to your
custom.yaml. In the commands below, Harvest is installed in/opt/harvest. Adjust as needed.Edit
vi /opt/harvest/conf/rest/custom.yamlAdd below content to this file. If
custom.yamlalready exists then add theVolumeline under theObjects:section.Create the
custom_volume.yamlfilevi /opt/harvest/conf/rest/9.12.0/custom_volume.yamlCopy existing /opt/harvest/conf/rest/9.12.0/volume.yaml template and changed the flag
include_constituents: trueand save.Extend RestPerf volume template
We are going to create a new template and add it to your
custom.yaml. In the commands below, Harvest is installed in/opt/harvest. Adjust as needed.Edit
vi /opt/harvest/conf/restperf/custom.yamlAdd below content to this file. If
custom.yamlalready exists then add theVolumeline under theObjects:section.Create the
custom_volume.yamlfilevi /opt/harvest/conf/restperf/9.12.0/custom_volume.yamlCopy existing /opt/harvest/conf/restperf/9.12.0/volume.yaml template and changed the flag
include_constituents: trueand save.Extend Zapi volume template
We are going to create a new template and add it to your
custom.yaml. In the commands below, Harvest is installed in/opt/harvest. Adjust as needed.Edit
vi /opt/harvest/conf/zapi/cdot/9.8.0/custom.yamlAdd below content to this file. If
custom.yamlalready exists then add theVolumeline under theObjects:section.Create the
custom_volume.yamlfilevi /opt/harvest/conf/zapi/cdot/9.8.0/custom_volume.yamlAdd these below lines and save.
Extend ZapiPerf volume template
We are going to create a new template and add it to your
custom.yaml. In the commands below, Harvest is installed in/opt/harvest. Adjust as needed.Edit
vi /opt/harvest/conf/zapiperf/cdot/9.8.0/custom.yamlAdd below content to this file. If
custom.yamlalready exists then add theVolumeline under theObjects:section.Create the
custom_volume.yamlfilevi /opt/harvest/conf/zapiperf/cdot/9.8.0/custom_volume.yamlAdd these below lines and save.
For NABox 4 Installation:
Extend Rest volume template
We are going to create a new template. In the commands below, Harvest is installed in
/etc/nabox/harvest. Adjust as needed.Add file
vi /etc/nabox/harvest/user/rest/custom.yamlAdd below content to this file.
custom_volume_flexgroup.yamlfile in/etc/nabox/harvest/user/rest/9.12.0/folder copy from/data/packages/harvest/conf/rest/9.12.0/volume.yamland changed the flaginclude_constituents: true.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_flexgroup.yaml sed -i 's/^ include_constituents: false/ include_constituents: true/' /etc/nabox/harvest/user/rest/9.12.0/custom_volume_flexgroup.yamlcustom_volume_flexgroup.yamlfile in/etc/nabox/harvest/user/rest/9.14.0/folder copy from/data/packages/harvest/conf/rest/9.14.0/volume.yamland changed the flaginclude_constituents: true.mkdir -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_flexgroup.yaml sed -i 's/^ include_constituents: false/ include_constituents: true/' /etc/nabox/harvest/user/rest/9.14.0/custom_volume_flexgroup.yamldc restartcommand.Extend RestPerf volume template
We are going to create a new template. In the commands below, Harvest is installed in
/etc/nabox/harvest. Adjust as needed.Add a file
vi /etc/nabox/harvest/user/restperf/custom.yamlAdd below content to this file.
custom_volume_flexgroup.yamlfile in/etc/nabox/harvest/user/restperf/9.12.0/folder copy from/data/packages/harvest/conf/restperf/9.12.0/volume.yamland changed the flaginclude_constituents: true.mkdir -p /etc/nabox/harvest/user/restperf/9.12.0 cp /data/packages/harvest/conf/restperf/9.12.0/volume.yaml /etc/nabox/harvest/user/restperf/9.12.0/custom_volume_flexgroup.yaml sed -i 's/^ include_constituents: false/ include_constituents: true/' /etc/nabox/harvest/user/restperf/9.12.0/custom_volume_flexgroup.yamldc restartcommand.Extend Zapi volume template
We are going to create a new template. In the commands below, Harvest is installed in
/etc/nabox/harvest. Adjust as needed.Add file
vi /etc/nabox/harvest/user/zapi/custom.yamlAdd below content to this file.
Create the
custom_volume_flexgroup.yamlfilevi /etc/nabox/harvest/user/zapi/cdot/9.8.0/custom_volume_flexgroup.yamlAdd these below lines and save.
dc restartcommand.Extend ZapiPerf volume template
We are going to create a new template. In the commands below, Harvest is installed in
/etc/nabox/harvest. Adjust as needed.Add file
vi /etc/nabox/harvest/user/zapiperf/custom.yamlAdd below content to this file.
Create the
custom_volume_flexgroup.yamlfilevi /etc/nabox/harvest/user/zapiperf/cdot/9.8.0/custom_volume_flexgroup.yamlAdd these below lines and save.
dc restartcommand.For NABox 3 Installation:
Extend Rest volume template
We are going to create a new template. In the commands below, Harvest is installed in
/opt/harvest2-conf. Adjust as needed.Add file
vi /opt/harvest2-conf/conf/rest/custom_volume_flexgroup.yamlAdd below content to this file.
Create the
custom_volume_flexgroup.yamlfilevi /opt/harvest2-conf/conf/rest/9.12.0/custom_volume_flexgroup.yamlCopy existing /opt/harvest2-conf/conf/rest/9.12.0/volume.yaml template and changed the flag
include_constituents: trueand save.dc restartcommand.Extend RestPerf volume template
We are going to create a new template. In the commands below, Harvest is installed in
/opt/harvest2-conf. Adjust as needed.Edit
vi /opt/harvest2-conf/conf/restperf/custom_volume_flexgroup.yamlAdd below content to this file.
Create the
custom_volume_flexgroup.yamlfilevi /opt/harvest2-conf/conf/restperf/9.12.0/custom_volume_flexgroup.yamlCopy existing /opt/harvest2-conf/conf/restperf/9.12.0/volume.yaml template and changed the flag
include_constituents: trueand save.dc restartcommand.Extend Zapi volume template
We are going to create a new template. In the commands below, Harvest is installed in
/opt/harvest2-conf. Adjust as needed.Add file
vi /opt/harvest2-conf/conf/zapi/custom_volume_flexgroup.yamlAdd below content to this file.
Create the
custom_volume_flexgroup.yamlfilevi /opt/harvest2-conf/conf/zapi/cdot/9.8.0/custom_volume_flexgroup.yamlAdd these below lines and save.
dc restartcommand.Extend ZapiPerf volume template
We are going to create a new template. In the commands below, Harvest is installed in
/opt/harvest2-conf. Adjust as needed.Add file
vi /opt/harvest2-conf/conf/zapiperf/custom_volume_flexgroup.yamlAdd below content to this file.
Create the
custom_volume_flexgroup.yamlfilevi /opt/harvest2-conf/conf/zapiperf/cdot/9.8.0/custom_volume_flexgroup.yamlAdd these below lines and save.
dc restartcommand.Beta Was this translation helpful? Give feedback.
All reactions