Schedule demo

AddMonitor APIs - Cloud Apps


This section explains how to use the AddMonitor API to add monitors of the category type Cloud Apps. The following monitors are supported:

Supported HTTP methods: POST

Allowed roles: Administrator

Amazon

Syntax

For Applications Manager versions till 15170:

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=[TYPE]&accessKey=[ACCESSKEY]&SecretAccessKey=[SECRETACCESSKEY]&displayname=[DISPLAYNAME]&AccountType=[ACCOUNTTYPE]&AmazonServices=[SERVICES]

For Applications Manager versions 15180 onwards:

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=Amazon&accessKey=[ACCESSKEY]&SecretAccessKey=[SECRETACCESSKEY]&displayname=[DISPLAYNAME]&AccountType=[ACCOUNTTYPE]&AmazonServices=[SERVICES]&GlobalRegions=[GLOBALREGIONS/False]&ChinaRegions=[CHINAREGIONS/False]&AWSGovCloudRegions=[GOVCLOUDREGIONS/False]&AdvancedSettings=[True/False]&discoverchild=[yes/no/unmanage]&DeletedResourceAction=[Alert/Stop/Unmanage/Delete]&StopDiscovery=[True/False]&AWSServicesToStopDiscovery=[SERVICES]&NameFilterRegex=[.*[a-zA-Z0-9-_.].*]&discoverInterval=[INTERVAL]&AuthenticationType=[accessKeys/role-based]&IAMRoleARN=[RoleARN]&ExternalID=[ExternalID]

Request Parameters

The parameters involved in the API request are described below. Also, refer to the list of common request parameters.

Field Description
type The type of monitor you want to add. Value should be Amazon
AmazonServices

The Amazon Services that you want to monitor. Possible values are:

  • ALB (for Application Load Balancer)
  • AmazonActiveMQ (for AmazonMQ - ActiveMQ)
  • AmazonAPIGatewayHTTPAPI (for Amazon API Gateway HTTP API)
  • AmazonAPIGatewayRESTAPI (for Amazon API Gateway REST API)
  • AmazonAPIGatewayWebSocketAPI (for Amazon API Gateway WebSocket API)
  • AmazonBedrock (for Amazon Bedrock)
  • AmazonBedrockAgents (for Amazon Bedrock Agents)
  • AmazonCloudFront (for Amazon CloudFront)
  • AmazonCloudHSM (for Amazon CloudHSM)
  • AmazonDataFirehose (for Amazon Data Firehose)
  • AmazonDirectConnect (for Amazon Direct Connect)
  • AmazonDirectConnectVirtualInterface (for Amazon Direct Connect - Virtual Interface)
  • AmazonDMSReplicationInstance (for Amazon Database Migration Service - Instance)
  • AmazonDMSReplicationTask (for Amazon DMS Migration Service - Task)
  • AmazonDocumentDBCluster (for Amazon DocumentDB Cluster)
  • AmazonDocumentDBGlobalClusters (for Amazon DocumentDB Global Cluster)
  • AmazonDocumentDBInstance (for Amazon DocumentDB Instance)
  • AmazonEC2AutoScaling (for Amazon EC2 Auto Scaling)
  • AmazonElastiCacheRedis (for Amazon ElastiCache Redis)
  • AmazonElasticBlockStore (for Amazon Elastic Block Store)
  • AmazonElasticContainerRegistry (for Amazon Elastic Container Registry)
  • AmazonElasticFileSystem (for Amazon Elastic File System)
  • AmazonFileTransferFamily (for Amazon File Transfer Family)
  • AmazonFSxFileCache (for Amazon FSx File Cache)
  • AmazonFSxFileSystem (for Amazon FSx File Systems)
  • AmazonGatewayLoadBalancer (for Amazon Gateway Load Balancer)
  • AmazonKeyManagementService (for Amazon Key Management Service)
  • AmazonKinesisDataStreams (for Amazon Kinesis Data Streams)
  • AmazonLightsailDatabase (for Amazon Lightsail Database)
  • AmazonLightsailInstance (for Amazon Lightsail Instance)
  • AmazonLightsailLoadBalancer (for Amazon Lightsail Load Balancer)
  • AmazonMSKCluster (for Amazon MSK Cluster)
  • AmazonNeptuneCluster (for Amazon Neptune Cluster)
  • AmazonNeptuneInstance (for Amazon Neptune Instance)
  • AmazonRabbitMQ (for AmazonMQ - RabbitMQ)
  • AmazonRDSProxy (for Amazon RDS Proxy)
  • AmazonRedshift (for Amazon Redshift)
  • AmazonRoute53HealthChecks (for Amazon Route 53 Health Checks)
  • AmazonRoute53Resolver (for Amazon Route 53 Resolver)
  • AmazonSecretsManager (for Amazon Secrets Manager)
  • AmazonSimpleEmailService (for Amazon Simple Email Service)
  • AmazonStorageGateway (for Amazon Storage Gateway)
  • AmazonStorageGatewayFileShares (for Amazon Storage Gateway - File Share)
  • AmazonStorageGatewayVolume (for Amazon Storage Gateway - Volume)
  • AmazonTransitGateway (for AWS Transit Gateway)
  • AmazonVPC (for AWS VPC Resources)
  • AmazonVPCLattice (for AWS VPC Lattice)
  • AmazonVpcNatGateway (for Amazon Vpc Nat Gateway)
  • AmazonWebApplicationFirewall (for Amazon Web Application Firewall)
  • AmazonWorkSpaces (for Amazon WorkSpaces)
  • AWSBackup (for AWS Backup)
  • AWSBackupVault (for AWS Backup Vault)
  • AWSCertificateManager (for AWS Certificate Manager)
  • AWSClientVPN (for AWS Client VPN)
  • AWSDRSRecoveryInstance (for AWS DRS Recovery Instance)
  • AWSDRSSourceServer (for AWS DRS Source Server)
  • AWSElasticDisasterRecovery (for AWS Elastic Disaster Recovery)
  • AWSElasticIP (for Amazon Elastic IP)
  • AWSGlueCrawler (for AWS Glue Crawler)
  • AWSGlueJob (for AWS Glue Job)
  • AWSHealthEvents (for AWS Health Events)
  • AWSNetworkFirewall (for Amazon Network Firewall)
  • AWSPrivateLinkEndpoint (for AWS PrivateLink Endpoint)
  • AWSPrivateLinkEndpointService (for AWS PrivateLink Endpoint Service)
  • AWSSitetoSiteVPN (for AWS Site to Site VPN)
  • AWSStepFunction (for AWS Step Functions)
  • AWSSystemsManager (for AWS Systems Manager)
  • AWSTrustedAdvisor (for AWS Trusted Advisor)
  • BEANSTALK (for Elastic Beanstalk environments)
  • DYNAMODB (for DynamoDB)
  • EC2 (for Elastic Compute Cloud)
  • ECS (for Elastic Container Service clusters)
  • EKS (for Elastic Kubernetes Service)
  • LAMBDA (for Lambda functions)
  • NLB (for Network Load Balancer)
  • RDS (for Relational Database Services)
  • S3 (for S3 Buckets)
  • SNS (for Simple Notification Services)
  • SQS (for Simple Queue Service)
accessKey

The access Key ID of the AWS account with API access.

Note: Click here to know more about access keys.

SecretAccessKey The secret access key of the accessKey for the AWS account.
AccountType

The account type. Possible values are

  • AwsGlobal
  • AwsChina
  • AwsGovCloud
GlobalRegions*

List of global regions that you can choose from when AwsGlobal AccountType is chosen. Possible values are:
All-Regions, us-east-1, us-east-2, us-west-1, us-west-2, ap-east-1, ap-south-2, ap-southeast-3, ap-southeast-4, ap-south-1, ap-northeast-3, ap-northeast-2, ap-southeast-1, ap-southeast-2, ap-northeast-1, ca-central-1, eu-central-1, eu-central-2, eu-west-1, eu-west-2, eu-west-3, eu-north-1, eu-south-1, eu-south-2, me-south-1, me-central-1, il-central-1, sa-east-1, af-south-1 or False.

Note: Specify the value All-Regions only if you want to monitor from all the above-mentioned regions. Do not enter other region values when All-Regions is specified.

ChinaRegions* List of China regions that you can choose from when AwsChina AccountType is chosen. Possible values are:
cn-northwest-1, cn-north-1 or False.
AWSGovCloudRegions* List of US GovCloud regions that you can choose from when AwsGovCloud AccountType is chosen. Possible values are:
us-gov-west-1, us-gov-east-1 or False.
discoverchild* Enables configuration options for the discovery of child monitors. Possible values are yes, no, and unmanage.
AdvancedSettings* Enables advanced settings when checked. Possible values are True or False.
discoverInterval* Time interval for automatically discovering and monitoring child monitors in minutes.
DeletedResourceAction*

