Schedule demo

AddMonitor APIs - Virtualization


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

Supported HTTP methods: POST

Allowed roles: Administrator

Citrix Virtual Apps and Desktop

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=CitrixVirtualAppsAndDesktop &displayname=[DISPLAYNAME]&host=[HOST]&port=[PORT]&authentication=[SQL/Windows]&username=[USERNAME]&password=[PASSWORD]&DBName=[Database Name]&encryption=[true/false]&driverType=[jtdsjdbcdriver/microsoftjdbcdriver]&namedInstance=[true/false]&instance=[Instance Name]

Request Parameters

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

FieldDescription
apikeyThe key generated from the Generate API Key option in the 'Admin' tab.
typeThe type of the monitor you want to add. The value should be CitrixVirtualAppsAndDesktop.
hostThe name of the host where the MS SQL server for Citrix Virtual Apps and Desktop is running.
portThe port number where the MS SQL server for Citrix Virtual Apps and Desktop is running.
displaynameThe display name of the monitor.
usernameThe user name of the user who has permission to access the MS SQL database.
passwordThe password of the user who has permission to access the MS SQL database.
authenticationThe type of authentication used. (SQL or Windows)
encryptionIf 'Force Encryption' is enabled in the server, this value will be true. (Possible values:true or false)
driverTypeThe type of driver required for connecting to the database for data collection. (microsoftjdbcdriver or jtdsjdbcdriver)
namedInstanceIf you want to connect using a Named Instance, set the value as true. (Possible values:true or false)
instanceThe name of the instance. Applicable only when the value of namedInstance parameter is true.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=CitrixVirtualAppsAndDesktop &displayname=CitrixVAD&host=apm-vad&port=1433&authentication=SQL&username=admin&password=appman&DBName=dbname123&encryption=false&driverType=microsoftjdbcdriver&namedInstance=false

VMware ESX/ESXi Server

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=[TYPE]&displayname=[DISPLAYNAME]&host=[HOST]&port=[PORT]&username=[USERNAME]&password=[PASSWORD]&addtoGroup=[ADDTOGROUP]&groupID=[GROUPID]&monitorvms=[MONITORVMS]&credentialID=[CREDENTIAL_ID]&DiscoveryFilterRegex=[DiscoveryFilterRegex]&version=[VERSION]&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 VMware ESX/ESXi.
hostThe name of the host where the VMWare ESX/ESXi server is running.
portThe port number where the VMware ESX/ESXi server is running.
usernameThe user name of the VMware ESX/ESXi server.
passwordThe password of the VMware ESX/ESXi server.
addtoGroupDenotes if the monitor should be added to monitor group. Value is either true or false
groupIDThe monitor group ID
monitorvms

Indicates the way how the virtual machines of the ESXi server are to be monitored. Possible values are:

  • no - VMs will not be discovered.
  • onlyavailability - VMs will be discovered but the metrics will not be monitored. (Will not count for licensing)
  • yes - VMs will be discovered and monitored.
DiscoveryFilterRegex (optional)The Discovery Filter Regex based on which the virtual machines are to be discovered and monitored.
discoverIntervalThe time interval for automatically discovering and monitoring child monitors in minutes.
versionSpecifies the version of the cryptographic protocol used to secure communication between client and server. Possible values: SSL/ TLSv1/ TLSv1.1/ TLSv1.2

Sample Request

  • https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=VMWare ESX/ESXi&displayname=vnwgroup&host=esx-2&port=443&username=admin&password=appman&addToGroup=true&groupID=10000024&monitorvms=onlyavailability&DiscoveryFilterRegex=VIRTUALMACHINE_NAME=test.*&version=[SSL]&discoverInterval=[INTERVAL]
  • https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=VMWare ESX/ESXi&displayname=vnwgroup&host=esx-2&port=443&addToGroup=true&groupID=10000024&monitorvms=onlyavailability&credentialID=3&DiscoveryFilterRegex=VIRTUALMACHINE_NAME=test.*&version=[SSL]&discoverInterval=[INTERVAL]

Microsoft Hyper-V Server

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=[TYPE]&host=[HOST]&displayname=[DISPLAYNAME]&password=[PASSWORD]&addvms=[ADDVMS]&username=[USERNAME]&Version=[VERSION]&Kerberos=[true/false]&DiscoveryFilterRegex=[DiscoveryFilterRegex]&discoverInterval=[INTERVAL]

