Defining Azure Observer jobs
Using the Azure Observer, you can define a full load job that will read data from Azure cloud services through its REST APIs and generate a topology.
Before you begin
Important: The Azure Observer supports the cloud/SaaS Azure version.
Tip: To configure access to Azure resources, see the following information: Create an Azure Active Directory application and service principal
that can access resources
Ensure you have the Azure details to hand, such as the Tenant ID, Client ID, and client password before running the observer job.
Remember: Swagger documentation for the observer is available at the following default
location: https://<your
host>/1.0/azure-observer/swagger
The observer is installed as part of the core installation procedure.
About this task
The Azure Observer retrieves topology data from Azure cloud services
via REST APIs exposed by the Azure API server. In addition to the standard resources, the following
resources are now also supported::
- Load Balancers
- Virtual Machine Scale Set
- Virtual Network Gateway (including VPN Gateway and Express Route Gateway)
- ExpressRoute
azure_observer_common.sh
- The configuration file you use to customize Azure Observer settings.
You define and start the following job. You must edit the parameters in the configuration file
before running this job.
- Full Topology Upload job
- A transient (one-off) job that loads all requested topology data.
Procedure
To edit the parameters in the configuration file
To start the Load job
Results
What to do next
You can also use the following scripts:
- azure_observer_load_stop.sh
- Stops the Load job
- azure_observer_job_list.sh
- Lists the status of current jobs
- azure_observer_log_level.sh
- Sets the log level
Remember: As an alternative to being configured using the Observer Configuration
UI, observer jobs have scripts to start and stop all available jobs, to list the status of a current
job, and to set its logging levels. These scripts can be run with -h or
--help to display help information, and with -v or
--verbose to print out the details of the actions performed by the script,
including the full cURL command. For the on-prem version of Agile Service Manager, observer scripts
are configured for specific jobs by editing the script configuration files.