EDB Postgres Enterprise Manager REST APIs v5.0: Probe Configuration v10.2

get__probe_config_server_{server_id}_{probe_id}

Code samples

GET /probe/config/server/{server_id}/{probe_id}

Get server level probe for specified probe id.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
probe_idpathintegertrueProbe ID for which probe configuration will be returned.
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
{
  "probe_id": 0,
  "probe_name": "string",
  "default_interval_min": 0,
  "interval_min": 0,
  "default_interval_sec": 0,
  "interval_sec": 0,
  "default_interval": 0,
  "interval": 0,
  "default_lifetime": 0,
  "lifetime": 0,
  "default_enabled": true,
  "enabled": true,
  "target_type_id_returned": 0
}

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseProbes
Info

This operation does not require authentication

put__probe_config_server_{server_id}_{probe_id}

Code samples

PUT /probe/config/server/{server_id}/{probe_id}

Update server level probe configuration for specified probe id.

Body parameter

{
  "interval_min": 0,
  "interval_sec": 0,
  "lifetime": 0,
  "enabled": true
}

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
probe_idpathintegertrueProbe ID for which probe configuration will be returned.
X-Auth-TokenheaderstringtrueToken of authorization
bodybodyProbeConfigDatatruenone

Example responses

Responses

StatusMeaningDescriptionSchema
200OKStatus 200None

Response Schema

Info

This operation does not require authentication

get__probe_config_server_{server_id}_database_{database_name}_schema_{schema_name}

Code samples

GET /probe/config/server/{server_id}/database/{database_name}/schema/{schema_name}

Get all the schema level probes.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
schema_namepathstringtrueSchema Name
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {
    "probe_id": 0,
    "probe_name": "string",
    "default_interval_min": 0,
    "interval_min": 0,
    "default_interval_sec": 0,
    "interval_sec": 0,
    "default_interval": 0,
    "interval": 0,
    "default_lifetime": 0,
    "lifetime": 0,
    "default_enabled": true,
    "enabled": true,
    "target_type_id_returned": 0
  }
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
anonymous[Probes]falsenonenone
» probe_idintegerfalsenoneUnique id of the probe.
» probe_namestringfalsenoneName of the probe.
» default_interval_minintegerfalsenoneDefines default interval for the probe to collect the statistics (in minutes). Possible values are from 0 to 2880.
» interval_minintegerfalsenoneDefines how frequently the probe will collect the statistics (in minutes). Possible values are from 0 to 2880.
» default_interval_secintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds). Possible values are from 0 to 59.
» interval_secintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds). Possible values are from 0 to 59.
» default_intervalintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds).
» intervalintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds).
» default_lifetimeintegerfalsenoneDefines the default history data retention time (in days).
» lifetimeintegerfalsenoneDefines the history data retention time (in days). It does not have any effect, if 'discard_history' is set to true.
» default_enabledbooleanfalsenoneDefines the default probe enabled/disabled value.
» enabledbooleanfalsenoneDefines whether the probe is enabled/disabled by default.
» target_type_id_returnedintegerfalsenoneDefines return target type value.
  • A probe with target_type 100 is responsible for collecting statistics for an agent.
  • A probe with target_type 200 is responsible for collecting statistics for a monitored server.
  • A probe with target_type 300 is responsible for collecting statistics for a database.
  • A probe with target_type 400 is responsible for collecting statistics for a schema.
  • A probe with target_type 500 is responsible for collecting statistics for a table.
  • A probe with target_type 600 is responsible for collecting statistics for a index.
  • A probe with target_type 700 is responsible for collecting statistics for a sequence.
  • A probe with target_type 800 is responsible for collecting statistics for a function.
  • A probe with target_type 900 is responsible for collecting statistics for a view.
Info

This operation does not require authentication

get__probe_config_server_{server_id}_database_{database_name}_schema_{schema_name}_{probe_id}

Code samples

