Examples of Controlling Paragon Active Assurance via REST API
In the following it is assumed that suitable test and monitor templates have been defined according to the chapter Test and Monitor Templates.
The examples given mostly consist of Python code calling the REST API.
Overview of Key Tasks Performed
(Some further tasks are also exemplified in what follows.)
- Creating and deploying a new Test Agent
- Creating inventory items (e.g. reflectors)
- Setting up alarms and where to send them
- Adding SSH keys to Test Agents
- Creating and running a test
- Retrieving test results
- Creating a monitor
- Starting and stopping a monitor
- Retrieving SLA status for a monitor
- Working with tags