WaveFront – How to deploy and use – PART I

This blog is contributed by my friend Luciano Gomes, a VMware Technical Account Manager in Rio de Janeiro Area, Brazil. Thank you, Lucky!

Today, I am super excited to share about Wavefront, a new acquisitions by VMware. I’ve been playing with it as it’s been awesome!

First, what is Wavefront?

It is cloud-hosted service, not a product you install in your premise. You send your time-series (metric) data – from CollectD, StatsD, JMX, Ruby’s logger, AWS, anything basically, to it.

You can then perform arbitrary mathematical operations on any number of those series, render charts to see anomalies or KPI dashboards, and ultimately create truly intelligent alerts to proactively watch over your entire stack.

It scales seamlessly, it’s reliable, it’s feature complete, and the support is great. It’s everything you have always wanted but never get. Find more details here.

How to use Wavefront

I will share the instructions in how you can setup your environment and start today to monitor your environment. Yeah, today! Wavefront is a SaaS solution, so you only need to set up a proxy on-premises and connect to Wavefront in the cloud.

Step 0: Prerequisites

  1. Setup your account in Wavefront (You can use a trial here)
  2. A Linux (or Windows) machine to be used as a WaveFront Proxy (need to have Internet Access).
  3. A Linux or Windows machine that you want to monitor (need access to Internet, at least for installing the Agent).
    • If you want to see Application Monitoring, like a MySQL Database, you need it
    • If you want to explore integration, like Zabbix (yeah, we have it OOTB), you need it.

Step 1: Install Proxy

Login in your WaveFront account and click in Browse -> Proxies (Choose Linux) and copy the code.

Go to your Linux machine, that you choose to be your WaveFront proxy, and paste the code. (remember, you need to have Internet access).

Tip: to avoid errors, copy and paste the code in one single line, like below:

sudo bash -c "$(curl -sL https://wavefront.com/install)" -- install --proxy --wavefront-url https://vmware.wavefront.com --api-token 09090099-7405993030033-a403904930907d

If you already are the root, you don’t need to use sudo.

After the installation concludes, go to the same place and check if your proxy is listed.

If the proxy does not appear, check /var/log/wavefront/wavefront.log to verify the installation.

Step 2: Install Agents

Once your proxy is setup, time to install an agent inside the machines that we want to monitor.

Click in Integration, and then Click Linux Host

After that, click Setup

If your Wavefront Proxy is not reachable with the hostname that appears in the code, change it before pasting.

Tip: put the code in one single line, like below:

bash -c "$(curl -sL https://wavefront.com/install)" -- install --agent --proxy-address ahutchings --proxy-port 2878

After this command concludes with success, you can click in the Metrics tab and check if your metrics are available in awesome dashboard, like below:

This concludes the first part of a series of blog post about Wavefront.

Hope you find it useful. Do reach out via Linkedin and Twitter. Thanks for reading!

Leave a Reply