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]

Request Parameters

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

FieldDescription
typeThe type of the monitor you want to add. Value should be Amazon
AmazonServicesThe 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)
  • AmazonCloudFront (for Amazon CloudFront)
  • AmazonCloudHSM (for Amazon CloudHSM)
  • AmazonDirectConnect (for Amazon Direct Connect)
  • AmazonDirectConnectVIF (for Amazon Direct Connect — Virtual Interface)
  • AmazonDMSReplicationInstance (for Amazon Database Migration Service - Instance)
  • AmazonDMSReplicationTask (for Amazon DMS Migration Service - Task)
  • AmazonElasticContainerRegistry (for Amazon Elastic Container Registry)
  • AmazonElasticFileSystem (for Amazon Elastic File System)
  • AmazonFileTransferFamily (for Amazon File Transfer Family)
  • AmazonFSxFileCache (for Amazon FSx File Cache)
  • AmazonGatewayLoadBalancer (for Amazon Gateway Load Balancer)
  • AmazonKeyManagementService (for Amazon Key Management Service)
  • AmazonMSKCluster (for Amazon MSK Cluster)
  • AmazonRabbitMQ (for AmazonMQ - RabbitMQ)
  • 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)
  • AmazonVPCLattice (for AWS VPC Lattice)
  • AmazonVpcNatGateway (for Amazon Vpc Nat Gateway)
  • AmazonWebApplicationFirewall (for Amazon Web Application Firewall)
  • AWSClientVPN (for AWS Client VPN)
  • AWSElasticIP (for Amazon Elastic IP)
  • 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)
  • 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)
  • DYNAMODB,EC2,RDS,S3,SNS,ALB,NLB,SQS,LAMBDA,BEANSTALK,AmazonCloudFront,AmazonElasticFileSystem,ECS,EKS (for multiple services)
accessKeyThe access Key ID of the AWS account with API access.

Note: Click here to know more about access keys.

SecretAccessKeyThe secret access key of the accessKey for the AWS account.
AccountTypeThe 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 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 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 discovery of resources under 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)
  • AmazonCloudFront (for Amazon CloudFront)
  • AmazonCloudHSM (for Amazon CloudHSM)
  • AmazonDirectConnect (for Amazon Direct Connect)
  • AmazonDirectConnectVIF (for Amazon Direct Connect — Virtual Interface)
  • AmazonDMSReplicationInstance (for Amazon Database Migration Service - Instance)
  • AmazonDMSReplicationTask (for Amazon DMS Migration Service - Task)
  • AmazonElasticContainerRegistry (for Amazon Elastic Container Registry)
  • AmazonElasticFileSystem (for Amazon Elastic File System)
  • AmazonFileTransferFamily (for Amazon File Transfer Family)
  • AmazonFSxFileCache (for Amazon FSx File Cache)
  • AmazonGatewayLoadBalancer (for Amazon Gateway Load Balancer)
  • AmazonKeyManagementService (for Amazon Key Management Service)
  • AmazonMSKCluster (for Amazon MSK Cluster)
  • AmazonRabbitMQ (for AmazonMQ - RabbitMQ)
  • 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)
  • AmazonVPCLattice (for AWS VPC Lattice)
  • AmazonVpcNatGateway (for Amazon Vpc Nat Gateway)
  • AmazonWebApplicationFirewall (for Amazon Web Application Firewall)
  • AWSClientVPN (for AWS Client VPN)
  • AWSElasticIP (for Amazon Elastic IP)
  • 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)
  • 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)
  • DYNAMODB,EC2,RDS,S3,SNS,ALB,NLB,SQS,LAMBDA,BEANSTALK,AmazonCloudFront,AmazonElasticFileSystem,ECS,EKS (for multiple services)
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,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,AWSStepFunction,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

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.

FieldDescription
displaynameDisplay name of the monitor.
typeType of monitor to be added. The value should be GoogleCloudPlatform.
GCPServicesGoogle Cloud Services like Compute, Storage, Filestore, etc. Available services are ComputeEngine, CloudStorage, CloudFilestore and KubernetesEngine.
ProjectIDUnique ID of the project to be monitored.
providerName of the OAuth Provider created in Applications Manager. Refer here for steps to add new OAuth Provider.
advancedsettingsEnables additional settings. Possible values are either True or False
deletedresourceactionActions to be performed on the resources deleted in GCP console. If this parameter is not used, by default it is 'Alert'. Possible values - Alert/Stop/Unmanage/Delete
stopdiscoveryPrevents discovery of resources under chosen service. Possible values are either True or False
servicestostopdiscoveryServices 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.

