-
Notifications
You must be signed in to change notification settings - Fork 55
Troubleshooting Harvest
Chris Grindstaff edited this page May 20, 2021
·
28 revisions
A set of steps to go through when something goes wrong.
I tried to install and ...
You believe Harvest is installed fine, but it's not working.
- Post the contents of your
harvest.yml
Try validating your harvest.yml with yamllint like so: yamllint -d relaxed harvest.yml
If you do not have yamllint installed, look here.
There should be no errors - warnings like the following are fine:
harvest.yml
64:1 warning too many blank lines (3 > 0) (empty-lines)
-
How did you start Harvest?
-
What do you see in
/var/log/harvest/* -
What does
ps aux | grep pollershow? -
If you are using Prometheus, try hitting Harvest's Prometheus endpoint like so:
curl http://machine-this-is-running-harvest:prometheus-port-in-harvest-yaml/metrics
harvest start --foreground
If your harvest.yml file contains more than one poller, you will need to comment out all but one.