Request Parameters

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

FieldDescription
typeThe type of the monitor you want to add. Value should be Hyper-V Server.
hostThe name of the host where the Hyper-V server is running.
passwordThe password of the Hyper-V server.
addvms

Indicates the way how the virtual machines (VMs) of the Hyper-V server are to be monitored. Possible values are:

  • no - VMs will not be discovered.
  • onlyavailability - VMs will be discovered but the metrics will not be monitored. (Will not count for licensing)
  • yes - VMs will be discovered and monitored.
usernameThe user name of the Hyper-V server.
VersionThe version of your Microsoft Hyper-V Server. Possible values are 2008, 2012, 2016 or 2019.
KerberosOption to enable Kerberos authentication. Possible values are either true or false.
DiscoveryFilterRegex(Optional ) The Discovery Filter Regex based on which the virtual machines are to be discovered and monitored. Example value: VIRTUALMACHINE_NAME=prod.*.
discoverIntervalInterval for automatically discovering and monitoring virtual machines on the Hyper-V server.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Hyper-V Server&host=amp-w2k8-64&displayname=apmhyperv&username=admin&password=appman&addvms=yes&Version=2008&Kerberos=true&DiscoveryFilterRegex=VIRTUALMACHINE_NAME=prod.*&discoverInterval=15

Citrix Hypervisor (XenServer)

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=[TYPE] &host=[HOST]&displayname=[DISPLAYNAME]&username=[USERNAME]&password=[PASSWORD]&port=[PORT]&credentialID=[ CREDENTIALID ]&addvms=[ADDVMS]&addToGroup=[TRUE/FALSE]&groupID=[GROUPID]&monitorvms=[AVAILABILITY]&DiscoveryFilterRegex=[DiscoveryFilterRegex]&discoverInterval=[INTERVAL]

Request Parameters

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

FieldDescription
typeThe type of the monitor you want to add. Value should be XenServerHost.
hostThe name of the host where the XenServerHost is running.
passwordThe password of the XenServerHost
addvmsDenotes whether the performance metrics of VMs should be collected. Value is either yes or no
usernameThe user name of the XenServerHost
addToGroupDenotes if the monitor should be added to monitor group. Value is either true or false
groupIDThe monitor group ID.
monitorvmsIndicates the way the virtual machines are to be monitored. Possible values are no, yes and onlyavailability.The value no means the VMs will not be discovered. The value yes indicates that the VMs will be discovered and monitored. The value onlyavailability indicates that the VMs will be discovered but the metrics will not be monitored (will not count for licensing).
DiscoveryFilterRegex(Optional ) The Discovery Filter Regex based on which the virtual machines are to be discovered and monitored. Example value: VIRTUALMACHINE_NAME=prod.*.
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=XenServerHost&host=192.18.3.75&displayname=newxen&username=admin&password=appman&addvms=yes&monitorvms=yes&DiscoveryFilterRegex=VIRTUALMACHINE_NAME=prod.*&discoverInterval=10
  • https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee &type=XenServerHost&host=192.18.3.75&displayname=newxen&addvms=yes&monitorvms=yes&credentialID=1&DiscoveryFilterRegex=VIRTUALMACHINE_NAME=prod.*&discoverInterval=10

XenApp

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=[TYPE] &host=[HOST]&displayname=[DISPLAYNAME]&UserName =[USERNAME]&Password=[PASSWORD]&Version=[VERSION]

Request Parameters

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

FieldDescription
apikeyThe key generated from the Generate API Key option in the 'Admin' tab.
typeThe type of the monitor you want to add. The value should be XenApp.
hostThe name of the host where the XenApp Server is running.
displaynameThe display name of the monitor.
UserNameThe user name of the XenApp server host machine.
passwordThe password of the XenApp server host machine.
versionThe version of XenApp.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=XenApp&host=192.18.3.75&displayname=XenAppServer&UserName =admin&Password=appman&Version=7.6

vCenter

