Skip to content

ciscomanagedservices/sxo-thousandeyes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SecureX Orchestrator Atomic Actions for ThousandEyes

published sxoanalyzed

Additional Resources:

In this repository, you'll find the following atomics:

Purpose: Retrieve & filter configured tests available in your ThousandEyes account

Documentation: https://developer.thousandeyes.com/v6/tests/#/test_list

Steps to use:

  1. Setup your ThousandEyes API Target & Account Key
  2. Provide a filter criteria/condition & what fields you'd like to have returned (this step is optional - by default, all fields/values are returned)
  3. If the request is successful, the output of this atomic is a JSON string w/ rows that match the filter criteria
  4. If the request is not successful, the output contains the error message

Purpose: Get test details for a configured test available in your ThousandEyes account.

Documentation: https://developer.thousandeyes.com/v6/tests/#/test_details

Steps to use:

  1. Setup your ThousandEyes API Target & Account Key
  2. Provide a Test ID and indicate if you'd like the output in XML or JSON (by default JSON)
  3. If the request is successful, the output of this atomic is a JSON/XML object with the test detail returned from ThousandEyes

Purpose: Returns Agent IDs for agents configured in your ThousandEyes account based on an input criteria you specify.

Documentation: https://developer.thousandeyes.com/v6/agents/#/agents

Steps to use:

  1. Setup your ThousandEyes API Target & Account Key
  2. Provide Agent Type & Filter Criteria as inputs
  3. If the request is successful, output is presented in two formats: (a) as a list of matching agentIDs, (b) as an array of agent objects that can be readily used with other APIs such as when creating a test or an instant test
  4. If the request is not successful, the output contains the error message

Purpose: Creates and runs a new SIP Server Instant test in ThousandEyes.

Documentation: https://developer.thousandeyes.com/v6/instant/#/instant

Steps to use:

  1. Setup your ThousandEyes API Target & Account Key
  2. Provide inputs to create SIP Server Test
  3. If the request is successful, the output of this atomic is the test ID of the instant test created. Response does not include instant test results. Once the instant test is created and ran, results can be retrieved using Test Data atomics.
  4. If the request is not successful, the output contains the error message

Purpose: Creates and runs a new Network Agent-To-Server Instant test in ThousandEyes.

Documentation: https://developer.thousandeyes.com/v6/instant/#/instant

Steps to use:

  1. Setup your ThousandEyes API Target & Account Key
  2. Provide inputs to create Network (Agent-to-Server) test
  3. If the request is successful, the output of this atomic is the test ID of the instant test created. Response does not include instant test results. Once the instant test is created and ran, results can be retrieved using Test Data endpoints.
  4. If the request is not successful, the output contains the error message

Purpose: Reruns an existent Instant test in your ThousandEyes account.

Documentation: https://developer.thousandeyes.com/v6/instant/#/instant-rerun

Steps to use:

  1. Setup your ThousandEyes API Target & Account Key
  2. Provide your Test ID as Input
  3. If the request is successful, the test was run successfully and results can be retrieved using the atomics for Test Data
  4. If the request is not successful, the output contains the error message

Purpose: Retrieve end-to-end network metrics for a network test configured with an Enterprise Agent available in your ThousandEyes account.

Documentation: https://developer.thousandeyes.com/v6/test_data/#/end-to-end_metrics

Steps to use:

  1. Setup your ThousandEyes API Target & Account Key
  2. Provide your Test ID, from & to dates in the format YYYY-MM-DDTHH:MM:SS and what fields you'd like to have returned (by default, all fields/values are returned)
  3. If the request is successful, the output of this atomic is a JSON string with the metrics

Purpose: Returns a summary of the path visualization data collected from each agent to the destination. In each path visualization attempt, three attempts are made to reach the destination. Each set of data is summarized, based on response time, number of hops, and response time to the target. A time frame must be specified, or the current round of data will be returned.

Documentation: https://developer.thousandeyes.com/v6/test_data/#/path-vis