Actions to be performed on the resources deleted in the Amazon console. If this parameter is not used, by default it is 'Alert'. Possible values are Alert/Stop/Unmanage/Delete.

Note: DeletedResourceAction will be effective only when AdvancedSettings is enabled.

StopDiscovery* Prevents the discovery of resources under the chosen service. Possible values are either True or False.
AWSServicesToStopDiscovery*

Services for which further discovery of resources must be prevented. Available services are:

  • ALB (for Application Load Balancer)
  • AmazonActiveMQ (for AmazonMQ - ActiveMQ)
  • AmazonAPIGatewayHTTPAPI (for Amazon API Gateway HTTP API)
  • AmazonAPIGatewayRESTAPI (for Amazon API Gateway REST API)
  • AmazonAPIGatewayWebSocketAPI (for Amazon API Gateway WebSocket API)
  • AmazonBedrock (for Amazon Bedrock)
  • AmazonBedrockAgents (for Amazon Bedrock Agents)
  • AmazonCloudFront (for Amazon CloudFront)
  • AmazonCloudHSM (for Amazon CloudHSM)
  • AmazonDataFirehose (for Amazon Data Firehose)
  • AmazonDirectConnect (for Amazon Direct Connect)
  • AmazonDirectConnectVirtualInterface (for Amazon Direct Connect - Virtual Interface)
  • AmazonDMSReplicationInstance (for Amazon Database Migration Service - Instance)
  • AmazonDMSReplicationTask (for Amazon DMS Migration Service - Task)
  • AmazonDocumentDBCluster (for Amazon DocumentDB Cluster)
  • AmazonDocumentDBGlobalClusters (for Amazon DocumentDB Global Cluster)
  • AmazonDocumentDBInstance (for Amazon DocumentDB Instance)
  • AmazonEC2AutoScaling (for Amazon EC2 Auto Scaling)
  • AmazonElastiCacheRedis (for Amazon ElastiCache Redis)
  • AmazonElasticBlockStore (for Amazon Elastic Block Store)
  • AmazonElasticContainerRegistry (for Amazon Elastic Container Registry)
  • AmazonElasticFileSystem (for Amazon Elastic File System)
  • AmazonFileTransferFamily (for Amazon File Transfer Family)
  • AmazonFSxFileCache (for Amazon FSx File Cache)
  • AmazonFSxFileSystem (for Amazon FSx File Systems)
  • AmazonGatewayLoadBalancer (for Amazon Gateway Load Balancer)
  • AmazonKeyManagementService (for Amazon Key Management Service)
  • AmazonKinesisDataStreams (for Amazon Kinesis Data Streams)
  • AmazonLightsailDatabase (for Amazon Lightsail Database)
  • AmazonLightsailInstance (for Amazon Lightsail Instance)
  • AmazonLightsailLoadBalancer (for Amazon Lightsail Load Balancer)
  • AmazonMSKCluster (for Amazon MSK Cluster)
  • AmazonNeptuneCluster (for Amazon Neptune Cluster)
  • AmazonNeptuneInstance (for Amazon Neptune Instance)
  • AmazonRabbitMQ (for AmazonMQ - RabbitMQ)
  • AmazonRDSProxy (for Amazon RDS Proxy)
  • AmazonRedshift (for Amazon Redshift)
  • AmazonRoute53HealthChecks (for Amazon Route 53 Health Checks)
  • AmazonRoute53Resolver (for Amazon Route 53 Resolver)
  • AmazonSecretsManager (for Amazon Secrets Manager)
  • AmazonSimpleEmailService (for Amazon Simple Email Service)
  • AmazonStorageGateway (for Amazon Storage Gateway)
  • AmazonStorageGatewayFileShares (for Amazon Storage Gateway - File Share)
  • AmazonStorageGatewayVolume (for Amazon Storage Gateway - Volume)
  • AmazonTransitGateway (for AWS Transit Gateway)
  • AmazonVPC (for AWS VPC Resources)
  • AmazonVPCLattice (for AWS VPC Lattice)
  • AmazonVpcNatGateway (for Amazon Vpc Nat Gateway)
  • AmazonWebApplicationFirewall (for Amazon Web Application Firewall)
  • AmazonWorkSpaces (for Amazon WorkSpaces)
  • AWSBackup (for AWS Backup)
  • AWSBackupVault (for AWS Backup Vault)
  • AWSCertificateManager (for AWS Certificate Manager)
  • AWSClientVPN (for AWS Client VPN)
  • AWSDRSRecoveryInstance (for AWS DRS Recovery Instance)
  • AWSDRSSourceServer (for AWS DRS Source Server)
  • AWSElasticDisasterRecovery (for AWS Elastic Disaster Recovery)
  • AWSElasticIP (for Amazon Elastic IP)
  • AWSGlueCrawler (for AWS Glue Crawler)
  • AWSGlueJob (for AWS Glue Job)
  • AWSHealthEvents (for AWS Health Events)
  • AWSNetworkFirewall (for Amazon Network Firewall)
  • AWSPrivateLinkEndpoint (for AWS PrivateLink Endpoint)
  • AWSPrivateLinkEndpointService (for AWS PrivateLink Endpoint Service)
  • AWSSitetoSiteVPN (for AWS Site to Site VPN)
  • AWSStepFunction (for AWS Step Functions)
  • AWSSystemsManager (for AWS Systems Manager)
  • AWSTrustedAdvisor (for AWS Trusted Advisor)
  • BEANSTALK (for Elastic Beanstalk environments)
  • DYNAMODB (for DynamoDB)
  • EC2 (for Elastic Compute Cloud)
  • ECS (for Elastic Container Service clusters)
  • EKS (for Elastic Kubernetes Service)
  • LAMBDA (for Lambda functions)
  • NLB (for Network Load Balancer)
  • RDS (for Relational Database Services)
  • S3 (for S3 Buckets)
  • SNS (for Simple Notification Services)
  • SQS (for Simple Queue Service)

If this option is not used, then the value should be set to False.

NameFilterRegex*

Regex to filter EC2 instances and adds the instances that match the regex alone.

Note: Regex may contain alphanumeric characters, hyphen(-), underscore(_), and period(.) symbols. To ignore characters, specify .* at the beginning/end/middle one or more times.

Note: Parameters with * have been added from Applications Manager version 15180 onwards.

Sample Request

For Applications Manager versions till 15170:

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&accessKey=ACCESSKEYACCESSKEYAC&type=Amazon&SecretAccessKey=SECRETACCESSKEYSECRETACCESSKEYSECRETACCE&displayname=test&AccountType=AwsGlobal&AmazonServices=DYNAMODB,EC2,RDS,S3,SNS,ALB,NLB,SQS,AmazonCloudFront,AmazonElasticFileSystem,AmazonElastiCacheRedis,LAMBDA,BEANSTALK,ECS,EKS

For Applications Manager versions 15180 onwards:

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Amazon&accessKey=ACCESSKEYACCESSKEYAC&SecretAccessKey=SECRETACCESSKEYSECRETACCESSKEYSECRETACCE&displayname=Amazon&AccountType=AwsGlobal&AmazonServices=EC2,RDS,S3,SNS,ALB,NLB,SQS,AmazonCloudFront,AmazonElasticFileSystem,LAMBDA,BEANSTALK,ECS,EKS,AmazonAPIGatewayRESTAPI,AmazonAPIGatewayWebSocketAPI,AmazonAPIGatewayHTTPAPI,AmazonDirectConnect,AmazonDirectConnectVirtualInterface,AmazonElasticContainerRegistry,AWSElasticIP,DMSReplicationInstances,DMSReplicationTasks,AmazonFSxFileCache,AmazonGatewayLoadBalancer,AmazonMSKCluster,AWSNetworkFirewall,AmazonRoute53HealthChecks,AmazonRoute53Resolver,AWSSystemsManager,AWSStepFunction,AmazonVPC,AmazonVpcNatGateway,AmazonVPCLattice,StorageGateway,StorageGatewayFileShare,StorageGatewayVolume,AWSClientVPN,AWSPrivateLinkEndpoints,AWSPrivateLinkEndpointService,AWSSitetoSiteVPN,AWSTransitGateways,CloudHSM,KMS,SecretsManager,WAF&GlobalRegions=us-east-1,us-west-2&AdvancedSettings=true&discoverchild=unmanage&DeletedResourceAction=Delete&StopDiscovery=True&AWSServicesToStopDiscovery=DYNAMODB&NameFilterRegex=.*prod-instance.*&discoverInterval=15&AuthenticationType=accessKeys

