#GitHub - NetAppharvest Open-metrics en...

1 messages · Page 1 of 1 (latest)

burnt jacinth
#

hi @blazing bolt do you have Grafana installed?

blazing bolt
burnt jacinth
#

and how did you install Harvest? RPM, Deb, nabox, Docker Compose, something else? I ask because only the docker compose and nabox install will setup Grafana and Prometheus for you

blazing bolt
#

I installed via DEB.

#

I am done with this step.

burnt jacinth
#

thanks, that means you installed Harvest and are expected to "bring your own" Prometheus and Grafana

blazing bolt
#

I installed NAbox in the past but this is my 1st time deploying via Ubuntu Debian.

#

Do you have installation guides for Prometheus & Grafana installation so that they can be compatible with NetApp Harvest that I just installed?

#

It seems like now I only have 1 piece of the whole puzzle.

burnt jacinth
#

cool, we love all the installs 😄 the debian, rpm, native, etc. will only install Harvest and are typically used by customers that have an existing Prometheus or Grafana setup that they want to use. If you don't have those setup, you'll want to install versions listed in the Requirements section. Depending on your distro you can probably install both from there and be good to go. https://github.com/NetApp/harvest#requirements

blazing bolt
#

So I need to install Prometheus & Grafana before configuring the "harvest.yml" configuration file?

burnt jacinth
#

you can configure Harvest without those installed and scrape the metrics via curl or telegraf but typically you want the metrics eventually stored in a time series db like Prometheus or InfluxDB

blazing bolt
#

My apology but I am a total noob. As previously mentioned, I installed NA-box & it worked out of the gate & my 1s time deploying on an Ubuntu VM from scratch is a learning curve.

burnt jacinth
#

no worries. Harvest is a collector for ONTAP metrics and requires a separate install of Prometheus (or InfluxDB) and Grafana. There are a bunch of ways to achieve that and we aren't prescriptive about that since many customers have existing installs of Prometheus, Grafana, InfluxDB, etc. Here are some ways to install:

  1. Docker Compose workflow - you download Harvest, create a docker compose file which installs Grafana and Prometheus in containers https://github.com/NetApp/harvest/tree/main/docker#harvest-grafana-prometheus-install
  2. Nabox installs Prometheus and Grafana for you in a vapp and then asks you to download the latest version of Harvest and add it to nabox. If you're familiar with Docker, that deployment makes it straightforward to
  3. RPM or Deb installs - these install only Harvest. You use an existing install of Prometheus or install one.
  4. Targz install - similar to #3 but you install the executables directly and use an existing install of Prometheus, etc.

Sounds like you picked #3 but don't have Prometheus or Grafana installed. What OS are you using and have you tried install your distributions latest Prometheus/Grafana? Alternatively, they are both straightforward to install https://prometheus.io/docs/prometheus/latest/installation/ and https://grafana.com/docs/grafana/latest/setup-grafana/installation/

blazing bolt
#

Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-1022-azure x86_64)

burnt jacinth
blazing bolt