FieldDescription
typeThe type of the monitor you want to add. Value should be Office365.
Office365TenantNameThe tenant name used by the Microsoft 365 subscription.
Office365Useremail*The Microsoft 365 user email with admin privileges.
Office365Password*The Microsoft 365 user account password.
Office365ServicesRequired services to monitor. Supported services are "ExchangeOnline,SharepointOnline,MicrosoftTeams"
TimeoutThe Timeout interval in seconds.
ServiceHealthOption 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 created.

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.

FieldDescription
typeThe type of the monitor you want to add. Value should be Office365.
Office365TenantNameThe tenant name used by the Microsoft 365 subscription.
Office365ServicesRequired 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 created.
UsePowerShellTo 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.
TimeoutThe Timeout interval in seconds.
discoverIntervalThe 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 monitor using Mode 1 (AD Application & Service Principal):

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=MicrosoftAzure&displayname=[DISPLAYNAME]&SubscriptionID=[SUBSCRIPTIONID]&AzureServices=[SERVICES]&AzureAccountType=[AZUREACCOUNTTYPE]&DiscoveryMode=[DISCOVERYMODE]&ClientID=[CLIENTID]&TenantID=[TENANTID]&AppKey=[APPKEY]&ChildDiscovery=[unmanage/monitor/regexFilter]&DiscoveryFilterRegex=[ModuleType_Attribute=Regex]&AdvancedSettings=[True/False]&urlRetry=[True/False]&AlertResources=[True/False]&AlertSeverity=[Critical/Warning]&RaiseAlerts=[Created/Deleted/Both]&DeletedResourceAction=[Alert/Stop/Unmanage/Delete]&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.

FieldDescription
type*Type of the monitor you want to add. Value should be 'MicrosoftAzure'.
displayname*Preferred display name of the monitor.
SubscriptionID*Subcription 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
 
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 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 Azure portal.
ChildDiscoveryEnables configuration options for discovery of child monitors. Possible values are unmanage, monitor and regexFilter.
DiscoveryFilterRegex*Filters Azure Resources and adds the monitor that match 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.
AdvancedSettingsEnables advanced settings, when checked. Possible values are True or False.
urlRetryEnabling 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.

AlertResourcesEnables 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.

AlertSeverityDefines the severity level of alerts shown for resource creation and deletion in the Azure Portal. Possible values are Critical or Warning.
RaiseAlertsSpecifies 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.

DeletedResourceActionActions 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 'Alert'. Possible values are Alert/Stop/Unmanage/Delete.

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

discoverIntervalThe 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&SubscriptionID=aaaabbbb-cccc-dddd-eeee-ffffgggghhhh&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.*&AdvancedSettings=true&urlRetry=True&AlertResources=True&AlertSeverity=Warning&RaiseAlerts=Both&DeletedResourceAction=Stop&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]&SubscriptionID=[SUBSCRIPTIONID]&AzureServices=[SERVICES]&AzureAccountType=[AZUREACCOUNTTYPE]&DiscoveryMode=[DISCOVERYMODE]&AzureOrgUserName=[USEREMAILOFORGANIZATIONALACCOUNT]&AzureOrgPassword=[PASSWORDOFORGANIZATIONALACCOUNT]&ChildDiscovery=[unmanage/monitor/regexFilter]&DiscoveryFilterRegex=[ModuleType_Attribute=Regex]&AdvancedSettings=[True/False]&urlRetry=[True/False]&AlertResources=True&AlertSeverity=Critical&RaiseAlerts=Created&DeletedResourceAction=[Alert/Stop/Unmanage/Delete]&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.

FieldDescription
type*Type of the monitor you want to add. Value should be 'MicrosoftAzure'.
displayname*Preferred display name of the monitor.
SubscriptionID*Subcription 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
 
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 Azure portal.
AzureOrgPassword*Password of the organizational account.
ChildDiscoveryEnables configuration options for discovery of child monitors. Possible values are unmanage, monitor and regexFilter.
DiscoveryFilterRegex*Filters Azure Resources and adds the monitor that match 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.
AdvancedSettingsEnables advanced settings, when checked. Possible values are True or False.
urlRetryEnabling 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.

AlertResourcesEnables 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.

AlertSeverityDefines the severity level of alerts shown for resource creation and deletion in the Azure Portal. Possible values are Critical or Warning.
RaiseAlertsSpecifies 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.

DeletedResourceActionActions 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 'Alert'. Possible values are Alert/Stop/Unmanage/Delete.

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