GET /probe/config/server/{server_id}/database/{database_name}/schema/{schema_name}/{probe_id}

Get schema level probe for specified probe id.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
schema_namepathstringtrueSchema Name
probe_idpathintegertrueProbe ID for which probe configuration will be returned.
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
{
  "probe_id": 0,
  "probe_name": "string",
  "default_interval_min": 0,
  "interval_min": 0,
  "default_interval_sec": 0,
  "interval_sec": 0,
  "default_interval": 0,
  "interval": 0,
  "default_lifetime": 0,
  "lifetime": 0,
  "default_enabled": true,
  "enabled": true,
  "target_type_id_returned": 0
}

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseProbes
Info

This operation does not require authentication

put__probe_config_server_{server_id}_database_{database_name}_schema_{schema_name}_{probe_id}

Code samples

PUT /probe/config/server/{server_id}/database/{database_name}/schema/{schema_name}/{probe_id}

Update schema level probe configuration for specified probe id.

Body parameter

[
  {
    "interval_min": 0,
    "interval_sec": 0,
    "lifetime": 0,
    "enabled": true
  }
]

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
schema_namepathstringtrueSchema Name
probe_idpathintegertrueProbe ID for which probe configuration will be returned.
X-Auth-TokenheaderstringtrueToken of authorization
bodybodyProbeConfigDatatruenone

Example responses

Responses

StatusMeaningDescriptionSchema
200OKStatus 200None

Response Schema

Info

This operation does not require authentication

get__probe_config_server_{server_id}_database_{database_name}_schema_{schema_name}_table_{table_name}

Code samples

GET /probe/config/server/{server_id}/database/{database_name}/schema/{schema_name}/table/{table_name}

Get all the table level probes.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
schema_namepathstringtrueSchema Name
table_namepathstringtrueTable Name
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {
    "probe_id": 0,
    "probe_name": "string",
    "default_interval_min": 0,
    "interval_min": 0,
    "default_interval_sec": 0,
    "interval_sec": 0,
    "default_interval": 0,
    "interval": 0,
    "default_lifetime": 0,
    "lifetime": 0,
    "default_enabled": true,
    "enabled": true,
    "target_type_id_returned": 0
  }
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
anonymous[Probes]falsenonenone
» probe_idintegerfalsenoneUnique id of the probe.
» probe_namestringfalsenoneName of the probe.
» default_interval_minintegerfalsenoneDefines default interval for the probe to collect the statistics (in minutes). Possible values are from 0 to 2880.
» interval_minintegerfalsenoneDefines how frequently the probe will collect the statistics (in minutes). Possible values are from 0 to 2880.
» default_interval_secintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds). Possible values are from 0 to 59.
» interval_secintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds). Possible values are from 0 to 59.
» default_intervalintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds).
» intervalintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds).
» default_lifetimeintegerfalsenoneDefines the default history data retention time (in days).
» lifetimeintegerfalsenoneDefines the history data retention time (in days). It does not have any effect, if 'discard_history' is set to true.
» default_enabledbooleanfalsenoneDefines the default probe enabled/disabled value.
» enabledbooleanfalsenoneDefines whether the probe is enabled/disabled by default.
» target_type_id_returnedintegerfalsenoneDefines return target type value.
  • A probe with target_type 100 is responsible for collecting statistics for an agent.
  • A probe with target_type 200 is responsible for collecting statistics for a monitored server.
  • A probe with target_type 300 is responsible for collecting statistics for a database.
  • A probe with target_type 400 is responsible for collecting statistics for a schema.
  • A probe with target_type 500 is responsible for collecting statistics for a table.
  • A probe with target_type 600 is responsible for collecting statistics for a index.
  • A probe with target_type 700 is responsible for collecting statistics for a sequence.
  • A probe with target_type 800 is responsible for collecting statistics for a function.
  • A probe with target_type 900 is responsible for collecting statistics for a view.
Info

This operation does not require authentication