For Applications Manager versions 15180 onwards (Role-based authentication):

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Amazon&displayname=AmazonRoleBased&AccountType=AwsGlobal&AmazonServices=EC2,SQS&GlobalRegions=All-Regions&ChinaRegions=False&AWSGovCloudRegions=False&AdvancedSettings=True&discoverchild=yes&StopDiscovery=True&AWSServicesToStopDiscovery=EC2&AuthenticationType=role-based&IAMRoleARN=arn:aws:iam::123456789012:role/ApplicationsManagerRole&ExternalID=123e4567-e89b-12d3-a456-426614174000

Google Cloud Platform

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=GoogleCloudPlatform&displayname=[DISPLAY_NAME]&GCPServices=[GCP_Services]&ProjectID=[Project_ID]&provider=[OAuth_Provider_Name]&advancedsettings=[True/False]&deletedresourceaction=[Alert/Stop/Unmanage/Delete]&stopdiscovery=[True/False]&servicestostopdiscovery=[False/GCP_Services]&discoverInterval=[INTERVAL]

Request Parameters

The parameters involved in the API request are described below. Also refer to the list of common request parameters.

Field Description
displayname Display name of the monitor.
type Type of monitor to be added. The value should be GoogleCloudPlatform.
GCPServices Google Cloud Services like Compute, Storage, Filestore, etc. Available services are ComputeEngine, CloudStorage, CloudFilestore, and KubernetesEngine.
ProjectID Unique ID of the project to be monitored.
provider Name of the OAuth Provider created in Applications Manager. Refer here for steps to add new OAuth Provider.
advancedsettings Enables additional settings. Possible values are either True or False
deletedresourceaction Actions to be performed on the resources deleted in the GCP console. If this parameter is not used, by default it is 'Alert'. Possible values - Alert/Stop/Unmanage/Delete
stopdiscovery Prevents the discovery of resources under the chosen service. Possible values are either True or False
servicestostopdiscovery Services for which resources should not be discovered. Available services are ComputeEngine, CloudStorage, CloudFilestore, and KubernetesEngine. If this option is not used, then the value should be False.
discoverIntervalTime interval for automatically discovering and monitoring child monitors in minutes.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=GoogleCloudPlatform&displayname=GCP&GCPServices=ComputeEngine,CloudStorage,CloudFilestore,KubernetesEngine&ProjectID=black-agility-235006&provider=gcp&advancedsettings=True&deletedresourceaction=Stop&stopdiscovery=False&servicestostopdiscovery=False&discoverInterval=15

Microsoft 365

For Applications Manager Versions till 16300 :

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=[TYPE]&Office365TenantName=[OFFICE365TENANTNAME]&Office365Useremail=[ADMINEMAIL]&Office365Password=[PASSWORD]&Office365Services=[OFFICE365SERVICES]&displayname=[DISPLAYNAME]&Timeout=[TIMEOUT]&ServiceHealth=[True/False]&TenantID=[TENANTID]&ClientID=[CLIENTID]&ClientSecret=[CLIENTSECRET]

Request Parameters

The parameters involved in the API request are described below. Also refer to the list of common request parameters.

Field Description
type The type of monitor you want to add. Value should be Office365.
Office365TenantName The tenant name used by the Microsoft 365 subscription.
Office365Useremail* The Microsoft 365 user email with admin privileges.
Office365Password* The Microsoft 365 user account password.
Office365Services Required services to monitor. Supported services are "ExchangeOnline,SharepointOnline,MicrosoftTeams"
Timeout The  Timeout interval in seconds.
ServiceHealth Option to enable Service Health monitoring. (True or False)
TenantID* Tenant ID of the tenant in which the application is created.
ClientID* Client ID/Application ID of the application created
ClientSecret* Client Secret created in the application.

Note: Please note that the parameters marked with * are mandatory, while the ones marked with * are optional and applicable only when Service health is enabled.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Office365&Office365TenantName=appmanager&Office365Useremail=apm@appmanager.onmicrcosoft.com&Office365Password=appman&Office365Services=ExchangeOnline,SharepointOnline,MicrosoftTeams&displayname=officemonitor&Timeout=600&ServiceHealth=True&TenantID=aaaabbbb-cccc-dddd-eeee-ffffgggghhhh&ClientID=aaaabbbb-cccc-dddd-eeee-ffffgggghhhh&ClientSecret=aaaaaabbbbbbccccccddddddeeeeee

For Applications Manager Versions from 16310:

Syntax

http://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=Office365&displayname=officemonitor&Office365TenantName=applicationsmanager&Office365Services=ExchangeOnline,SharepointOnline,MicrosoftTeams&TenantID=[TENANTID]&ClientID=[CLIENTID]&ClientSecret=[CLIENTSECRET]&UsePowerShell=[True/False]&Office365Useremail=[EMAIL]&Office365Password=[PASSWORD]&Timeout=600&discoverInterval=[INTERVAL]

Request Parameters

The parameters involved in the API request are described below. Also refer to the list of common request parameters.

Field Description
type The type of monitor you want to add. Value should be Office365.
Office365TenantName The tenant name used by the Microsoft 365 subscription.
Office365Services Required services to monitor. Supported services are "ExchangeOnline,SharepointOnline,MicrosoftTeams"
TenantID* Tenant ID of the tenant in which the application is created.
ClientID* Client ID/Application ID of the application created
ClientSecret* Client Secret created in the application.
UsePowerShell To monitor Exchange Online Mailboxes & SharePoint Sites via PowerShell.The value will be either True or False.
Office365Useremail* The Microsoft 365 user email with admin privileges.
Office365Password* The Microsoft 365 user account password.
Timeout The Timeout  interval in seconds.
discoverInterval The time interval for automatically discovering and monitoring child monitors in minutes.

Please note that the parameters marked with * are mandatory, while the ones marked with * are optional and applicable only when UsePowershell is enabled.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Office365&displayname=office365monitor&Office365TenantName=appmanager&Office365Services=ExchangeOnline,SharepointOnline,MicrosoftTeams&TenantID=aaaabbbb-cccc-dddd-eeee-ffffgggghhhh&ClientID=aaaabbbb-cccc-dddd-eeee-ffffgggghhhh&ClientSecret=aaaaaabbbbbbccccccddddddeeeeee&UsePowershell=True&Office365Useremail=apm@appmanager.onmicrcosoft.com&Office365Password=appman&Timeout=600&discoverInterval=15

Microsoft Azure

To add Microsoft Azure monitoring using Mode 1 (AD Application & Service Principal):

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=MicrosoftAzure&displayname=[DISPLAYNAME]&OnboardingType=[Subscription/Tenant]&SubscriptionID=[SUBSCRIPTIONID]&SubscriptionScope=[AllSubscriptions/SelectSubscriptions]&SubscriptionIDs=[SUBSCRIPTIONIDS]&AutoAddSubscriptions=[True/False]&AzureServices=[SERVICES]&AzureAccountType=[AZUREACCOUNTTYPE]&DiscoveryMode=AzureSPApp&ClientID=[CLIENTID]&TenantID=[TENANTID]&AppKey=[APPKEY]&ChildDiscovery=[unmanage/monitor/regexFilter]&DiscoveryFilterRegex=[ModuleType_Attribute=Regex]&FilterByTags=[True/False]&TagIncludeExpression=[TAGKEY>>>TAGVALUE]&TagIncludeOperator=[Or/And]&TagExcludeExpression=[TAGKEY>>>TAGVALUE]&TagExcludeOperator=[Or/And]&AdvancedSettings=[True/False]&AssociateToMonitorGroup=[True/False]&urlRetry=[True/False]&AlertResources=[True/False]&AlertSeverity=[Critical/Warning]&RaiseAlerts=[Created/Deleted/Both]&DeletedResourceAction=[Alert/Stop/Unmanage/Delete]&AzureServicesToStopDiscovery=[SERVICESTOSTOP]&Timeout=[TIMEOUT]&discoverInterval=[INTERVAL]

Request Parameters

The parameters involved in the API request are described below. Also refer to the list of common request parameters.

Field Description
type* Type of the monitor you want to add. Value should be 'MicrosoftAzure'.
displayname* Preferred display name of the monitor.
OnboardingType* How the monitor is added. Possible values are Subscription or Tenant. If this parameter is not used, by default it is set to Subscription.
  • Subscription - adds one monitor for the Subscription ID given.
  • Tenant - adds one monitor for the whole Microsoft Entra directory, which creates a Subscription monitor for each subscription in its scope.
