Skip to content

Need help with failover template #987

Answered by cgrinds
jmg011 asked this question in Q&A
Discussion options

You must be logged in to vote

hi @jmg011 there are few mistakes in your posted yaml and I'm not 100% sure what you're trying to extract but here's a minimal example you can build from.

A few comments:

  • use value_to_num instead of value_mapping since value_mapping will be removed in the next release of Harvest (see release notes).

  • when writing new collector templates, it's often easier to run the one collector you are developing in the foreground to quickly iterate on your changes. e.g. bin/harvest start u2 --foreground --collectors Zapi --objects Failover It also make it easier to read the errors, redirect the logs, spot indentation errors, etc.

  • the skipped instance message means that Harvest is unable to determi…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ruanruijuan
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #658 on April 27, 2022 14:11.