get__probe_config_server_{server_id}_database_{database_name}_schema_{schema_name}_table_{table_name}_{probe_id}

Code samples

GET /probe/config/server/{server_id}/database/{database_name}/schema/{schema_name}/table/{table_name}/{probe_id}

Get table level probe for specified probe id.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
schema_namepathstringtrueSchema Name
table_namepathstringtrueTable Name
probe_idpathintegertrueProbe ID for which probe configuration will be returned.
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
{
  "probe_id": 0,
  "probe_name": "string",
  "default_interval_min": 0,
  "interval_min": 0,
  "default_interval_sec": 0,
  "interval_sec": 0,
  "default_interval": 0,
  "interval": 0,
  "default_lifetime": 0,
  "lifetime": 0,
  "default_enabled": true,
  "enabled": true,
  "target_type_id_returned": 0
}

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseProbes
Info

This operation does not require authentication

get__probe_config_server_{server_id}_database_{database_name}_schema_{schema_name}_index_{index_name}

Code samples

GET /probe/config/server/{server_id}/database/{database_name}/schema/{schema_name}/index/{index_name}

Get all the index level probes.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
schema_namepathstringtrueSchema Name
index_namepathstringtrueIndex Name
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {
    "probe_id": 0,
    "probe_name": "string",
    "default_interval_min": 0,
    "interval_min": 0,
    "default_interval_sec": 0,
    "interval_sec": 0,
    "default_interval": 0,
    "interval": 0,
    "default_lifetime": 0,
    "lifetime": 0,
    "default_enabled": true,
    "enabled": true,
    "target_type_id_returned": 0
  }
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
anonymous[Probes]falsenonenone
» probe_idintegerfalsenoneUnique id of the probe.
» probe_namestringfalsenoneName of the probe.
» default_interval_minintegerfalsenoneDefines default interval for the probe to collect the statistics (in minutes). Possible values are from 0 to 2880.
» interval_minintegerfalsenoneDefines how frequently the probe will collect the statistics (in minutes). Possible values are from 0 to 2880.
» default_interval_secintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds). Possible values are from 0 to 59.
» interval_secintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds). Possible values are from 0 to 59.
» default_intervalintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds).
» intervalintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds).
» default_lifetimeintegerfalsenoneDefines the default history data retention time (in days).
» lifetimeintegerfalsenoneDefines the history data retention time (in days). It does not have any effect, if 'discard_history' is set to true.
» default_enabledbooleanfalsenoneDefines the default probe enabled/disabled value.
» enabledbooleanfalsenoneDefines whether the probe is enabled/disabled by default.
» target_type_id_returnedintegerfalsenoneDefines return target type value.
  • A probe with target_type 100 is responsible for collecting statistics for an agent.
  • A probe with target_type 200 is responsible for collecting statistics for a monitored server.
  • A probe with target_type 300 is responsible for collecting statistics for a database.
  • A probe with target_type 400 is responsible for collecting statistics for a schema.
  • A probe with target_type 500 is responsible for collecting statistics for a table.
  • A probe with target_type 600 is responsible for collecting statistics for a index.
  • A probe with target_type 700 is responsible for collecting statistics for a sequence.
  • A probe with target_type 800 is responsible for collecting statistics for a function.
  • A probe with target_type 900 is responsible for collecting statistics for a view.
Info

This operation does not require authentication

get__probe_config_server_{server_id}_database_{database_name}_schema_{schema_name}_index_{index_name}_{probe_id}

Code samples

GET /probe/config/server/{server_id}/database/{database_name}/schema/{schema_name}/index/{index_name}/{probe_id}

Get index level probe for specified probe id.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
schema_namepathstringtrueSchema Name
index_namepathstringtrueIndex Name
probe_idpathintegertrueProbe ID for which probe configuration will be returned.
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
{
  "probe_id": 0,
  "probe_name": "string",
  "default_interval_min": 0,
  "interval_min": 0,
  "default_interval_sec": 0,
  "interval_sec": 0,
  "default_interval": 0,
  "interval": 0,
  "default_lifetime": 0,
  "lifetime": 0,
  "default_enabled": true,
  "enabled": true,
  "target_type_id_returned": 0
}

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseProbes
Info