Note:
  • Tenant onboarding is supported with AzureSPApp and AzureOAuth only.
  • Tenant onboarding for Microsoft Azure monitor is supported from Applications Manager v183000.
SubscriptionID* Subscription ID of the Azure subscription to be monitored. Mandatory when OnboardingType=Subscription.

Not applicable when OnboardingType=Tenant.
SubscriptionScope Applicable only when OnboardingType=Tenant.

Which of the directory's subscriptions are monitored. Possible values are AllSubscriptions or SelectSubscriptions:
  • AllSubscriptions - every subscription the credentials can read.
  • SelectSubscriptions - only those named in SubscriptionIDs.

If this parameter is not used, by default it is set to AllSubscriptions.
SubscriptionIDs* Applicable only when OnboardingType=Tenant.

The subscriptions to monitor, as comma-separated subscription IDs. Mandatory when SubscriptionScope=SelectSubscriptions, and ignored otherwise.
AutoAddSubscriptions Applicable only when OnboardingType=Tenant.

Whether subscriptions added to the directory after this monitor was created are onboarded automatically. Possible values are True or False. If this parameter is not used, by default it is set to 'True'.

When False, only the subscriptions this Tenant monitor has already onboarded stay in scope. Effective only when SubscriptionScope=AllSubscriptions.
AzureServices*

Azure services to be monitored. Provide the services as comma-separated values.
The possible values are:

  • All-Supported-Services
  • VirtualMachines
  • StorageAccounts
  • PremiumStorageAccount
  • SQLDatabases
  • ServiceBus
  • KubernetesServices
  • SQLManagedInstance
  • LoadBalancer
  • AzurePostgreSQLServer
  • AzureAppService
  • AzureSynapseAnalytics
  • AzureFunctions
  • AzureVirtualNetwork
  • AzureVMScaleSets
  • AzureRedisCache
  • AzureCosmosDB
  • AzureMariaDBServer
  • AzureMySQLServer
  • AzureExpressRouteCircuit
  • AzureNetworkInterface
  • AzureVNetGateway
  • AzureApplicationGateway
  • AzureFirewall
  • AzureTrafficManagerProfile
  • AzurePublicIPAddress
  • AzureDNSZone
  • AzurePrivateDNSZone
  • AzureFrontDoorAndCDNProfile
  • AzureNetworkWatcherConnection
  • AzureConnection
  • AzureAppPlan
  • AzureContainerInstance
  • AzureContainerRegistry
  • AzureSQLElasticPool
  • AzureLogicAppStandard
  • AzureLogicAppConsumption
  • AzureEventHubNamespace
  • AzureEventHubCluster
  • AzureStorageSyncService
  • AzureKeyVaults
  • AzureKeyVaultManagedHSM
  • AzureBastion
  • AzureRelay
  • AzureContainerApp
  • AzurePrivateEndpoint
  • AzurePrivateLinkService
  • AzureBackupVault
  • AzureRecoveryServiceVault
  • AzureDataFactory
  • AzureAISearch
  • AzureMachineLearning
  • AzureAnalysisService
  • AzureApplicationInsight
  • AzureDataExplorerCluster
  • AzureLogAnalyticsWorkspace
  • AzureManagedGrafana
  • AzureStreamAnalyticsJob
  • AzureIotHub
  • AzureMapsAccount
  • AzureNotificationHub
  • AzureDNSPrivateResolver
  • AzureNATGateway
  • AzureNGINXaaS
  • AzureRouteServer
 

Note: 

  • Selecting All-Supported-Services will enable all the supported Azure services, without selecting them individually.
  • All-Supported-Services value is not considered when it is provided with other possible values.
  • When no value is provided for Azure Services, all the supported services will be considered as the default value.
AzureAccountType*

The account type of your Azure account. Possible values are

  • AzureGlobal
  • AzureGovCloud
  • AzureChina
DiscoveryMode* Mode of resource discovery. The value should be 'AzureSPApp'.
ClientID* Client ID of the Microsoft Entra (Previously Azure Active Directory) application created in the Azure portal.
TenantID* Tenant ID (Directory ID) of Microsoft Entra ID (Previously Azure Active Directory).
AppKey* Password of the Microsoft Entra (Previously Azure Active Directory) application created in the Azure portal.
ChildDiscovery Enables configuration options for the discovery of child monitors. Possible values are unmanage, monitor and regexFilter.
DiscoveryFilterRegex*

Filters Azure Resources and adds the monitor that matches the regex alone. Click here to learn about the possible attributes and module types.

Note:

  • Multiple Regex values can be provided as comma-separated values following the syntax.
  • Encode the '&' symbol as '%26' while entering the Regex value.
  • DiscoveryFilterRegex is a mandatory value if ChildDiscovery=regexFilter.
FilterByTags Enables tag filtering. Possible values are True or False. If this parameter is not used, by default it is set to False.
Note:
  • The four tag parameters below are considered only when FilterByTags is True.
  • Tag Filters in Microsoft Azure monitor is supported from Applications Manager v183000.
TagIncludeExpression Only the resources carrying a matching tag are monitored. Syntax:{Tag Key}>>>{Tag Value}, for example Owner>>>Production.

Multiple conditions are separated by a line break, encoded as %0A. For example Owner>>>Production%0AEnv>>>Prod gives two conditions.

Several values for the same tag key are joined with ###. For example Owner>>>Production###Staging%0AEnv>>>Prod###QA gives two conditions, each matching either of its values.
TagIncludeOperator How several Include conditions are combined. Possible values are Or or And:
  • Or - any one tag key matching is enough.
  • And - every tag key provided must match.

If this parameter is not used, by default it is set to Or. Several values given for the same tag key always behave as Or, whichever operator is set.
TagExcludeExpression The resources carrying a matching tag are not monitored. For example Env>>>Dev###Test%0ATier>>>Sandbox gives two conditions, each matching either of its values.

Exclude is applied after Include, so anything matching both is excluded.
TagExcludeOperator How several Exclude conditions are combined. Possible values are Or or And. If this parameter is not used, by default it is set to Or.
AdvancedSettings Enables advanced settings when checked. Possible values are True or False.
urlRetry

Enabling this option will automatically retry APIs that fail due to network connectivity during data collection. Possible values are True or False.

Note: urlRetry will be effective only when AdvancedSettings is enabled.

AlertResources

Enables alerts for resource creation and deletion in the Azure Portal. Possible values are True or False.

Note: AlertResources will be effective only when AdvancedSettings is enabled.

AlertSeverity Defines the severity level of alerts shown for resource creation and deletion in the Azure Portal. Possible values are Critical or Warning.
RaiseAlerts

Specifies the alert to be shown for resource creation, deletion, or both. Possible values are Created or Deleted or Both.

Note: Alerts for resource deletion will persist until the corresponding monitor is removed from Applications Manager.

DeletedResourceAction

Actions that are to be performed on the resources deleted in the Azure console. If this parameter is not used, by default it is set to Delete. Possible values are Alert/Stop/Unmanage/Delete.

Note: DeletedResourceAction will be effective only when AdvancedSettings is enabled.

AssociateToMonitorGroup Associates the discovered child monitors into Monitor Groups based on their Azure Resource Group. Possible values are True or False.
Note:
  • AssociateToMonitorGroup will be effective only when AdvancedSettings is enabled.
  • Associate to Monitor Group in Microsoft Azure monitor is supported from Applications Manager v182200.
discoverInterval The time interval for automatically discovering and monitoring child monitors in minutes.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=MicrosoftAzure&displayname=AzureTenantRestAPI&OnboardingType=Tenant&SubscriptionScope=AllSubscriptions&AutoAddSubscriptions=True&AzureServices=All-Supported-Services&AzureAccountType=AzureGlobal&DiscoveryMode=AzureSPApp&ClientID=aaaabbbb-cccc-dddd-eeee-ffffgggghhhh&TenantID=aaaabbbb-cccc-dddd-eeee-ffffgggghhhh&AppKey=aaaaaabbbbbbccccccddddddeeeeee&ChildDiscovery=regexFilter&DiscoveryFilterRegex=VirtualMachines_Name=APM.*%26%26VirtualMachines_ResourceGroupName=APP.*&FilterByTags=True&TagIncludeExpression=Owner>>>Production%0AEnv>>>Prod&TagIncludeOperator=Or&TagExcludeExpression=Env>>>Dev&TagExcludeOperator=Or&AdvancedSettings=True&AssociateToMonitorGroup=True&urlRetry=True&AlertResources=True&AlertSeverity=Warning&RaiseAlerts=Both&DeletedResourceAction=Stop&AzureServicesToStopDiscovery=KubernetesServices&Timeout=200&discoverInterval=10