Syntax

  • https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=[TYPE]
    &displayname=[DISPLAYNAME]&host=[HOST]&port=[PORT]&username=[USERNAME]&password=[PASSWORD]&pollInterval=[POLL INTERVAL]&addtoGroup=[ADDTOGROUP]&groupID=[GROUPID]&discoverVM=[DISCOVER VMS]&sslVersion=[SSL VERSION]&discoveryFilterRegex=[discoveryFilterRegex]
  • https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=[TYPE]
    &displayname=[DISPLAYNAME]&host=[VC HOST]&port=[VC PORT]&username=[USERNAME]&password=[PASSWORD]&pollInterval=[POLL INTERVAL]&discoverVM=[DISCOVER VMS]&sslVersion=[SSL VERSION]&isHostDCViaVC=[on/off]&discoveryFilterRegex=[discoveryFilterRegex]

Request Parameters

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

FieldDescription
typeThe type of the monitor you want to add. Value should be vCenter.
hostThe name of the host where vCenter is running.
portThe port number where the vCenter is running.
usernameThe user name of the vCenter server.
passwordThe password of the vCenter server.
addtoGroupDenotes if the monitor should be added to monitor group. Value is either true or false
isHostDCViaVCSpecifies if data collection should happen using vCenter credentials or not. Value can be on or off. (Optional parameter).
discoverVM

Indicates the way how the virtual machines (VMs) of the vCenter are to be monitored. Possible values are:

  • 0 - VMs will not be discovered.
  • 1 - VMs will be discovered but the metrics will not be monitored. (Will not count for licensing)
  • 2 - VMs will be discovered and monitored.
sslVersionSpecify the version of SSL configured for the vCenter. The values can one of the following: SSLv3, TLSv1, TLSv1.1 or TLSv1.2. Default value will be TLSv1.2.
discoveryFilterRegex (optional)The discovery Filter Regex based on which the virtual machines are to be discovered and monitored.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=vCenter&displayname=vctest&host=vcenter&port=443&username=admin&password=appman&pollInterval=10&discoverVM=2&sslVersion=TLSv1.2&isHostDCViaVC=true&discoveryFilterRegex=VIRTUALMACHINE_NAME=test.*

Docker

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=[TYPE]&displayname=[DISPLAYNAME]&host=[HOST]&port=[PORT]&username=[USERNAME]&password=[PASSWORD]&sslenabled=[SSL Enabled]&isAllContainerEnabled=[All Container Enabled]&isCertificateEnabled=[Certificate Enabled]&clientCertName=[Client Certificate Name]&keystorePassword=[Client Certificate Password]&AdvancedSettings=[true/false]&DeletedResourceAction=[Unmanage/Delete]&discoverInterval=[INTERVAL]

Request Parameters

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

FieldDescription
typeThe type of the monitor you want to add. Value should be Docker.
hostThe name of the host where Docker is running.
portThe port number where Docker is running.
usernameThe user name of the Docker server.
passwordThe password of the Docker server.
sslenabledOption to enable SSL. Possible values are either true or false.
isAllContainerEnabledOption to discover and monitor all the containers that are available under the Docker server. Possible values are either true or false.
isCertificateEnabledOption to enable Client Certificate Authentication for the Docker server you want to monitor. Possible values are either true or false.
clientCertNameName of the Client Certificate.
keystorePasswordPassword used for the Client Certificate.
AdvancedSettingsOption to enable advanced settings. (true or false)
DeletedResourceActionOption to perform action on deleted Docker resources. (Delete or Unmanage)
DiscoveryFilterRegexThe Discovery Filter Regex based on which the containers are to be discovered and monitored.
discoverIntervalInterval for automatically discovering and monitoring Docker containers.

Sample Request

Without Certificate:

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Docker&displayname=docker&host=testing&port=4243&username=admin&password=appman&isSSLEnabled=false&isAllContainerEnabled=true&isCertificateEnabled=false&AdvancedSettings=true&DeletedResourceAction=Delete&discoverInterval=15

With Certificate:

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Docker&displayname=docker&host=testing&port=4243&username=admin&password=appman&isSSLEnabled=true&isAllContainerEnabled=true&isCertificateEnabled=true&clientCertName=abcd&keystorePassword=kappman&AdvancedSettings=true&DeletedResourceAction=Unmanage&discoverInterval=15

