Introduction to the Snippet Framework PowerPack

Download this manual as a PDF file

This section describes how to use the Snippet Framework PowerPack.

What is the Snippet Framework?

Snippet Dynamic Applications on SL1 provide a flexible and powerful way to solve common monitoring problems. With snippet Dynamic Applications, a developer can solve nearly any collection problem for a monitoring need, given enough time and code.

The low-code Snippet Framework builds on traditional snippet Dynamic Applications and lets you solve common monitoring problems quickly, while still providing for customization to let you address more complex problems.

What Does the Snippet Framework PowerPack Include?

The snippet framework provides a standard way to write Dynamic Applications using snippet arguments to define what to collect, how to collect it, where to get the data, and how to interpret it. This process is snippet argument driven, meaning that you direct the snippet framework using snippet arguments in a Dynamic Application.

TheSnippet FrameworkPowerPack includes the following features:

  • The silo_low_code library
  • An example execution environment using the silo_low_code library
  • Example Dynamic Applications that use the snippet framework

You can use the example Dynamic Applications to understand the way to use the snippet framework and to build your own Dynamic Applications based on the examples.

Installing the Snippet Framework PowerPack

Before you can use the Snippet Framework, you must import and install the latest version of the Snippet Framework PowerPack.

To download and install a PowerPack:

  1. Download the PowerPack from the ScienceLogic Support Site.
  2. Go to the PowerPack Manager page (System > Manage > PowerPacks).
  3. In the PowerPack Manager page, click the Actions button, then select Import PowerPack.
  4. The Import PowerPack dialog box appears.

  5. Click the [Browse] button and navigate to the PowerPack file.
  6. When the PowerPack Installer modal appears, click the Install button to install the PowerPack.

If you exit the PowerPack Installer without installing the imported PowerPack, the imported PowerPack will not appear in the PowerPack Manager page. However, the imported PowerPack will appear in the Imported PowerPacks page. This page appears when you click the Actions menu and select Install PowerPack.

Documentation for the Snippet Framework

Full documentation for the snippet framework is provided at the following location:

https://docs.sciencelogic.com/dev-docs