Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve custom ZAPI template instructions #72

Closed
1 task
cgrinds opened this issue May 26, 2021 · 4 comments
Closed
1 task

Improve custom ZAPI template instructions #72

cgrinds opened this issue May 26, 2021 · 4 comments
Labels
documentation Improvements or additions to documentation status/done

Comments

@cgrinds
Copy link
Collaborator

cgrinds commented May 26, 2021

See wiki

@cgrinds cgrinds added feature New feature or request documentation Improvements or additions to documentation status/testme and removed feature New feature or request labels May 26, 2021
@vgratian
Copy link
Contributor

vgratian commented Jun 8, 2021

This is related to #124

@rajeshl8
Copy link

image

@rajeshl8
Copy link

verified build version:
[root@scspa2398581002 harvest]# ./bin/harvest -v
harvest version 21.06.1121-nightly (commit 1524ebb) (build date 2021-06-11T21:11:15+0530) linux/amd64
[root@scspa2398581002 harvest]#

@cgrinds
Copy link
Collaborator Author

cgrinds commented Jun 11, 2021

Copy screenshot to text to make it easier to copy/paste

validated the document steps and everything worked as expected.
Steps covered:

  1. Deploy Harvest and add pollers
  2. Now comment all the objects except node object in the conf/zapi/default. yam! file
  3. Restart pollers and observe the metrics are generated only for node object
    curl - http://localhost:12991/metrics
  4. Now copy the default. yaml to custom.yaml file and uncomment all objects in the custom. yam! file
    except node object
    cp conf/zapi/default.yaml conf/zapi/custom.yaml
  5. restart pollers
  6. Observe the poller will now collect metrics for all objects
    Note the collector will merge config data from both default and custom. yam| files.

@cgrinds cgrinds closed this as completed Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation status/done
Projects
None yet
Development

No branches or pull requests

3 participants