Docker Swarm

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=DockerSwarm&displayname=[DISPLAYNAME]&host=[HOST]&port=[PORT]&username=[USERNAME]&password=[PASSWORD]&sslenabled=[SSL Enabled]&AdvancedSettings=[true/false]&DiscoveryFilterRegex=[REGEX]&pollInterval=[POLL INTERVAL]

Request Parameters

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

FieldDescription
typeThe type of the monitor you want to add. Value should be DockerSwarm.
displaynameA user-defined name to identify the Docker Swarm monitor.
hostThe host name or IP address of the server where the Docker Swarm Manager is running.
portThe port used to access the Docker Swarm REST API.
usernameThe user name used to authenticate with the Docker Swarm REST API.
passwordThe password used to authenticate with the Docker Swarm REST API.
sslenabledOption to enable SSL for REST API communication. Possible values are true or false.
AdvancedSettingsOption to enable advanced discovery and filtering settings. Possible values are true or false.
DiscoveryFilterRegexRegex pattern used to filter and discover containers based on attributes such as container state or name.
pollIntervalPolling interval (in minutes) at which Docker Swarm metrics are collected.

Sample Request

Without SSL:

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=DockerSwarm&displayname=docker-swarm&host=swarm-manager&port=2375&username=admin&password=appman&sslenabled=false&AdvancedSettings=true&DiscoveryFilterRegex=CONTAINER_STATE=running&pollInterval=5

With SSL:

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=DockerSwarm&displayname=docker-swarm&host=swarm-manager&port=2376&username=admin&password=appman&sslenabled=true&AdvancedSettings=true&DiscoveryFilterRegex=CONTAINER_STATE=running&pollInterval=5

Kubernetes

Syntax

http://[Host]:[Port]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=[TYPE] &displayname=[DISPLAYNAME]&host=[HOST]&port=[PORT]&username=[USERNAME]&password=[PASSWORD]&mode=SSH&sshPKAuth=[true/false]&filterEnabled=[true/false]&filterCondition=[include/exclude]&NamespaceName=[default]&EventLog=[true/false]&prompt=[Prompt]&timeout=[Timeout in Sec]

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

FieldDescription
typeThe type of the monitor you want to add. Value should be Kubernetes.
hostThe name of the host where the Kubernetes cluster is running.
portThe port number where Kubernetes is running.
usernameThe user name of the Kubernetes cluster.
passwordThe password of the Kubernetes cluster.
modeThe mode through which Kubernetes can be accessed.
sshPKAuthenable Public Key Authentication (Supported for SSH2 only), the SSH Key for SSH authentication.
EventLogOption to enable Event log monitoring. (true or false)
promptSpecify the command prompt value, which is the last character in your command prompt. Default value is $ and possible values are >, #, etc.
timeoutThe time out value in seconds.
filterEnabledOption to Monitor Specific Namespace(s) in Kubernetes server. (true or false)
filterConditionFiltering condition to monitor specific namespace(s) in Kubernetes server. (include or exclude)
NamespaceNameName of the namespace(s) to be included/excluded, separated by commas.

Sample Request

http://prod-server5:9090/AppManager/xml/AddMonitor?apikey=0b0e064274e52eead3d1cabdd5ceee04&type=Kubernetes&displayname=kubemaster&host=kubemaster&port=22&username=test&password=test&mode=SSH&sshPKAuth=false&prompt=$&timeout=40&filterEnabled=true&filterCondition=include&NamespaceName=default&EventLog=true

Red Hat Virtualization (RHV)

Syntax

http://[ Host ]:[ Port ]/AppManager/xml/AddMonitor?apikey=[ API KEY ]&type=[ TYPE ]&displayname=[ DISPLAY NAME ]&host=[ HOST NAME ]&port=[ PORT ]&username=[ USERNAME ]&password=[ PASSWORD ]&pollInterval=[ POLL INTERVAL ]&timeout=[ TIMEOUT ]&discoveryFilterRegex=[discoveryFilterRegex] &discoverVM=[ DISCOVER VM ]

Request Parameters

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

