This is an example formula which may be used to deploy netuitive-agent through Salt.
Installs the netuitive-agent, extracts pillar configuration into the conf files, inserts the API key, restarts the agent and sets it as a service.
- Copy the contents of the pillar.example file and merge it into your Salt pillar.
- Insert your Linux Integration API key into the API_KEY value
- By default, the agent will collect basic host data. You may enable and configure additional collectors in the pillar, and the formula will make the required conf file changes.
- Run the netuitive-agent formula within your salt state, or create a new one. A guide on how to use formulas can be found here: https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html