TimeoutThe timeout value, in seconds. Default value is 300.
discoverIntervalThe 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&SubscriptionID=aaaabbbb-cccc-dddd-eeee-ffffgggghhhh&AzureServices=VirtualMachines,StorageAccounts,PremiumStorageAccount,SQLDatabases,ServiceBus,KubernetesServices,SQLManagedInstance,LoadBalancer,AzurePostgreSQLServer,AzureAppService,AzureSynapseAnalytics,AzureFunctions,AzureVirtualNetwork,AzureVMScaleSets,AzureRedisCache,AzureCosmosDB,AzureMariaDBServer,AzureMySQLServer&AzureAccountType=AzureGlobal&DiscoveryMode=AzureOrgAccount&AzureOrgUserName=apmou@apmoutlook.onmicrosoft.com&AzureOrgPassword=appman&ChildDiscovery=monitor&AdvancedSettings=true&urlRetry=True&AlertResources=True&AlertSeverity=Critical&RaiseAlerts=Created&DeletedResourceAction=Unmanage&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]&SubscriptionID=[SUBSCRIPTIONID]&AzureServices=[SERVICES]&AzureAccountType=[AZUREACCOUNTTYPE]&DiscoveryMode=[DISCOVERYMODE]&OAuthVal=[OAUTHVALUE]&ChildDiscovery=[unmanage/monitor/regexFilter]&DiscoveryFilterRegex=[ModuleType_Attribute=Regex]&AdvancedSettings=[True/False]&urlRetry=[True/False]&AlertResources=[True/False]&AlertSeverity=[Critical/Warning]&RaiseAlerts=[Created/Deleted/Both]&DeletedResourceAction=[Alert/Stop/Unmanage/Delete]&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.

FieldDescription
type*Type of the monitor you want to add. Value should be 'MicrosoftAzure'.
displayname*Preferred display name of the monitor.
SubscriptionID*Subcription 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
 
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.
ChildDiscoveryEnables configuration options for discovery of child monitors. Possible values are unmanage, monitor and regexFilter.
DiscoveryFilterRegex*Filters Azure Resources and adds the monitor that match 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.
AdvancedSettingsEnables advanced settings, when checked. Possible values are True or False.
urlRetryEnabling 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.

AlertResourcesEnables 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.

AlertSeverityDefines the severity level of alerts shown for resource creation and deletion in the Azure Portal. Possible values are Critical or Warning.
RaiseAlertsSpecifies 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.

DeletedResourceActionActions 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 'Alert'. Possible values are Alert/Stop/Unmanage/Delete.

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

discoverIntervalThe 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=AzureOAuthRestAPI&SubscriptionID=aaaabbbb-cccc-dddd-eeee-ffffgggghhhh&AzureServices=VirtualMachines,StorageAccounts,PremiumStorageAccount,SQLDatabases,ServiceBus,KubernetesServices,SQLManagedInstance,LoadBalancer,AzurePostgreSQLServer,AzureAppService,AzureSynapseAnalytics,AzureFunctions,AzureVirtualNetwork,AzureVMScaleSets,AzureRedisCache,AzureCosmosDB,AzureMariaDBServer,AzureMySQLServer&AzureAccountType=AzureGlobal&DiscoveryMode=AzureOAuth&OAuthVal=10000000&ChildDiscovery=unmanage&AdvancedSettings=False&urlRetry=False&AlertResources=True&AlertSeverity=Critical&RaiseAlerts=Deleted&DeletedResourceAction=Alert&Timeout=200&discoverInterval=10

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.

FieldDescription
displaynameThe display name of the OpenStack monitor
typeThe type of the monitor you want to add. For OpenStack, it should be "OpenStack"
baseAuthURLThe Base Authentication URL for OpenStack. Eg: http://controller:5000
tenantNameThe Project Name associated with User of OpenStack account.
usernameThe Username of OpenStack account.
passwordThe Password of OpenStack account.
isProxyNeededSpecifies if a proxy is required for monitoring. Possible values are yes or no.
isProjectScopedTokenSpecifies 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.

FieldDescription
displaynameName of the Oracle Cloud monitor
typeType of monitor to be added. Value should be OracleCloud.
TenancyOCIDOracle Cloud Identifier for the tenancy.
UserIDOracle Cloud Identifier for the user.
OracleServicesType of service to be monitored. Available services are Compute, Database, OracleCloudLoadBalancer, and Storage.
PEMFilePathFile path in which the file contains the private key.
FingerprintObtained by uploading public key to the Oracle Cloud console.
RegionsToMonitorList of regions to be monitored.
stopdiscoveryPrevents discovery of resources under a particular service.
ActionOnTerminatedResourcesActions to be performed on terminated resources.
advancedsettingsEnables additional settings, when checked.
servicesToNotDiscoverServices for which discovery should not be enabled. Available services are Compute, Database, OracleCloudLoadBalancer, and Storage.
discoverIntervalThe 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,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

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 over 6000+ businesses globally