Steps to use:

  1. Setup your ThousandEyes API Target & Account Key
  2. Provide a Test ID, a from & to date in the format YYYY-MM-DDTHH:MM:SS & what fields you'd like to have returned (if no filter criteria is specified, by default all fields/values are returned)
  3. If the request is successful, two output variables are made available: (a) a table object (b) a JSON string w/ the path visualisation output
  4. If the request is not successful, the output contains the error message

Purpose: Returns a hop-by-hop summary of the path trace data collected during path visualization. In each path visualization attempt, three attempts are made to reach the destination, and the entire path will be shown in sequence. A roundId must be specified.

Documentation: https://developer.thousandeyes.com/v6/test_data/#/traceroute

Steps to use:

  1. Setup your ThousandEyes API Target & Account Key
  2. Provide a Test ID, Agent ID, Round ID, Path ID & what fields you'd like to have returned (if no filter criteria is specified, by default all fields/values are returned)
  3. If the request is successful, two output variables are made available: (a) a table object (b) a JSON string w/ the detailed path trace
  4. If the request is not successful, the output contains the error message

Purpose: Returns voice SIP server metrics (response, invite, register time) from each agent, for each roundId in the requested window. A time frame must be specified, or the current round of data will be returned.

Documentation: https://developer.thousandeyes.com/v6/test_data/#/voice-sip-server

Steps to use:

  1. Setup your ThousandEyes API Target & Account Key
  2. Provide a TestID, From & To Date in the format YYYY-MM-DDTHH:MM:SS, filter criteria/condition & what fields you'd like to have returned (this step is optional - by default, all fields/values are returned)
  3. If the request is successful, the output of this atomic is a JSON string w/ rows that match the filter criteria
  4. If the request is not successful, the output contains the error message

Purpose: Returns network metrics (loss, latency, jitter and bandwidth) from each endpoint agent, for each roundId in the requested window. A time frame must be specified, or the most recent round within last 2 hours will be returned.

Documentation: https://developer.thousandeyes.com/v6/endpoint_test_data/#/endpoint_end-to-end_metrics

Steps to use:

  1. Setup your ThousandEyes API Target & Account Key
  2. Provide your Test ID, from & to dates in the format YYYY-MM-DDTHH:MM:SS and what fields you'd like to have returned (this is optional - by default, all fields/values are returned)
  3. If the request is successful, the output of this atomic is a JSON string with the metrics

Purpose: Returns a summary of the path visualization data collected from each endpoint agent to the destination. In each path visualization attempt, one attempt is made to reach the destination. Each set of data is summarized, based on response time, number of hops, and response time to the target. A time frame must be specified, or the most recent round within last 2 hours will be returned.

Documentation: https://developer.thousandeyes.com/v6/endpoint_test_data/#/endpoint_path-vis

Steps to use:

  1. Setup your ThousandEyes API Target & Account Key
  2. Provide a Test ID, a from & to date in the format YYYY-MM-DDTHH:MM:SS & what fields you'd like to have returned (if no filter criteria is specified, by default all fields/values are returned)
  3. If the request is successful, the output is a JSON string w/ the path visualisation output
  4. If the request is not successful, the output contains the error message

Purpose: Returns a hop-by-hop summary of the path trace data collected during path visualization. In each round, one path discovery attempt is made to reach the destination. The entire path is returned. A roundId must be specified.

Documentation: https://developer.thousandeyes.com/v6/endpoint_test_data/#/endpoint_traceroute

Steps to use:

  1. Setup your ThousandEyes API Target & Account Key
  2. Provide an Endpoint Agent ID, Path ID, Round ID, Test ID, filter criteria/condition & what fields you'd like to have returned (by default, all fields/values are returned)
  3. If the request is successful, the output of this atomic is a JSON string w/ rows that match the filter criteria
  4. If the request is not successful, the output contains the error message

Contributors:

  1. Aman Sardana ([email protected])
  2. Anant Nambiar ([email protected])

Cisco CX Managed Services - Operate, June 2021