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:
ansible-galaxy install solarwinds.swisnap
Role installation from repository
Clone the SolarWinds swisnap role from GitHub repository to directory with your playbook's roles:
git clone https://github.com/solarwinds/ansible-swisnap.git solarwinds.swisnap
Example Playbook
Linux
- hosts: localhost
connection: local
vars_files:
- vars/my_vars.yaml
roles:
- solarwinds.swisnap
Inside vars/my_vars.yaml:
solarwinds_token: <your SolarWinds token>
Windows
- hosts: windows
vars_files:
- vars/main.yml
roles:
- solarwinds.swisnap
Inside vars/my_vars.yaml:
solarwinds_token: <your SolarWinds token>
swisnap_win_installer_download_path: "C:\\Users\\Administrator\\Downloads\\solarwinds-snap-agent-installer.msi"
Navigation Notice: When the APM Integrated Experience is enabled, AppOptics shares a common navigation and enhanced feature set with other integrated experience products. How you navigate AppOptics and access its features may vary from these instructions.
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.