This operation does not require authentication

get__probe_config_server_{server_id}_database_{database_name}_schema_{schema_name}_sequence_{sequence_name}

Code samples

GET /probe/config/server/{server_id}/database/{database_name}/schema/{schema_name}/sequence/{sequence_name}

Get all the sequence level probes.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
schema_namepathstringtrueSchema Name
sequence_namepathstringtrueSequence Name
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {
    "probe_id": 0,
    "probe_name": "string",
    "default_interval_min": 0,
    "interval_min": 0,
    "default_interval_sec": 0,
    "interval_sec": 0,
    "default_interval": 0,
    "interval": 0,
    "default_lifetime": 0,
    "lifetime": 0,
    "default_enabled": true,
    "enabled": true,
    "target_type_id_returned": 0
  }
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
anonymous[Probes]falsenonenone
» probe_idintegerfalsenoneUnique id of the probe.
» probe_namestringfalsenoneName of the probe.
» default_interval_minintegerfalsenoneDefines default interval for the probe to collect the statistics (in minutes). Possible values are from 0 to 2880.
» interval_minintegerfalsenoneDefines how frequently the probe will collect the statistics (in minutes). Possible values are from 0 to 2880.
» default_interval_secintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds). Possible values are from 0 to 59.
» interval_secintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds). Possible values are from 0 to 59.
» default_intervalintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds).
» intervalintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds).
» default_lifetimeintegerfalsenoneDefines the default history data retention time (in days).
» lifetimeintegerfalsenoneDefines the history data retention time (in days). It does not have any effect, if 'discard_history' is set to true.
» default_enabledbooleanfalsenoneDefines the default probe enabled/disabled value.
» enabledbooleanfalsenoneDefines whether the probe is enabled/disabled by default.
» target_type_id_returnedintegerfalsenoneDefines return target type value.
  • A probe with target_type 100 is responsible for collecting statistics for an agent.
  • A probe with target_type 200 is responsible for collecting statistics for a monitored server.
  • A probe with target_type 300 is responsible for collecting statistics for a database.
  • A probe with target_type 400 is responsible for collecting statistics for a schema.
  • A probe with target_type 500 is responsible for collecting statistics for a table.
  • A probe with target_type 600 is responsible for collecting statistics for a index.
  • A probe with target_type 700 is responsible for collecting statistics for a sequence.
  • A probe with target_type 800 is responsible for collecting statistics for a function.
  • A probe with target_type 900 is responsible for collecting statistics for a view.
Info

This operation does not require authentication

get__probe_config_server_{server_id}_database_{database_name}_schema_{schema_name}_sequence_{sequence_name}_{probe_id}

Code samples

GET /probe/config/server/{server_id}/database/{database_name}/schema/{schema_name}/sequence/{sequence_name}/{probe_id}

Get sequence level probe for specified probe id.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
schema_namepathstringtrueSchema Name
sequence_namepathstringtrueSequence Name
probe_idpathintegertrueProbe ID for which probe configuration will be returned.
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
{
  "probe_id": 0,
  "probe_name": "string",
  "default_interval_min": 0,
  "interval_min": 0,
  "default_interval_sec": 0,
  "interval_sec": 0,
  "default_interval": 0,
  "interval": 0,
  "default_lifetime": 0,
  "lifetime": 0,
  "default_enabled": true,
  "enabled": true,
  "target_type_id_returned": 0
}

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseProbes
Info

This operation does not require authentication

get__probe_config_server_{server_id}_database_{database_name}_schema_{schema_name}_function_{function_name}_args_{function_arguments}_

Code samples