ParameterDescription
typeThe type of monitor you want to add. The value should be RHEV.
hostThe name of the host where the RHV server is running.
portThe port number where the RHV server is running.
usernameThe user name of the RHV server.
passwordThe password of the RHV server.
discoveryFilterRegex(Optional ) The discovery Filter Regex based on which the virtual machines are to be discovered and monitored. Example value: VIRTUALMACHINE_NAME=prod.*.
discoverVM

Indicates the way how the virtual machines of the RHV server are to be monitored. Possible values are:

  • 1 - Discover the virtual machines in Unmanaged state, and monitor only the health and availability of VMs.
  • 2 - Discover the virtual machines in Managed state and monitor all the defined metrics.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=RHEV&displayname=rhevtest&host=apm-host&port=443&username=admin&password=appman&pollInterval=5&timeout=300&discoveryFilterRegex=VIRTUALMACHINE_NAME=prod.*&discoverVM=2

Kernel-based Virtual Machine (KVM)

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[ APIKEY ]&type=[ TYPE ]&HostName=[ HOSTNAME ]&displayname=[ DISPLAYNAME ]&mode=[ MODE ]&snmptelnetport=[ PORT ]&username=[ USERNAME ]&password=[ PASSWORD ]&timeout=[ TIMEOUT ]&AddVMS=[ DISCOVERVMs ]&DiscoveryFilterRegex=[DiscoveryFilterRegex]&discoverInterval=[INTERVAL]

With Credential Manager

Telnet Mode:

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[ APIKEY ]&type=[ TYPE ]&HostName=[ HOSTNAME ]&displayname=[ DISPLAYNAME ]&mode=TELNET&snmptelnetport=[ PORT ]&credentialID=[ CREDENTIALID ]&timeout=[ TIMEOUT ]&AddVMS=[ DISCOVERVMs ]&TelnetCredentialDetails=cmTelnet&DiscoveryFilterRegex=[DiscoveryFilterRegex]&discoverInterval=[INTERVAL]

SSH Mode:

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[ APIKEY ]&type=[ TYPE ]&HostName=[ HOSTNAME ]&displayname=[ DISPLAYNAME ]&mode=SSH&snmptelnetport=[ PORT ]&credentialID=[ CREDENTIALID ]&timeout=[ TIMEOUT ]&AddVMS=[ DISCOVERVMs ]&SSHCredentialDetails=cmSSH&DiscoveryFilterRegex=[DiscoveryFilterRegex] &discoverInterval=[INTERVAL]

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

ParameterDescription
typeThe type of monitor you want to add. The value should be KVM.
HostNameThe name of the host where the KVM server is running.
modeThe mode of monitoring for the KVM server. Possible values are SSH and TELNET.
snmptelnetportThe port number where the KVM server is running.
usernameThe user name of the KVM server.
passwordThe password of the KVM server.
AddVM

Indicates the way how the virtual machines (VMs) of the KVM server are to be monitored. Possible values are:

  • 0 - VMs will not be discovered.
  • 1 - VMs will be discovered but the metrics will not be monitored. (Will not count for licensing)
  • 2 - VMs will be discovered and monitored.
DiscoveryFilterRegex(Optional ) The Discovery Filter Regex based on which the virtual machines are to be discovered and monitored. Example value: VIRTUALMACHINE_NAME=prod.*.
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=KVM&HostName=kvm-server&displayname=kvm&mode=TELNET&snmptelnetport=23&username=admin&password=appman&timeout=40&AddVMS=2&DiscoveryFilterRegex=VIRTUALMACHINE_NAME=prod.*&discoverInterval=15

With Credential Manager

Telnet Mode:

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=KVM&HostName=kvm-server&displayname=kvm&mode=TELNET&snmptelnetport=23&credentialID=3&timeout=40&AddVMS=2&TelnetCredentialDetails=cmTelnet&DiscoveryFilterRegex=VIRTUALMACHINE_NAME=prod.*&discoverInterval=15

SSH Mode:

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=KVM&HostName=kvm-server&displayname=kvm&mode=SSH&snmptelnetport=23&credentialID=3&timeout=40&AddVMS=2&SSHCredentialDetails=cmSSH&DiscoveryFilterRegex=VIRTUALMACHINE_NAME=prod.*&discoverInterval=15