To add Microsoft Azure Monitor using Mode 2 (Azure Organizational Account):

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=MicrosoftAzure&displayname=[DISPLAYNAME]&OnboardingType=Subscription&SubscriptionID=[SUBSCRIPTIONID]&AzureServices=[SERVICES]&AzureAccountType=[AZUREACCOUNTTYPE]&DiscoveryMode=AzureOrgAccount&AzureOrgUserName=[USEREMAILOFORGANIZATIONALACCOUNT]&AzureOrgPassword=[PASSWORDOFORGANIZATIONALACCOUNT]&ChildDiscovery=[unmanage/monitor/regexFilter]&DiscoveryFilterRegex=[ModuleType_Attribute=Regex]&AdvancedSettings=[True/False]&AssociateToMonitorGroup=[True/False]&urlRetry=[True/False]&AlertResources=[True/False]&AlertSeverity=[Critical/Warning]&RaiseAlerts=[Created/Deleted/Both]&DeletedResourceAction=[Alert/Stop/Unmanage/Delete]&AzureServicesToStopDiscovery=[SERVICESTOSTOP]&Timeout=[TIMEOUT]&discoverInterval=[INTERVAL]

Request Parameters

The parameters involved in the API request are described below. Also refer to the list of common request parameters.

Field Description
type* Type of the monitor you want to add. Value should be 'MicrosoftAzure'.
displayname* Preferred display name of the monitor.
OnboardingType The value should be Subscription, which is also the default if this parameter is not used. Tenant onboarding is not supported with AzureOrgAccount.
SubscriptionID* Subscription ID of the Azure subscription to be monitored.
AzureServices*

Azure services to be monitored. Provide the services as comma-separated values.
The possible values are:

  • All-Supported-Services
  • VirtualMachines
  • StorageAccounts
  • PremiumStorageAccount
  • SQLDatabases
  • ServiceBus
  • KubernetesServices
  • SQLManagedInstance
  • LoadBalancer
  • AzurePostgreSQLServer
  • AzureAppService
  • AzureSynapseAnalytics
  • AzureFunctions
  • AzureVirtualNetwork
  • AzureVMScaleSets
  • AzureRedisCache
  • AzureCosmosDB
  • AzureMariaDBServer
  • AzureMySQLServer
  • AzureExpressRouteCircuit
  • AzureNetworkInterface
  • AzureVNetGateway
  • AzureApplicationGateway
  • AzureFirewall
  • AzureTrafficManagerProfile
  • AzurePublicIPAddress
  • AzureDNSZone
  • AzurePrivateDNSZone
  • AzureFrontDoorAndCDNProfile
  • AzureNetworkWatcherConnection
  • AzureConnection
  • AzureAppPlan
  • AzureContainerInstance
  • AzureContainerRegistry
  • AzureSQLElasticPool
  • AzureLogicAppStandard
  • AzureLogicAppConsumption
  • AzureEventHubNamespace
  • AzureEventHubCluster
  • AzureStorageSyncService
  • AzureKeyVaults
  • AzureKeyVaultManagedHSM
  • AzureBastion
  • AzureRelay
  • AzureContainerApp
  • AzurePrivateEndpoint
  • AzurePrivateLinkService
  • AzureBackupVault
  • AzureRecoveryServiceVault
  • AzureDataFactory
  • AzureAISearch
  • AzureMachineLearning
  • AzureAnalysisService
  • AzureApplicationInsight
  • AzureDataExplorerCluster
  • AzureLogAnalyticsWorkspace
  • AzureManagedGrafana
  • AzureStreamAnalyticsJob
  • AzureIotHub
  • AzureMapsAccount
  • AzureNotificationHub
  • AzureDNSPrivateResolver
  • AzureNATGateway
  • AzureNGINXaaS
  • AzureRouteServer
 

Note: 

  • Selecting All-Supported-Services will enable all the supported Azure services, without selecting them individually.
  • All-Supported-Services value is not considered when it is provided with other possible values.
  • When no value is provided for Azure Services, all the supported services will be considered as the default value.
AzureAccountType*

The account type of your Azure account. Possible values are

  • AzureGlobal
  • AzureGovCloud
  • AzureChina
DiscoveryMode* Mode of resource discovery. The value should be 'AzureOrgAccount'
AzureOrgUserName* Organizational account created in the Azure portal.
AzureOrgPassword* Password of the organizational account.
ChildDiscovery Enables configuration options for the discovery of child monitors. Possible values are unmanage, monitor and regexFilter.
DiscoveryFilterRegex*

Filters Azure Resources and adds the monitor that matches the regex alone. Click here to learn about the possible attributes and module types.

Note:

  • Multiple Regex values can be provided as comma-separated values following the syntax.
  • Encode the '&' symbol as '%26' while entering the Regex value.
  • DiscoveryFilterRegex is a mandatory value if ChildDiscovery=regexFilter.
AdvancedSettings Enables advanced settings when checked. Possible values are True or False.
urlRetry

Enabling this option will automatically retry APIs that fail due to network connectivity during data collection. Possible values are True or False.

Note: urlRetry will be effective only when AdvancedSettings is enabled.

AlertResources

Enables alerts for resource creation and deletion in the Azure Portal. Possible values are True or False.

Note: AlertResources will be effective only when AdvancedSettings is enabled.

AlertSeverity Defines the severity level of alerts shown for resource creation and deletion in the Azure Portal. Possible values are Critical or Warning.
RaiseAlerts

Specifies the alert to be shown for resource creation, deletion, or both. Possible values are Created or Deleted or Both.

Note: Alerts for resource deletion will persist until the corresponding monitor is removed from Applications Manager.

DeletedResourceAction

Actions that are to be performed on the resources deleted in the Azure console. If this parameter is not used, by default it is set to Delete. Possible values are Alert/Stop/Unmanage/Delete.

Note: DeletedResourceAction will be effective only when AdvancedSettings is enabled.

AssociateToMonitorGroup Associates the discovered child monitors into Monitor Groups based on their Azure Resource Group. Possible values are True or False.
Note:
  • AssociateToMonitorGroup will be effective only when AdvancedSettings is enabled.
  • Associate to Monitor Group in Microsoft Azure monitor is supported from Applications Manager v182200.
Timeout The timeout value, in seconds. Default value is 300.
discoverInterval The time interval for automatically discovering and monitoring child monitors in minutes.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=MicrosoftAzure&displayname=AzureRestAPI&OnboardingType=Subscription&SubscriptionID=aaaabbbb-cccc-dddd-eeee-ffffgggghhhh&AzureServices=VirtualMachines,StorageAccounts,PremiumStorageAccount,SQLDatabases,ServiceBus,KubernetesServices&AzureAccountType=AzureGlobal&DiscoveryMode=AzureOrgAccount&AzureOrgUserName=apmou@apmoutlook.onmicrosoft.com&AzureOrgPassword=appman&ChildDiscovery=monitor&AdvancedSettings=true&AssociateToMonitorGroup=True&urlRetry=True&AlertResources=True&AlertSeverity=Critical&RaiseAlerts=Created&DeletedResourceAction=Unmanage&AzureServicesToStopDiscovery=KubernetesServices&Timeout=200&discoverInterval=10

To add Microsoft Azure Monitor using Mode 3 (OAuth Mode):

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=MicrosoftAzure&displayname=[DISPLAYNAME]&OnboardingType=[Subscription/Tenant]&SubscriptionID=[SUBSCRIPTIONID]&SubscriptionScope=[AllSubscriptions/SelectSubscriptions]&SubscriptionIDs=[SUBSCRIPTIONIDS]&AutoAddSubscriptions=[True/False]&AzureServices=[SERVICES]&AzureAccountType=[AZUREACCOUNTTYPE]&DiscoveryMode=AzureOAuth&OAuthVal=[OAUTHVALUE]&ChildDiscovery=[unmanage/monitor/regexFilter]&DiscoveryFilterRegex=[ModuleType_Attribute=Regex]&FilterByTags=[True/False]&TagIncludeExpression=[TAGKEY>>>TAGVALUE]&TagIncludeOperator=[Or/And]&TagExcludeExpression=[TAGKEY>>>TAGVALUE]&TagExcludeOperator=[Or/And]&AdvancedSettings=[True/False]&AssociateToMonitorGroup=[True/False]&urlRetry=[True/False]&AlertResources=[True/False]&AlertSeverity=[Critical/Warning]&RaiseAlerts=[Created/Deleted/Both]&DeletedResourceAction=[Alert/Stop/Unmanage/Delete]&AzureServicesToStopDiscovery=[SERVICESTOSTOP]&Timeout=[TIMEOUT]&discoverInterval=[INTERVAL]

