Documentation forAppOptics

Installation - Ansible

The SolarWinds swisnap role installs solarwinds-snap-agent package, configures default plugins and allows you to configure additional ones.

The role supports Windows and Linux based systems.

For more detailed information about the role variables please check the swisnap role repository

Ansible Galaxy role installation

Install the SolarWinds swisnap role from Ansible Galaxy:

Copy
ansible-galaxy install solarwinds.swisnap

Role installation from repository

Clone the SolarWinds swisnap role from GitHub repository to directory with your playbook's roles:

Copy
git clone https://github.com/solarwinds/ansible-swisnap.git solarwinds.swisnap

Example Playbook

Linux

Copy
- hosts: localhost
  connection: local
  vars_files:
    - vars/my_vars.yaml
  roles:
    - solarwinds.swisnap

Inside vars/my_vars.yaml:

Copy
solarwinds_token: <your SolarWinds token>

Windows

Copy
- hosts: windows
  vars_files:
    - vars/main.yml
  roles:
    - solarwinds.swisnap

Inside vars/my_vars.yaml:

Copy
solarwinds_token: <your SolarWinds token>
swisnap_win_installer_download_path: "C:\\Users\\Administrator\\Downloads\\solarwinds-snap-agent-installer.msi"

The scripts are not supported under any SolarWinds support program or service. The scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation.