Installation - Snap Chef
The SolarWinds swisnap Chef recipes installs the SolarWinds Snap Agent package and configures the default publisher plugins and agent. The recipes supports Windows and Linux based systems.
For more detailed information about the recipes' attributes see the SolarWinds swisnap-cookbook repository or directly on the swisnap Chef Supermarket page .
Usage
- Download the swisnap recipes to your chef server using either Berkshelf or the Knife tool:
Berksfile:
# add to Berksfile cookbook 'swisnap`
Knife tool
knife supermarket install swisnap
-
Download the recipe's dependencies (SolarWinds Snap Agent's dependency includes the cookbook
packagecloud
). -
In attributes/default.rb, change the value for the
['swisnap']['solarwinds_token']
attribute fromSOLARWINDS_TOKEN
to your AppOptics API token. -
Send an updated version of the recipes and its dependencies to the Chef Server:
berks upload swisnap
Or
knife cookbook upload swisnap --include-dependencies
-
Add
swisnap::default
recipe to run the list of nodes to be monitored:recipe[swisnap::default]
-
Run
chef-infra
either manually on Chef nodes or, if enabled, using another recipe for scheduled triggers.