Request Parameters

The parameters involved in the API request are described below. Also refer to the list of common request parameters.

Field Description
type* Type of the monitor you want to add. Value should be 'MicrosoftAzure'.
displayname* Preferred display name of the monitor.
OnboardingType How the monitor is added. Possible values are Subscription or Tenant. If this parameter is not used, by default it is set to Subscription.
  • Subscription - adds one monitor for the Subscription ID given.
  • Tenant - adds one monitor for the whole Microsoft Entra directory, which creates a Subscription monitor for each subscription in its scope.
Note:
  • Tenant onboarding is supported with AzureSPApp and AzureOAuth only.
  • Tenant onboarding for Microsoft Azure monitor is supported from Applications Manager v183000.
SubscriptionID* Subscription ID of the Azure subscription to be monitored. Mandatory when OnboardingType=Subscription.

Not applicable when OnboardingType=Tenant.
SubscriptionScope Applicable only when OnboardingType=Tenant.

Which of the directory's subscriptions are monitored. Possible values are AllSubscriptions or SelectSubscriptions:
  • AllSubscriptions - every subscription the credentials can read.
  • SelectSubscriptions - only those named in SubscriptionIDs.

If this parameter is not used, by default it is set to AllSubscriptions.
SubscriptionIDs* Applicable only when OnboardingType=Tenant.

The subscriptions to monitor, as comma-separated subscription IDs. Mandatory when SubscriptionScope=SelectSubscriptions, and ignored otherwise.
AutoAddSubscriptions Applicable only when OnboardingType=Tenant.

Whether subscriptions added to the directory after this monitor was created are onboarded automatically. Possible values are True or False. If this parameter is not used, by default it is set to True.

When False, only the subscriptions this Tenant monitor has already onboarded stay in scope. Effective only when SubscriptionScope=AllSubscriptions.
AzureServices*

Azure services to be monitored. Provide the services as comma-separated values.
The possible values are:

  • All-Supported-Services
  • VirtualMachines
  • StorageAccounts
  • PremiumStorageAccount
  • SQLDatabases
  • ServiceBus
  • KubernetesServices
  • SQLManagedInstance
  • LoadBalancer
  • AzurePostgreSQLServer
  • AzureAppService
  • AzureSynapseAnalytics
  • AzureFunctions
  • AzureVirtualNetwork
  • AzureVMScaleSets
  • AzureRedisCache
  • AzureCosmosDB
  • AzureMariaDBServer
  • AzureMySQLServer
  • AzureExpressRouteCircuit
  • AzureNetworkInterface
  • AzureVNetGateway
  • AzureApplicationGateway
  • AzureFirewall
  • AzureTrafficManagerProfile
  • AzurePublicIPAddress
  • AzureDNSZone
  • AzurePrivateDNSZone
  • AzureFrontDoorAndCDNProfile
  • AzureNetworkWatcherConnection
  • AzureConnection
  • AzureAppPlan
  • AzureContainerInstance
  • AzureContainerRegistry
  • AzureSQLElasticPool
  • AzureLogicAppStandard
  • AzureLogicAppConsumption
  • AzureEventHubNamespace
  • AzureEventHubCluster
  • AzureStorageSyncService
  • AzureKeyVaults
  • AzureKeyVaultManagedHSM
  • AzureBastion
  • AzureRelay
  • AzureContainerApp
  • AzurePrivateEndpoint
  • AzurePrivateLinkService
  • AzureBackupVault
  • AzureRecoveryServiceVault
  • AzureDataFactory
  • AzureAISearch
  • AzureMachineLearning
  • AzureAnalysisService
  • AzureApplicationInsight
  • AzureDataExplorerCluster
  • AzureLogAnalyticsWorkspace
  • AzureManagedGrafana
  • AzureStreamAnalyticsJob
  • AzureIotHub
  • AzureMapsAccount
  • AzureNotificationHub
  • AzureDNSPrivateResolver
  • AzureNATGateway
  • AzureNGINXaaS
  • AzureRouteServer
 

Note: 

  • Selecting All-Supported-Services will enable all the supported Azure services, without selecting them individually.
  • All-Supported-Services value is not considered when it is provided with other possible values.
  • When no value is provided for Azure Services, all the supported services will be considered as the default value.
AzureAccountType*

The account type of your Azure account. Possible values are

  • AzureGlobal
  • AzureGovCloud
  • AzureChina
DiscoveryMode* Mode of resource discovery. The value should be 'AzureOAuth'.
OAuthVal* Indicates the OAuth value. Refer here for steps to add new OAuth Provider.
ChildDiscovery Enables configuration options for the discovery of child monitors. Possible values are unmanage, monitor and regexFilter.
DiscoveryFilterRegex*

Filters Azure Resources and adds the monitor that matches the regex alone. Click here to learn about the possible attributes and module types.

Note:

  • Multiple Regex values can be provided as comma-separated values following the syntax.
  • Encode the '&' symbol as '%26' while entering the Regex value.
  • DiscoveryFilterRegex is a mandatory value if ChildDiscovery=regexFilter.
FilterByTags Enables tag filtering. Possible values are True or False. If this parameter is not used, by default it is set to False.
Note:
  • The four tag parameters below are considered only when FilterByTags is True.
  • Tag Filters in Microsoft Azure monitor is supported from Applications Manager v183000.
TagIncludeExpression Only the resources carrying a matching tag are monitored. Syntax:{Tag Key}>>>{Tag Value}, for example, Owner>>>Production.

Multiple conditions are separated by a line break, encoded as %0A. For example, Owner>>>Production%0AEnv>>>Prod gives two conditions.

Several values for the same tag key are joined with ###. For example Owner>>>Production###Staging%0AEnv>>>Prod###QA gives two conditions, each matching either of its values.
TagIncludeOperator How several Include conditions are combined. Possible values are Or or And:
  • Or - any one tag key matching is enough.
  • And - every tag key provided must match.

If this parameter is not used, by default it is set to Or. Several values given for the same tag key always behave as Or, whichever operator is set.
TagExcludeExpression The resources carrying a matching tag are not monitored. For example Env>>>Dev###Test%0ATier>>>Sandbox gives two conditions, each matching either of its values.

Exclude is applied after Include, so anything matching both is excluded.
TagExcludeOperator How several Exclude conditions are combined. Possible values are Or or And. If this parameter is not used, by default it is set to Or.
AdvancedSettings Enables advanced settings when checked. Possible values are True or False.
urlRetry

Enabling this option will automatically retry APIs that fail due to network connectivity during data collection. Possible values are True or False.

Note: urlRetry will be effective only when AdvancedSettings is enabled.

AlertResources

Enables alerts for resource creation and deletion in the Azure Portal. Possible values are True or False.

Note: AlertResources will be effective only when AdvancedSettings is enabled.

AlertSeverity Defines the severity level of alerts shown for resource creation and deletion in the Azure Portal. Possible values are Critical or Warning.
RaiseAlerts

Specifies the alert to be shown for resource creation, deletion, or both. Possible values are Created or Deleted or Both.

Note: Alerts for resource deletion will persist until the corresponding monitor is removed from Applications Manager.

DeletedResourceAction

Actions that are to be performed on the resources deleted in the Azure console. If this parameter is not used, by default it is set to Delete. Possible values are Alert/Stop/Unmanage/Delete.

Note: DeletedResourceAction will be effective only when AdvancedSettings is enabled.

AssociateToMonitorGroup Associates the discovered child monitors into Monitor Groups based on their Azure Resource Group. Possible values are True or False.
Note:
  • AssociateToMonitorGroup will be effective only when AdvancedSettings is enabled.
  • Associate to Monitor Group in Microsoft Azure monitor is supported from Applications Manager v182200.
discoverInterval The time interval for automatically discovering and monitoring child monitors in minutes.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=MicrosoftAzure&displayname=AzureTenantOAuthRestAPI&OnboardingType=Tenant&SubscriptionScope=SelectSubscriptions&SubscriptionIDs=aaaabbbb-cccc-dddd-eeee-ffffgggghhhh,iiiijjjj-kkkk-llll-mmmm-nnnnoooopppp&AzureServices=VirtualMachines,StorageAccounts,SQLDatabases&AzureAccountType=AzureGlobal&DiscoveryMode=AzureOAuth&OAuthVal=10000000&ChildDiscovery=monitor&AdvancedSettings=True&AssociateToMonitorGroup=False&urlRetry=False&AlertResources=False&DeletedResourceAction=Unmanage&AzureServicesToStopDiscovery=SQLDatabases&Timeout=300&discoverInterval=60

