I setup an instance of Harvest to test it out and I cant seem to get the pollers to run. I pretty much took the quickstart(https://netapp.github.io/harvest/24.08/quickstart/) and followed it verbatim but I'm getting the error below::
#systemctl status harvest.target
● harvest.target - "NetApp Harvest Meta Service"
Loaded: loaded (/etc/systemd/system/harvest.target; enabled; vendor preset: disabled)
Active: inactive (dead) since Tue 2024-11-05 13:31:56 MST; 3s ago
Nov 05 13:31:56 infstoharlp0001 systemd[1]: Reached target "NetApp Harvest Meta Service".
Nov 05 13:31:56 infstoharlp0001 systemd[1]: Stopped target "NetApp Harvest Meta Service".
Nov 05 13:31:56 infstoharlp0001 systemd[1]: Stopping "NetApp Harvest Meta Service".
Nov 05 13:31:56 infstoharlp0001 systemd[1]: Dependency failed for "NetApp Harvest Meta Service".
Nov 05 13:31:56 infstoharlp0001 systemd[1]: harvest.target: Job harvest.target/start failed with result 'dependency'.
this is my harvest.target file:
#cat /etc/systemd/system/harvest.target
[Unit]
Description="NetApp Harvest Meta Service"
Requires=poller@jamaica.service
[Install]
WantedBy=multi-user.target
and my harvest.yml file::
#cat /opt/netapp/harvest/harvest-24.08.0-1_linux_amd64/harvest.yml
Exporters:
prometheus1:
exporter: Prometheus
port_range: 13000-13100
Defaults:
collectors:
- Zapi
- ZapiPerf
- Ems
- Rest
- RestPerf
use_insecure_tls: true
Pollers:
jamaica:
datacenter: DC-01
addr: 172.x.x.x
auth_style: basic_auth
username: userid
password: password
exporters:
- prometheus1
Prometheus and Grafana are running just no data