GET /probe/config/server/{server_id}/database/{database_name}/schema/{schema_name}/function/{function_name}/args/{function_arguments}/

Get all the function level probes.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
schema_namepathstringtrueSchema Name
function_namepathstringtrueFunction Name
function_argumentspathstringfalseComma-separated list of function arguments.
X-Auth-TokenheaderstringtrueToken of authorization
Detailed descriptions

function_arguments: Comma-separated list of function arguments.

Eg: ag_id integer,srv_id integer

Example responses

200 Response
[
  {
    "probe_id": 0,
    "probe_name": "string",
    "default_interval_min": 0,
    "interval_min": 0,
    "default_interval_sec": 0,
    "interval_sec": 0,
    "default_interval": 0,
    "interval": 0,
    "default_lifetime": 0,
    "lifetime": 0,
    "default_enabled": true,
    "enabled": true,
    "target_type_id_returned": 0
  }
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
anonymous[Probes]falsenonenone
» probe_idintegerfalsenoneUnique id of the probe.
» probe_namestringfalsenoneName of the probe.
» default_interval_minintegerfalsenoneDefines default interval for the probe to collect the statistics (in minutes). Possible values are from 0 to 2880.
» interval_minintegerfalsenoneDefines how frequently the probe will collect the statistics (in minutes). Possible values are from 0 to 2880.
» default_interval_secintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds). Possible values are from 0 to 59.
» interval_secintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds). Possible values are from 0 to 59.
» default_intervalintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds).
» intervalintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds).
» default_lifetimeintegerfalsenoneDefines the default history data retention time (in days).
» lifetimeintegerfalsenoneDefines the history data retention time (in days). It does not have any effect, if 'discard_history' is set to true.
» default_enabledbooleanfalsenoneDefines the default probe enabled/disabled value.
» enabledbooleanfalsenoneDefines whether the probe is enabled/disabled by default.
» target_type_id_returnedintegerfalsenoneDefines return target type value.
  • A probe with target_type 100 is responsible for collecting statistics for an agent.
  • A probe with target_type 200 is responsible for collecting statistics for a monitored server.
  • A probe with target_type 300 is responsible for collecting statistics for a database.
  • A probe with target_type 400 is responsible for collecting statistics for a schema.
  • A probe with target_type 500 is responsible for collecting statistics for a table.
  • A probe with target_type 600 is responsible for collecting statistics for a index.
  • A probe with target_type 700 is responsible for collecting statistics for a sequence.
  • A probe with target_type 800 is responsible for collecting statistics for a function.
  • A probe with target_type 900 is responsible for collecting statistics for a view.
Info

This operation does not require authentication

get__probe_config_server_{server_id}_database_{database_name}_schema_{schema_name}_function_{function_name}_args_{function_arguments}_{probe_id}

Code samples

GET /probe/config/server/{server_id}/database/{database_name}/schema/{schema_name}/function/{function_name}/args/{function_arguments}/{probe_id}

Get function level probe for specified probe id.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
schema_namepathstringtrueSchema Name
function_namepathstringtrueFunction Name
function_argumentspathstringfalseComma-separated list of function arguments.
probe_idpathintegertrueProbe ID for which probe configuration will be returned.
X-Auth-TokenheaderstringtrueToken of authorization
Detailed descriptions

function_arguments: Comma-separated list of function arguments.

Eg: ag_id integer,srv_id integer

Example responses

200 Response
{
  "probe_id": 0,
  "probe_name": "string",
  "default_interval_min": 0,
  "interval_min": 0,
  "default_interval_sec": 0,
  "interval_sec": 0,
  "default_interval": 0,
  "interval": 0,
  "default_lifetime": 0,
  "lifetime": 0,
  "default_enabled": true,
  "enabled": true,
  "target_type_id_returned": 0
}

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseProbes
Info

This operation does not require authentication

get__probe_config_server_{server_id}_database_{database_name}_schema_{schema_name}_view_{view_name}

