Request a Trial

How can we help?

How to install the Auvik collector from a bash script

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.

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.

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 updatesudo apt-get install openssh-server openssh-client

4. Run the Auvik collector bash script

To execute the script, you’ll need:

An email address and password for a user associated with the Auvik account

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@IPADDRESS Accept 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.