Note: Please note that the parameters marked with * are mandatory.

OpenStack

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=OpenStack&displayname=[DISPLAY_NAME]&baseAuthURL=[IDENTITY_URL]&tenantName=[PROJECT_NAME]&username=[USENAME]&password=[PASSWORD]&isProxyNeeded=[yes/no]&isProjectScopedToken=[True/False]

Request Parameters

The parameters involved in the API request are described below. Also, refer to the list of common request parameters.

Field Description
displayname The display name of the OpenStack monitor
type The type of monitor you want to add. For OpenStack, it should be "OpenStack"
baseAuthURL The Base Authentication URL for OpenStack. Eg: http://controller:5000
tenantName The Project Name associated with the User of OpenStack account.
username The username of the OpenStack account.
password The Password  of the OpenStack account.
isProxyNeeded Specifies if a proxy is required for monitoring. Possible values are yes or no.
isProjectScopedToken Specifies if the authorization scope is set to Tenant/Project. Possible values are True/False.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=OpenStack&displayname=OpenStack_API&baseAuthURL=http://controller:5000&tenantName=Venus&username=admin&password=appman&isProxyNeeded=no&isProjectScopedToken=False

Error Handling:

4601 - The Authentication URL should not be empty. 
4602 - The Tenant Name should not be empty.

Oracle Cloud Infrastructure

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=OracleCloud&displayname=[DISPLAY_NAME]&TenancyOCID=[Tenancy_OCID]&UserID=[User_OCID]& OracleServices=[Oracle_Services]&PEMFilePath=[PEM_File_Path]&Fingerprint=[Finger_print]&RegionsToMonitor=[Regions_To_Monitor]&stopdiscovery=[Stop_Discovery_Option]&ActionOnTerminatedResources=[Action]&advancedsettings=[Advanced_Settings]&servicesToNotDiscover=[Services_To_Not_Discover]&discoverInterval=[INTERVAL]

Request Parameters

The parameters involved in the API request are described below. Also refer to the list of common request parameters.

Field Description
displayname Name of the Oracle Cloud monitor
type Type of monitor to be added. Value should be OracleCloud.
TenancyOCID Oracle Cloud Identifier for the tenancy.
UserID Oracle Cloud Identifier for the user.
OracleServices A comma-separated list of Oracle Cloud services to monitor. Possible values are:
  • Compute - Oracle Cloud Instance
  • Database - Oracle Autonomous AI Database
  • OracleCloudAPIDeployment - Oracle Cloud API Deployment
  • OracleCloudAPIGateway - Oracle Cloud API Gateway
  • OracleCloudApplication - Oracle Cloud Application
  • OracleCloudContainerDatabase - Oracle Cloud Container Database
  • OracleCloudCrossConnectGroup - Oracle Cloud Cross-Connect Group
  • OracleCloudDatabaseSystem - Oracle Cloud Database System
  • OracleCloudDynamicRoutingGateway - Oracle Cloud Dynamic Routing Gateway
  • OracleCloudFileSystem - Oracle Cloud File System
  • OracleCloudFunction - Oracle Cloud Function
  • OracleCloudInternetGateway - Oracle Cloud Internet Gateway
  • OracleCloudLoadBalancer - Oracle Cloud Load Balancer
  • OracleCloudMountTarget - Oracle Cloud Mount Target
  • OracleCloudMySQLDatabaseSystem - Oracle Cloud MySQL Database System
  • OracleCloudNATGateway - Oracle Cloud NAT Gateway
  • OracleCloudNetworkLoadBalancer - Oracle Cloud Network Load Balancer
  • OracleCloudNoSQLDatabase - Oracle Cloud NoSQL Database
  • OracleCloudPostgreSQLDatabaseSystem - Oracle Cloud PostgreSQL Database System
  • OracleCloudPostgreSQLNode - Oracle Cloud PostgreSQL Node
  • OracleCloudServiceGateway - Oracle Cloud Service Gateway
  • OracleCloudSiteToSiteVPN - Oracle Cloud Site-to-Site VPN
  • OracleCloudVault - Oracle Cloud Vault
  • OracleCloudVirtualCircuit - Oracle Cloud Virtual Circuit
  • Storage - Oracle Cloud Storage
PEMFilePath File path in which the file contains the private key is stored.
Fingerprint Obtained by uploading the public key to the Oracle Cloud console.
RegionsToMonitor List of regions to be monitored.
stopdiscovery Prevents discovery of resources under a particular service.
ActionOnTerminatedResources Actions to be performed on terminated resources.
advancedsettings Enables additional settings when checked.
servicesToNotDiscover A comma-separated list of services for which discovery should not be enabled. It takes the same values as OracleServices.
discoverInterval The time interval for automatically discovering and monitoring child monitors in minutes.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor? apikey=aaaaaabbbbbbccccccddddddeeeeee&type=OracleCloud&displayname=oraclecloudrest&TenancyOCID=ocid1.tenancy.oc1..aaaaaaaagltesttesttesttest26h5ksdo6fgbvbcmj377dnoka73rq&UserID=ocid1.user.oc1..aaaaaaaabz2skyed3j3kwxsgqtesttesttesttestoczno4ew2ov7rr57wnuza&OracleServices=Compute,Storage,OracleCloudLoadBalancer,OracleCloudApplication,OracleCloudFunction,OracleCloudNATGateway,Database&PEMFilePath=C:\Users\APMuser\.oci\oci_api_key.pem&Fingerprint=ea:e1:f8:68:a1:7f:ds:df:as:sd:d7:62:9e:53:f0:1f&RegionsToMonitor=eu-frankfurt-1,us-ashburn-1&stopdiscovery=False&ActionOnTerminatedResources=Unmanage&advancedsettings=False&servicesToNotDiscover=Compute&discoverInterval=10

Alibaba Cloud

Syntax

http://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=AlibabaCloud&displayname=[DISPLAYNAME]&accessKey=[ACCESSKEY]&Password=[SECRETKEY]&AlibabaServices=[ALIBABA_CLOUD_SERVICES]

Request Parameters

The parameters involved in this API request are described below. For common request parameters, see the common request parameters.