Code samples

GET /probe/config/server/{server_id}/database/{database_name}/schema/{schema_name}/view/{view_name}

Get all the view level probes.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
schema_namepathstringtrueSchema Name
view_namepathstringtrueView Name
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {
    "probe_id": 0,
    "probe_name": "string",
    "default_interval_min": 0,
    "interval_min": 0,
    "default_interval_sec": 0,
    "interval_sec": 0,
    "default_interval": 0,
    "interval": 0,
    "default_lifetime": 0,
    "lifetime": 0,
    "default_enabled": true,
    "enabled": true,
    "target_type_id_returned": 0
  }
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
anonymous[Probes]falsenonenone
» probe_idintegerfalsenoneUnique id of the probe.
» probe_namestringfalsenoneName of the probe.
» default_interval_minintegerfalsenoneDefines default interval for the probe to collect the statistics (in minutes). Possible values are from 0 to 2880.
» interval_minintegerfalsenoneDefines how frequently the probe will collect the statistics (in minutes). Possible values are from 0 to 2880.
» default_interval_secintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds). Possible values are from 0 to 59.
» interval_secintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds). Possible values are from 0 to 59.
» default_intervalintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds).
» intervalintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds).
» default_lifetimeintegerfalsenoneDefines the default history data retention time (in days).
» lifetimeintegerfalsenoneDefines the history data retention time (in days). It does not have any effect, if 'discard_history' is set to true.
» default_enabledbooleanfalsenoneDefines the default probe enabled/disabled value.
» enabledbooleanfalsenoneDefines whether the probe is enabled/disabled by default.
» target_type_id_returnedintegerfalsenoneDefines return target type value.
  • A probe with target_type 100 is responsible for collecting statistics for an agent.
  • A probe with target_type 200 is responsible for collecting statistics for a monitored server.
  • A probe with target_type 300 is responsible for collecting statistics for a database.
  • A probe with target_type 400 is responsible for collecting statistics for a schema.
  • A probe with target_type 500 is responsible for collecting statistics for a table.
  • A probe with target_type 600 is responsible for collecting statistics for a index.
  • A probe with target_type 700 is responsible for collecting statistics for a sequence.
  • A probe with target_type 800 is responsible for collecting statistics for a function.
  • A probe with target_type 900 is responsible for collecting statistics for a view.
Info

This operation does not require authentication

get__probe_config_server_{server_id}_database_{database_name}_schema_{schema_name}_view_{view_name}_{probe_id}

Code samples

GET /probe/config/server/{server_id}/database/{database_name}/schema/{schema_name}/view/{view_name}/{probe_id}

Get view level probe for specified probe id.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
schema_namepathstringtrueSchema Name
view_namepathstringtrueView Name
probe_idpathintegertrueProbe ID for which probe configuration will be returned.
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
{
  "probe_id": 0,
  "probe_name": "string",
  "default_interval_min": 0,
  "interval_min": 0,
  "default_interval_sec": 0,
  "interval_sec": 0,
  "default_interval": 0,
  "interval": 0,
  "default_lifetime": 0,
  "lifetime": 0,
  "default_enabled": true,
  "enabled": true,
  "target_type_id_returned": 0
}

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseProbes
Info

This operation does not require authentication

get__probe_config_agent_{agent_id}

Code samples

GET /probe/config/agent/{agent_id}

Get all the agent level probes.

Parameters

