The following instructions are for advanced users. If you’d rather install the Auvik collector from an OVA file, please follow these steps.
When the Auvik collector is installed from a bash script, it takes over the system on which it’s installed—the system will be rendered useless. For that reason, the bash script must be run against a dedicated, stand-alone virtual machine and never on an existing Ubuntu desktop or server.
- Register for a trial.
- Add a new client.
- Have a supported virtualization platform ready. Desktop virtualization platforms such as Oracle VirtualBox, VMware Fusion, or VMware Workstation are fine for quick use, but aren’t recommended or supported for enterprise implementations.
Host Operating Systems
Commercial cloud* (e.g., Amazon AWS EC2, Microsoft Azure)
VMware ESX / ESXi 5.5+ (Download here)
NA (barebones hypervisor)
- Sign into your Auvik account and access a new client.
To install the Auvik collector in a commercial cloud environment, such as Amazon AWS or Microsoft Azure, follow these steps first.
It’s assumed that you know how to set up and configure an Ubuntu server. All of this can be completed in four easy steps.
- Download a Trusty Ubuntu iso
- Create a new Linux Ubuntu virtual machine
- Install and configure Ubuntu
- Run the collector bash installation script
1. Downloading the Trusty Ubuntu iso
Download a Trusty Ubuntu iso image from one of these two sources. The collector should be installed on Ubuntu 14.04.
2. Create a Linux Ubuntu virtual machine
If you’re looking to deploy the Auvik collector in a commercial cloud environment like Amazon Web Services (AWS) or Microsoft Azure, follow these steps to deploy Ubuntu.
When creating the Linux Ubuntu virtual machine, here a few requirements to keep in mind. You’ll need:
- One virtual CPU
- At least 2GB of RAM
- At least 8GB of available disk space
Once your virtual machine is ready, continue to Step 3.
3. Installing and configuring Ubuntu
During Ubuntu installation, if you’re asked to provide an IP address for the virtual machine, this address will be the DHCP address associated with the Auvik collector If you like, you can change the address after the collector has been installed.
If you don’t set an IP address for the virtual machine during Ubuntu installation, locate the new machine’s IP address by running the following: ifconfig. Note the inet addr. You’ll need it in Step 4.
Make sure you install OpenSSH Server. You can do this during Ubuntu installation or afterwards. If doing it after the Ubuntu installation, log in as the Ubuntu server user, then run the following command:
sudo apt-get update
sudo apt-get install openssh-server openssh-client
4. Run the Auvik collector bash script
To execute the script, you’ll need:
- A valid Auvik user email address and the user’s API key. The email address must be for a user who has authorization on the Auvik domain the service is being installed for.
- A domain prefix (e.g., sample.my.auvik.com) for the client where the collector is being installed
- From a window external to the virtual machine, connect via SSH:
- Mac users: Open a terminal window and execute
ssh UBUNTUUSER@IPADDRESSAccept the SSH key. When requested, enter the user’s password.
- Windows users: Start PuTTY. In the host name field, enter the IP address for the virtual machine. Ensure the port is 22 and SSH is selected. Click Open. When requested, enter the username and password.
- Mac users: Open a terminal window and execute
- Copy and paste the following command:
sudo bash -c "rm -rf ./auvik_installer install.sh && umask 0022 && curl --verbose --location-trusted --header \"Accept: text/plain\" --user EMAIL https://DOMAINPREFIX.my.auvik.com/agents/installer > install.sh && grep -wq __ARCHIVE_BELOW__ install.sh && chmod 0755 install.sh && bash -x ./install.sh 2>&1 | tee /tmp/install.log"
Be sure to edit the following parameters within the command:
- EMAIL should be the email address associated with your Auvik account.
- DOMAINPREFIX should be the Auvik domain prefix (e.g., sample is the prefix for https://sample.my.auvik.com/agents/installer) for the client where the collector is being installed.
- When requested, enter the password for the Ubuntu user. When asked for the password for the email address set in the command, enter the API key.
- Downloading and installing the Auvik collector takes about 10 minutes. After that’s done, reboot the Ubuntu virtual machine from the external command line by executing:
- Ensure the IP address of the collector remains static. There are two ways to ensure this:
- Set up a DHCP reservation for the virtual machine’s MAC address in your DHCP server.
- Configure the collector to use a static IP address that lies outside of your DHCP pool. Option 1 on the collector’s console window will help you configure a static IP.