Field Description
type Type of monitor to add. The value should be AlibabaCloud.
accessKey The AccessKey ID of the Alibaba Cloud RAM user that has permission to access the selected services.
Password The Secret Access Key associated with the specified AccessKey ID.
AlibabaServices A comma-separated list of Alibaba Cloud services to monitor. Possible values are:
  • ALIBABACLOUD_ACS_DDOSDIP - Alibaba Cloud Anti-DDoS Proxy
  • ALIBABACLOUD_ACS_KSM - Alibaba Cloud Key Management Service
  • ALIBABACLOUD_ALB - Alibaba Cloud Application Load Balancer (ALB)
  • ALIBABACLOUD_ANALYTICSDB_MYSQL - Alibaba Cloud AnalyticDB for MySQL
  • ALIBABACLOUD_ANALYTICSDB_POSTGRES - Alibaba Cloud AnalyticDB for PostgreSQL
  • ALIBABACLOUD_ANYCAST_EIP - Alibaba Cloud Anycast Elastic IP Address
  • ALIBABACLOUD_APSARADB_CLICKHOUSE - Alibaba Cloud ApsaraDB for ClickHouse
  • ALIBABACLOUD_APSARADB_HBASE - Alibaba Cloud ApsaraDB for HBase
  • ALIBABACLOUD_APSARADB_LINDORM - Alibaba Cloud ApsaraDB for Lindorm
  • ALIBABACLOUD_APSARADB_MEMCACHE - Alibaba Cloud ApsaraDB for Memcache
  • ALIBABACLOUD_APSARADB_MONGODB - Alibaba Cloud ApsaraDB for MongoDB
  • ALIBABACLOUD_APSARADB_SELECTDB - Alibaba Cloud ApsaraDB for SelectDB
  • ALIBABACLOUD_APSARADB_TAIR - Alibaba Cloud Tair
  • ALIBABACLOUD_APSARAMQ_KAFKA - Alibaba Cloud ApsaraMQ for Kafka
  • ALIBABACLOUD_APSARAMQ_RABBITMQ - Alibaba Cloud ApsaraMQ for RabbitMQ
  • ALIBABACLOUD_APSARAMQ_ROCKETMQ - Alibaba Cloud ApsaraMQ for RocketMQ
  • ALIBABACLOUD_BANDWIDTH_PACKAGE - Alibaba Cloud Common Bandwidth Package
  • ALIBABACLOUD_CLB - Alibaba Cloud Classic Load Balancer (CLB)
  • ALIBABACLOUD_CLOUD_BACKUP - Alibaba Cloud Backup
  • ALIBABACLOUD_COMPUTE_NEST - Alibaba Cloud Compute Nest
  • ALIBABACLOUD_CSG - Alibaba Cloud Storage Gateway
  • ALIBABACLOUD_DISK - Alibaba Cloud Elastic Block Storage
  • ALIBABACLOUD_ECS - Alibaba Cloud Elastic Compute Service (ECS)
  • ALIBABACLOUD_EHPC - Alibaba Cloud Elastic High Performance Computing (E-HPC)
  • ALIBABACLOUD_EIP - Alibaba Cloud Elastic IP Address
  • ALIBABACLOUD_ENI - Alibaba Cloud Elastic Network Interface (ENI)
  • ALIBABACLOUD_FC - Alibaba Cloud Function Compute
  • ALIBABACLOUD_GWLB - Alibaba Cloud Gateway Load Balancer (GWLB)
  • ALIBABACLOUD_HSM - Alibaba Cloud Hardware Security Module
  • ALIBABACLOUD_IPV6_GATEWAY - Alibaba Cloud IPv6 Gateway
  • ALIBABACLOUD_NAS - Alibaba Cloud Apsara File Storage NAS
  • ALIBABACLOUD_NAT_GATEWAY - Alibaba Cloud NAT Gateway
  • ALIBABACLOUD_NLB - Alibaba Cloud Network Load Balancer (NLB)
  • ALIBABACLOUD_OSS - Alibaba Cloud Object Storage Service (OSS)
  • ALIBABACLOUD_POLARDBX - Alibaba Cloud PolarDB-X
  • ALIBABACLOUD_POLARDB_MYSQL - Alibaba Cloud PolarDB for MySQL
  • ALIBABACLOUD_POLARDB_ORACLE - Alibaba Cloud PolarDB for PostgreSQL (Oracle Compatible)
  • ALIBABACLOUD_POLARDB_POSTGRESQL - Alibaba Cloud PolarDB for PostgreSQL
  • ALIBABACLOUD_RDS_MYSQL - Alibaba Cloud ApsaraDB RDS for MySQL
  • ALIBABACLOUD_RDS_POSTGRES - Alibaba Cloud ApsaraDB RDS for PostgreSQL
  • ALIBABACLOUD_RDS_SQLSERVER - Alibaba Cloud ApsaraDB RDS for SQL Server
  • ALIBABACLOUD_SAE - Alibaba Cloud Serverless App Engine
  • ALIBABACLOUD_SAS - Alibaba Cloud Simple Application Server
  • ALIBABACLOUD_TABLESTORE - Alibaba Cloud Tablestore
  • ALIBABACLOUD_VPC_PC - Alibaba Cloud VPC Peering Connection
  • ALIBABACLOUD_WAF - Alibaba Cloud Web Application Firewall

Sample Request

http://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=AlibabaCloud&displayname=AlibabaCloudMonitor&accessKey=jjjjkkkkklllllllmmmmmm&Password=tttttuuuuuvvvvvwwwwxxxxx&AlibabaServices=ALIBABACLOUD_ECS,ALIBABACLOUD_OSS

Huawei Cloud

Syntax

http://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=HuaweiCloud&displayname=[DISPLAYNAME]&accessKey=[ACCESSKEY]&Password=[SECRETKEY]&ProjectId=[PROJECT_NAME_OR_ID]&HuaweiServices=[HUAWEI_CLOUD_SERVICES]

Request Parameters

The parameters involved in the API request are described below. Also refer to the list of common request parameters.

Field Description
type Type of monitor to add. The value should be HuaweiCloud.
displayname Display name of the Huawei Cloud monitor in Applications Manager.
accessKey Access Key ID generated for the Huawei Cloud IAM user.
Password Secret Access Key associated with the Access Key ID.
ProjectId Huawei Cloud project name or project ID associated with the services to monitor.
HuaweiServices A comma-separated list of Huawei Cloud services to monitor. Possible values are:
  • HUAWEICLOUD_APIC - Huawei Cloud API Connect (APIC)
  • HUAWEICLOUD_APIG - Huawei Cloud API Gateway (APIG)
  • HUAWEICLOUD_AUTOSCALING - Huawei Cloud Auto Scaling
  • HUAWEICLOUD_BMS - Huawei Cloud Bare Metal Server (BMS)
  • HUAWEICLOUD_CBR - Huawei Cloud Backup and Recovery (CBR)
  • HUAWEICLOUD_CDN - Huawei Cloud Content Delivery Network (CDN)
  • HUAWEICLOUD_CFW - Huawei Cloud Firewall (CFW)
  • HUAWEICLOUD_DCAAS - Huawei Cloud Direct Connect
  • HUAWEICLOUD_DCAAS_HISTORY - Huawei Cloud Direct Connect Historical Connection
  • HUAWEICLOUD_DCAAS_VINTF - Huawei Cloud Direct Connect Virtual Interface
  • HUAWEICLOUD_DCS - Huawei Cloud Distributed Cache Service (DCS)
  • HUAWEICLOUD_DDS - Huawei Cloud Document Database Service (DDS)
  • HUAWEICLOUD_DMS_RABBITMQ - Huawei Cloud Distributed Message Service for RabbitMQ
  • HUAWEICLOUD_DMS_ROCKETMQ - Huawei Cloud Distributed Message Service for RocketMQ
  • HUAWEICLOUD_ECS - Huawei Cloud Elastic Cloud Server (ECS)
  • HUAWEICLOUD_EIP - Huawei Cloud Elastic IP (EIP)
  • HUAWEICLOUD_ER - Huawei Cloud Enterprise Router
  • HUAWEICLOUD_EVS - Huawei Cloud Elastic Volume Service (EVS)
  • HUAWEICLOUD_FUNCTIONGRAPH - Huawei Cloud FunctionGraph
  • HUAWEICLOUD_GAUSSDB - Huawei Cloud GaussDB (for MySQL)
  • HUAWEICLOUD_GAUSSDBV5 - Huawei Cloud GaussDB (for openGauss)
  • HUAWEICLOUD_KAFKA - Huawei Cloud Distributed Message Service for Kafka
  • HUAWEICLOUD_NAT - Huawei Cloud NAT Gateway
  • HUAWEICLOUD_NOSQL_CASSANDRA - Huawei Cloud GeminiDB Cassandra API
  • HUAWEICLOUD_NOSQL_MONGO - Huawei Cloud GeminiDB Mongo API
  • HUAWEICLOUD_NOSQL_REDIS - Huawei Cloud GeminiDB Redis API
  • HUAWEICLOUD_OBS - Huawei Cloud Object Storage Service (OBS)
  • HUAWEICLOUD_RDS_MYSQL - Huawei Cloud Relational Database Service for MySQL
  • HUAWEICLOUD_RDS_POSTGRESQL - Huawei Cloud Relational Database Service for PostgreSQL
  • HUAWEICLOUD_RDS_SQLSERVER - Huawei Cloud Relational Database Service for SQL Server
  • HUAWEICLOUD_SFS - Huawei Cloud Scalable File Service (SFS)
  • HUAWEICLOUD_SFS_TURBO - Huawei Cloud Scalable File Service Turbo
  • HUAWEICLOUD_VPC - Huawei Cloud Virtual Private Cloud (VPC)
  • HUAWEICLOUD_VPCEP - Huawei Cloud VPC Endpoint (VPCEP)
  • HUAWEICLOUD_VPN - Huawei Cloud Virtual Private Network (VPN)
  • HUAWEICLOUD_WAF - Huawei Cloud Web Application Firewall (WAF)

Sample Request

http://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=HuaweiCloud&displayname=HuaweiCloudMonitor&accessKey=jjjjkkkkklllllllmmmmmm&Password=tttttuuuuuvvvvvwwwwxxxxx&ProjectId=MyHuaweiCloudProject&HuaweiServices=HUAWEICLOUD_ECS,HUAWEICLOUD_OBS

Loved by customers all over the world

"Standout Tool With Extensive Monitoring Capabilities"

★★★★★

It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.

Reviewer Role: Research and Development

carlos-rivero
"I like Applications Manager because it helps us to detect issues present in our servers and SQL databases."
Carlos Rivero

Tech Support Manager, Lexmark

Trusted by thousands of leading businesses globally