OpenShift

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=OpenShift &displayname=[DISPLAYNAME]&host=[HOST]&port=[PORT]&username=[USERNAME]&password=[PASSWORD]&mode=SSH&sshPKAuth=[true/false]&prompt=[Prompt]&OSUsername=[OpenShift Username]&OSPassword=[OpenShiftPassword]&timeout=[Timeout in Sec]&apiMode=[true/false]&OSPort=[OS Port]&OSToken=[Service Account Token]&filterEnabled=[true/false]&filterCondition=[include/exclude]&ProjectName=[Project Name]

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

ParameterDescription
typeType of monitor. Value should be OpenShift.
displaynameDisplay name of the monitor
hostName of the machine at which it is hosted on.
portThe port number where OpenShift is running.
usernameThe user name of the host server.
passwordThe password of the host server.
modeMode of authentication. Value should be SSH.
sshPKAuthWhether SSH2 is enabled. Value should be true or false.
promptSpecify the command prompt value, which is the last character in your command prompt.
OSUsernameThe user name of the OpenShift server.
OSPasswordThe password of the OpenShift server.
apiModeOption to collect major metrics of Openshift environment through REST API. Possible values are either true or false.
OSPortPort of the OpenShift server.
OSTokenService account token of the OpenShift server administrator user.
filterEnabledOption to Monitor Specific Project(s) in OpenShift server. (true or false)
filterConditionFiltering condition to monitor specific project(s) in OpenShift server. (include or exclude)
ProjectNameName of the project(s) to be included/excluded, separated by commas.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=OpenShift&displayname=openshift&host=openshift&port=22&username=admin&password=appman&mode=SSH&sshPKAuth=false&prompt=$&OSUsername=admin&OSPassword=admin&timeout=40

With Credential ID:

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=OpenShift&displayname=openshift&host=openshift&port=22&mode=SSH&credentialID=1&OSUsername=osadmin&OSPassword=osappman&timeout=40

Collecting major metrics through REST API:

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=OpenShift&displayname=openshift&host=openshift&port=22&username=admin&password=appman&mode=SSH&sshPKAuth=false&prompt=$&OSUsername=osadmin&OSPassword=osappman&timeout=40&apiMode=true&OSPort=8443&OSToken=aaaaaabbbbbbccccccddddddeeeeee

Monitoring specific project(s):

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=OpenShift&displayname=openshift&host=openshift&port=22&mode=SSH&credentialID=1&OSUsername=admin&OSPassword=admin&timeout=40&filterEnabled=true&filterCondition=include&ProjectName=proj1,proj2,proj3

Oracle VM (OVM)

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[API KEY]&type=[TYPE]&displayname=[DISPLAY NAME]&host=[HOST NAME]&port=[PORT]&username=[USERNAME]&password=[PASSWORD]&pollInterval=[POLL INTERVAL]&discoverVM=[DISCOVER VM]&credentialID=[CREDENTIAL ID]&timeout=[TIMEOUT]&discoveryFilterRegex=[discoveryFilterRegex]&discoverInterval=[INTERVAL]

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

ParameterDescription
typeThe type of monitor you want to add. The value should be OVM.
hostThe name of the host where the OVM server is running.
portThe port number where the OVM server is running.
usernameThe user name of the OVM server.
passwordThe password of the OVM server.
discoverVM

Indicates the way how the virtual machines (VMs) of the OVM server are to be monitored. Possible values are:

  • 0 - VMs will not be discovered.
  • 1 - VMs will be discovered but the metrics will not be monitored. (Will not count for licensing)
  • 2 - VMs will be discovered and monitored.
timeoutThe server connection timeout value of Oracle VM Manager in seconds.
discoveryFilterRegex(Optional ) The discovery Filter Regex based on which the virtual machines are to be discovered and monitored. Example value: VIRTUALMACHINE_NAME=prod.*.
discoverIntervalInterval for automatically discovering and monitoring virtual machines.

Sample Request

  • https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=OVM&displayname=ovmmanager&host=172.24.158.227&port=7002&username=admin&password=appman&pollInterval=2&discoverVM=2&timeout=300&discoveryFilterRegex=VIRTUALMACHINE_NAME=prod.*&discoverInterval=15
  • https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=OVM&displayname=ovmmanager&host=172.24.158.227&port=7002&pollInterval=2&discoverVM=2&timeout=300&discoveryFilterRegex=VIRTUALMACHINE_NAME=prod.*&discoverInterval=15&credentialID=1

