Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

wavefrontHQ/install

Repository files navigation

Warning

VMware has ended active development of this project. this repository will no longer be updated.

Wavefront Proxy and Collectd Installer

The Wavefront Proxy and Collectd Installer is a single script that can quickly install the tools needed to send your metrics to Wavefront.

The script can be run in interactive mode, or in automatic mode by passing command line arguments.

Interactive Mode

sudo bash -c "$(curl -sL https://goo.gl/c70QCx)"

When running the script above as is, without any further command line arguments, the installer will prompt you for the following:

  • proxy [y/n] - Answer yes to initiate proxy installation.
  • server [server_url] - The URL of the Wavefront cluster that data should be sent to.
  • token [token] - The token to register the proxy. Tokens can be generated/retrieved from your Wavefront profile page
  • collectd [y/n] - Answer yes to initiate collectd installation.
  • proxy_address [proxy_address] - The address where the Wavefront proxy is installed. This is usually "localhost" if you're installing on the same machine.
  • proxy_port [port] - The port that the proxy should be listening on.
  • overwrite_collectd_config [y/n] - Answering yes will configure collectd to send metrics to the wavefront proxy.

Non-interactive Mode

The script is also useful for automatically deploying the Wavefront Proxy or Collectd accross multiple servers.

For example, to install the Wavefront Proxy without prompting the user for input during the install:

sudo bash -c "$(curl -sL https://goo.gl/c70QCx)" -- --proxy --server https://COMPANY_NAME.wavefront.com/api/ --token YOUR_API_TOKEN

For Collectd:

sudo bash -c "$(curl -sL https://goo.gl/c70QCx)" -- --collectd --proxy_address localhost --proxy_port 4242 --overwrite_collectd_config