NameInTypeRequiredDescription
agent_idpathintegertrueAgent ID
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {
    "probe_id": 0,
    "probe_name": "string",
    "default_interval_min": 0,
    "interval_min": 0,
    "default_interval_sec": 0,
    "interval_sec": 0,
    "default_interval": 0,
    "interval": 0,
    "default_lifetime": 0,
    "lifetime": 0,
    "default_enabled": true,
    "enabled": true,
    "target_type_id_returned": 0
  }
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
anonymous[Probes]falsenonenone
» probe_idintegerfalsenoneUnique id of the probe.
» probe_namestringfalsenoneName of the probe.
» default_interval_minintegerfalsenoneDefines default interval for the probe to collect the statistics (in minutes). Possible values are from 0 to 2880.
» interval_minintegerfalsenoneDefines how frequently the probe will collect the statistics (in minutes). Possible values are from 0 to 2880.
» default_interval_secintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds). Possible values are from 0 to 59.
» interval_secintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds). Possible values are from 0 to 59.
» default_intervalintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds).
» intervalintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds).
» default_lifetimeintegerfalsenoneDefines the default history data retention time (in days).
» lifetimeintegerfalsenoneDefines the history data retention time (in days). It does not have any effect, if 'discard_history' is set to true.
» default_enabledbooleanfalsenoneDefines the default probe enabled/disabled value.
» enabledbooleanfalsenoneDefines whether the probe is enabled/disabled by default.
» target_type_id_returnedintegerfalsenoneDefines return target type value.
  • A probe with target_type 100 is responsible for collecting statistics for an agent.
  • A probe with target_type 200 is responsible for collecting statistics for a monitored server.
  • A probe with target_type 300 is responsible for collecting statistics for a database.
  • A probe with target_type 400 is responsible for collecting statistics for a schema.
  • A probe with target_type 500 is responsible for collecting statistics for a table.
  • A probe with target_type 600 is responsible for collecting statistics for a index.
  • A probe with target_type 700 is responsible for collecting statistics for a sequence.
  • A probe with target_type 800 is responsible for collecting statistics for a function.
  • A probe with target_type 900 is responsible for collecting statistics for a view.
Info

This operation does not require authentication

get__probe_config_server_{server_id}

Code samples

GET /probe/config/server/{server_id}

Get all the server level probes.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {
    "probe_id": 0,
    "probe_name": "string",
    "default_interval_min": 0,
    "interval_min": 0,
    "default_interval_sec": 0,
    "interval_sec": 0,
    "default_interval": 0,
    "interval": 0,
    "default_lifetime": 0,
    "lifetime": 0,
    "default_enabled": true,
    "enabled": true,
    "target_type_id_returned": 0
  }
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
anonymous[Probes]falsenonenone
» probe_idintegerfalsenoneUnique id of the probe.
» probe_namestringfalsenoneName of the probe.
» default_interval_minintegerfalsenoneDefines default interval for the probe to collect the statistics (in minutes). Possible values are from 0 to 2880.
» interval_minintegerfalsenoneDefines how frequently the probe will collect the statistics (in minutes). Possible values are from 0 to 2880.
» default_interval_secintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds). Possible values are from 0 to 59.
» interval_secintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds). Possible values are from 0 to 59.
» default_intervalintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds).
» intervalintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds).
» default_lifetimeintegerfalsenoneDefines the default history data retention time (in days).
» lifetimeintegerfalsenoneDefines the history data retention time (in days). It does not have any effect, if 'discard_history' is set to true.
» default_enabledbooleanfalsenoneDefines the default probe enabled/disabled value.
» enabledbooleanfalsenoneDefines whether the probe is enabled/disabled by default.
» target_type_id_returnedintegerfalsenoneDefines return target type value.
  • A probe with target_type 100 is responsible for collecting statistics for an agent.
  • A probe with target_type 200 is responsible for collecting statistics for a monitored server.
  • A probe with target_type 300 is responsible for collecting statistics for a database.
  • A probe with target_type 400 is responsible for collecting statistics for a schema.
  • A probe with target_type 500 is responsible for collecting statistics for a table.
  • A probe with target_type 600 is responsible for collecting statistics for a index.
  • A probe with target_type 700 is responsible for collecting statistics for a sequence.
  • A probe with target_type 800 is responsible for collecting statistics for a function.
  • A probe with target_type 900 is responsible for collecting statistics for a view.
Info

This operation does not require authentication