Podman

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=Podman&displayname=[DISPLAYNAME]&host=[HOST]&port=[REST_API_PORT]&ssl=[SSL]&username=[USERNAME]&password=[PASSWORD]&timeout=[TIMEOUT]&pollinterval=[POLLING_INTERVAL]

Request Parameters

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

FieldDescription
apikeyThe key generated using the Generate API Key option in the Admin tab.
typeThe type of monitor to be added. The value should be Podman.
displaynameThe display name for the Podman monitor.
hostThe host name or IP address of the server where the Podman service is running.
portThe REST API port used to access Podman. The default value is 8080.
sslSpecifies whether SSL is enabled for REST API communication. Accepted values are true or false.
usernameThe user name used to authenticate with the Podman Remote REST API (required if authentication is enabled).
passwordThe password corresponding to the provided user name.
timeoutThe timeout value (in seconds) for REST API communication.
pollintervalThe polling interval (in minutes) at which Podman metrics are collected.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Podman&displayname=Podman-Server&host=192.168.1.25&port=8080&ssl=false&username=admin&password=appman&timeout=30&pollinterval=5

VMware Horizon View Connection Broker

You can add the VMware Horizon View Connection Broker monitor in the following two ways:

  • Add VMware Horizon View as a new monitor group (New Monitor Group --> VMware Horizon View).This will discover all the components in the Horizon View Set up including View Connection Broker.

    Syntax

    https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=VMwareView&displayname=[DISPLAYNAME]&host=[HOST]&username=[USERNAME]&password=[PASSWORD]&pollInterval=[POLL INTERVAL]&version=[VERSION OF CONNECTION SERVER]

    Sample Request

    https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=VMwareView&displayname=HorizonView&host=172.18.144.52&username=vmwarehzview\admin&password=appman&pollInterval=5&version=8.x

     

  • Add VMware Horizon View Connection Broker as a new monitor(New Monitor --> VMware Horizon View Connection Broker). This will discover View Connection Broker alone.

    Syntax

    https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=ViewConnectionBroker&displayname=[DISPLAYNAME]&host=[HOST]&username=[USERNAME]&password=[PASSWORD]&pollInterval=[POLL INTERVAL]&addtoGroup=[TRUE/FALSE]&groupID=[GROUPID]&version=[VERSION OF CONNECTION SERVER]

    Sample Request

    https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=ViewConnectionBroker&displayname=ViewBroker&host=172.18.144.52&username=vmwarehzview\appman&password=appman&pollInterval=5&addtoGroup=true&groupID=10000028&version=7.13

Request Parameters

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

FieldDescription
typeThe type of the monitor you want to add. Value should be VMwareView or ViewConnectionBroker.
hostThe name of the host where the VMware Horizon View server is running.
usernameThe user name of your VMware server.
passwordThe password of your VMware server.
versionApplicable version of the Horizon Connection Server are 7.x, 7.13, 8.x.

Veeam Enterprise Manager

Syntax

https://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=VeeamEnterpriseManager&displayname=[DISPLAYNAME]&host=[HOST]&port=[REST_API_PORT]&username=[USERNAME]&password=[PASSWORD]&pollinterval=[POLLING_INTERVAL]

Request Parameters

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

FieldDescription
apikeyThe API key generated for connecting to Applications Manager under Settings tab -> REST API.
typeThe type of monitor to be added. The value should be VeeamEnterpriseManager.
displaynameThe display name for the Veeam Enterprise Manager monitor.
hostThe host name or IP address of the server where the Veeam Enterprise Manager is running.
portThe REST API port used to access Veeam Enterprise Manager. The default value is 9398.
usernameThe username of the Veeam Enterprise Manager.
passwordThe password of the Veeam Enterprise Manager.
pollintervalThe polling interval (in minutes) at which Veeam Enterprise Manager metrics are collected.

Sample Request

https://apm-prod-server:8443/AppManager/xml/AddMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=VeeamEnterpriseManager&displayname=Veeam-Monitor&host=veeam.host&port=9398&username=admin&password=appman&pollinterval=5

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