get__probe_config_server_{server_id}_database_{database_name}

Code samples

GET /probe/config/server/{server_id}/database/{database_name}

Get all the database level probes.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
[
  {
    "probe_id": 0,
    "probe_name": "string",
    "default_interval_min": 0,
    "interval_min": 0,
    "default_interval_sec": 0,
    "interval_sec": 0,
    "default_interval": 0,
    "interval": 0,
    "default_lifetime": 0,
    "lifetime": 0,
    "default_enabled": true,
    "enabled": true,
    "target_type_id_returned": 0
  }
]

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
anonymous[Probes]falsenonenone
» probe_idintegerfalsenoneUnique id of the probe.
» probe_namestringfalsenoneName of the probe.
» default_interval_minintegerfalsenoneDefines default interval for the probe to collect the statistics (in minutes). Possible values are from 0 to 2880.
» interval_minintegerfalsenoneDefines how frequently the probe will collect the statistics (in minutes). Possible values are from 0 to 2880.
» default_interval_secintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds). Possible values are from 0 to 59.
» interval_secintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds). Possible values are from 0 to 59.
» default_intervalintegerfalsenoneDefines default interval for the probe to collect the statistics (in seconds).
» intervalintegerfalsenoneDefines how frequently the probe will collect the statistics (in seconds).
» default_lifetimeintegerfalsenoneDefines the default history data retention time (in days).
» lifetimeintegerfalsenoneDefines the history data retention time (in days). It does not have any effect, if 'discard_history' is set to true.
» default_enabledbooleanfalsenoneDefines the default probe enabled/disabled value.
» enabledbooleanfalsenoneDefines whether the probe is enabled/disabled by default.
» target_type_id_returnedintegerfalsenoneDefines return target type value.
  • A probe with target_type 100 is responsible for collecting statistics for an agent.
  • A probe with target_type 200 is responsible for collecting statistics for a monitored server.
  • A probe with target_type 300 is responsible for collecting statistics for a database.
  • A probe with target_type 400 is responsible for collecting statistics for a schema.
  • A probe with target_type 500 is responsible for collecting statistics for a table.
  • A probe with target_type 600 is responsible for collecting statistics for a index.
  • A probe with target_type 700 is responsible for collecting statistics for a sequence.
  • A probe with target_type 800 is responsible for collecting statistics for a function.
  • A probe with target_type 900 is responsible for collecting statistics for a view.
Info

This operation does not require authentication

get__probe_config_server_{server_id}_database_{database_name}_{probe_id}

Code samples

GET /probe/config/server/{server_id}/database/{database_name}/{probe_id}

Get database level probe for specified probe id.

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
probe_idpathintegertrueProbe ID for which probe configuration will be returned.
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
{
  "probe_id": 0,
  "probe_name": "string",
  "default_interval_min": 0,
  "interval_min": 0,
  "default_interval_sec": 0,
  "interval_sec": 0,
  "default_interval": 0,
  "interval": 0,
  "default_lifetime": 0,
  "lifetime": 0,
  "default_enabled": true,
  "enabled": true,
  "target_type_id_returned": 0
}

Responses

StatusMeaningDescriptionSchema
200OKSuccessful responseProbes
Info

This operation does not require authentication

put__probe_config_server_{server_id}_database_{database_name}_{probe_id}

Code samples

PUT /probe/config/server/{server_id}/database/{database_name}/{probe_id}

Update database level probe configuration for specified probe id.

Body parameter

[
  {
    "interval_min": 0,
    "interval_sec": 0,
    "lifetime": 0,
    "enabled": true
  }
]

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase Name
probe_idpathintegertrueProbe ID for which probe configuration will be returned.
X-Auth-TokenheaderstringtrueToken of authorization
bodybodyProbeConfigDatatruenone

Example responses

Responses

StatusMeaningDescriptionSchema
200OKStatus 200None

Response Schema

Info

This operation does not require authentication