All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| healthCollectorGetDataWarehouseUsage | GET /api/v3/metrics/warehouse/{type} | Summary: Get data warehouse usage info Description: Get information from data warehouse related to usage |
| healthCollectorGetGDPHealthInfo | GET /api/v3/health | Summary: Get GDP health info Description: Get information from MongoDB for Guardium central managers using health-connector service. |
| healthCollectorGetHistoricalHealthInfo | GET /api/v3/health/history | Summary: Get historical health info Description: Retrieve historical s-tap related statistics from health-collector service. |
| healthCollectorGetObjectStorageUsage | GET /api/v3/metrics/object_storage/{type} | Summary: Get object storage usage info Description: Get information from object storage about tenant bucket usage |
| healthCollectorGetPVCUsage | GET /api/v3/metrics/pvc/{type} | Summary: Get the PVC usage information Description: Get information about the PVC usage in the OCP cluster |
| healthCollectorGetPodRestarts | GET /api/v3/metrics/pods/{type} | Summary: Get the pod restart information Description: Get information about the number of restarts by pod in OCP |
| healthCollectorGetStreamsIngestion | GET /api/v3/metrics/streams/{type} | Summary: Get streams ingestion volume over a given time Description: Get information about streams ingestion volume |
| healthCollectorGetTopGDPCollectors | GET /api/v3/metrics/collectors/{type} | Summary: Get the top GDP collectors which send data to GI Description: Get information about the top GDP collectors |
| healthCollectorStoreHealthInfo | POST /api/v3/health/central_managers/{central_manager_id}/health_info | Summary: Store health info Description: Store health info from GDP into GI. (This API is called from GDP only) |
Healthcollectorv3GetDataWarehouseUsageResponse healthCollectorGetDataWarehouseUsage()
import { createConfiguration, HealthCollectorApi } from '';
import type { HealthCollectorApiHealthCollectorGetDataWarehouseUsageRequest } from '';
const configuration = createConfiguration();
const apiInstance = new HealthCollectorApi(configuration);
const request: HealthCollectorApiHealthCollectorGetDataWarehouseUsageRequest = {
// The type of metric to retrieve
type: "type_example",
// The start time from which the data needs to be calculated. (optional)
startTime: new Date('1970-01-01T00:00:00.00Z'),
// The end time from which the data needs to be calculated. (optional)
endTime: new Date('1970-01-01T00:00:00.00Z'),
};
const data = await apiInstance.healthCollectorGetDataWarehouseUsage(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| type | [string] | The type of metric to retrieve | defaults to undefined |
| startTime | [Date] | The start time from which the data needs to be calculated. | (optional) defaults to undefined |
| endTime | [Date] | The end time from which the data needs to be calculated. | (optional) defaults to undefined |
Healthcollectorv3GetDataWarehouseUsageResponse
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Healthcollectorv3GetGDPHealthInfoResponse healthCollectorGetGDPHealthInfo()
import { createConfiguration, HealthCollectorApi } from '';
const configuration = createConfiguration();
const apiInstance = new HealthCollectorApi(configuration);
const request = {};
const data = await apiInstance.healthCollectorGetGDPHealthInfo(request);
console.log('API called successfully. Returned data:', data);This endpoint does not need any parameter.
Healthcollectorv3GetGDPHealthInfoResponse
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Healthcollectorv3GetHistoricalHealthInfoResponse healthCollectorGetHistoricalHealthInfo()
import { createConfiguration, HealthCollectorApi } from '';
import type { HealthCollectorApiHealthCollectorGetHistoricalHealthInfoRequest } from '';
const configuration = createConfiguration();
const apiInstance = new HealthCollectorApi(configuration);
const request: HealthCollectorApiHealthCollectorGetHistoricalHealthInfoRequest = {
// Type of unit for which data needs to be retrieved. (optional)
unit: "UNKNOWN_UNIT",
// Optional value if the data is for a particular cm. If it is empty the data for all cms would be retrieved. (optional)
cmId: "cm_id_example",
// The start time from which the data needs to be calculated. (optional)
startTime: new Date('1970-01-01T00:00:00.00Z'),
// The end time from which the data needs to be calculated. (optional)
endTime: new Date('1970-01-01T00:00:00.00Z'),
};
const data = await apiInstance.healthCollectorGetHistoricalHealthInfo(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| unit | [**'UNKNOWN_UNIT' | 'STAP'**]Array<'UNKNOWN_UNIT' | 'STAP'> | Type of unit for which data needs to be retrieved. |
| cmId | [string] | Optional value if the data is for a particular cm. If it is empty the data for all cms would be retrieved. | (optional) defaults to undefined |
| startTime | [Date] | The start time from which the data needs to be calculated. | (optional) defaults to undefined |
| endTime | [Date] | The end time from which the data needs to be calculated. | (optional) defaults to undefined |
Healthcollectorv3GetHistoricalHealthInfoResponse
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Healthcollectorv3GetObjectStorageUsageResponse healthCollectorGetObjectStorageUsage()
import { createConfiguration, HealthCollectorApi } from '';
import type { HealthCollectorApiHealthCollectorGetObjectStorageUsageRequest } from '';
const configuration = createConfiguration();
const apiInstance = new HealthCollectorApi(configuration);
const request: HealthCollectorApiHealthCollectorGetObjectStorageUsageRequest = {
// The type of metric to retrieve
type: "type_example",
// The start time from which the data needs to be calculated. (optional)
startTime: new Date('1970-01-01T00:00:00.00Z'),
// The end time from which the data needs to be calculated. (optional)
endTime: new Date('1970-01-01T00:00:00.00Z'),
};
const data = await apiInstance.healthCollectorGetObjectStorageUsage(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| type | [string] | The type of metric to retrieve | defaults to undefined |
| startTime | [Date] | The start time from which the data needs to be calculated. | (optional) defaults to undefined |
| endTime | [Date] | The end time from which the data needs to be calculated. | (optional) defaults to undefined |
Healthcollectorv3GetObjectStorageUsageResponse
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Healthcollectorv3GetPVCUsageResponse healthCollectorGetPVCUsage()
import { createConfiguration, HealthCollectorApi } from '';
import type { HealthCollectorApiHealthCollectorGetPVCUsageRequest } from '';
const configuration = createConfiguration();
const apiInstance = new HealthCollectorApi(configuration);
const request: HealthCollectorApiHealthCollectorGetPVCUsageRequest = {
// The type of metric to retrieve
type: "type_example",
// The start time from which the data needs to be calculated. (optional)
startTime: new Date('1970-01-01T00:00:00.00Z'),
// The end time from which the data needs to be calculated. (optional)
endTime: new Date('1970-01-01T00:00:00.00Z'),
};
const data = await apiInstance.healthCollectorGetPVCUsage(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| type | [string] | The type of metric to retrieve | defaults to undefined |
| startTime | [Date] | The start time from which the data needs to be calculated. | (optional) defaults to undefined |
| endTime | [Date] | The end time from which the data needs to be calculated. | (optional) defaults to undefined |
Healthcollectorv3GetPVCUsageResponse
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Healthcollectorv3GetPodRestartsResponse healthCollectorGetPodRestarts()
import { createConfiguration, HealthCollectorApi } from '';
import type { HealthCollectorApiHealthCollectorGetPodRestartsRequest } from '';
const configuration = createConfiguration();
const apiInstance = new HealthCollectorApi(configuration);
const request: HealthCollectorApiHealthCollectorGetPodRestartsRequest = {
// The type of metric to retrieve
type: "type_example",
// The start time from which the data needs to be calculated. (optional)
startTime: new Date('1970-01-01T00:00:00.00Z'),
// The end time from which the data needs to be calculated. (optional)
endTime: new Date('1970-01-01T00:00:00.00Z'),
};
const data = await apiInstance.healthCollectorGetPodRestarts(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| type | [string] | The type of metric to retrieve | defaults to undefined |
| startTime | [Date] | The start time from which the data needs to be calculated. | (optional) defaults to undefined |
| endTime | [Date] | The end time from which the data needs to be calculated. | (optional) defaults to undefined |
Healthcollectorv3GetPodRestartsResponse
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Healthcollectorv3GetStreamsIngestionResponse healthCollectorGetStreamsIngestion()
import { createConfiguration, HealthCollectorApi } from '';
import type { HealthCollectorApiHealthCollectorGetStreamsIngestionRequest } from '';
const configuration = createConfiguration();
const apiInstance = new HealthCollectorApi(configuration);
const request: HealthCollectorApiHealthCollectorGetStreamsIngestionRequest = {
// The type of metric to retrieve
type: "type_example",
// The start time from which the data needs to be calculated. (optional)
startTime: new Date('1970-01-01T00:00:00.00Z'),
// The end time from which the data needs to be calculated. (optional)
endTime: new Date('1970-01-01T00:00:00.00Z'),
};
const data = await apiInstance.healthCollectorGetStreamsIngestion(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| type | [string] | The type of metric to retrieve | defaults to undefined |
| startTime | [Date] | The start time from which the data needs to be calculated. | (optional) defaults to undefined |
| endTime | [Date] | The end time from which the data needs to be calculated. | (optional) defaults to undefined |
Healthcollectorv3GetStreamsIngestionResponse
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Healthcollectorv3GetTopGDPCollectorsResponse healthCollectorGetTopGDPCollectors()
import { createConfiguration, HealthCollectorApi } from '';
import type { HealthCollectorApiHealthCollectorGetTopGDPCollectorsRequest } from '';
const configuration = createConfiguration();
const apiInstance = new HealthCollectorApi(configuration);
const request: HealthCollectorApiHealthCollectorGetTopGDPCollectorsRequest = {
// The type of metric to retrieve
type: "type_example",
// The start time from which the data needs to be calculated. (optional)
startTime: new Date('1970-01-01T00:00:00.00Z'),
// The end time from which the data needs to be calculated. (optional)
endTime: new Date('1970-01-01T00:00:00.00Z'),
};
const data = await apiInstance.healthCollectorGetTopGDPCollectors(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| type | [string] | The type of metric to retrieve | defaults to undefined |
| startTime | [Date] | The start time from which the data needs to be calculated. | (optional) defaults to undefined |
| endTime | [Date] | The end time from which the data needs to be calculated. | (optional) defaults to undefined |
Healthcollectorv3GetTopGDPCollectorsResponse
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Healthcollectorv3StoreHealthInfoResponse healthCollectorStoreHealthInfo(healthcollectorv3StoreHealthInfoRequest)
import { createConfiguration, HealthCollectorApi } from '';
import type { HealthCollectorApiHealthCollectorStoreHealthInfoRequest } from '';
const configuration = createConfiguration();
const apiInstance = new HealthCollectorApi(configuration);
const request: HealthCollectorApiHealthCollectorStoreHealthInfoRequest = {
// ID of central manager.
centralManagerId: "central_manager_id_example",
healthcollectorv3StoreHealthInfoRequest: {
centralManagerId: "centralManagerId_example",
data: [
{
nodes: [
{
aggHealthStatus: 1,
connectivity: 1,
details: {
aggHealthViewList: [
{
aggActionError: "aggActionError_example",
aggActionHealthStatus: 1,
aggType: "aggType_example",
errorCode: 1,
unit: "unit_example",
},
],
connectivityDetails: {
errMessages: "errMessages_example",
},
generalErrMessages: [
"generalErrMessages_example",
],
utilizationScheme: {
analyzerQueueValue: 1,
errorMessagesCode: 1,
errorMessagesValue: "errorMessagesValue_example",
freeBuffSpaceValue: 1,
loggerQueueValue: 1,
mysqlDiskUsageValue: 1,
noOfRestartsValue: 1,
numOfExceptionsValue: 1,
numOfFlatLogRequestsValue: 1,
numOfPolicyViolationsValue: 1,
numOfRequestsValue: 1,
precMysqlMemValue: 1,
snifMemoryValue: 1,
sysVarDiskUsageValue: 1,
systemCpuLoadValue: 1,
},
},
exportsTo: [
"exportsTo_example",
],
id: 1,
importsFrom: [
"importsFrom_example",
],
musStapsHealthStatus: 1,
name: "name_example",
osVersion: "osVersion_example",
patch: "patch_example",
status: 1,
type: "type_example",
unitHostIp: "unitHostIp_example",
unitUtilizationHealthStatus: 1,
version: "version_example",
},
],
staps: [
{
children: [
{
ieStatus: 1,
inspectionEngine: "inspectionEngine_example",
},
],
collectorHostName: "collectorHostName_example",
connectivity: 1,
details: {
connectivityDetails: {
errMessages: "errMessages_example",
},
generalErrMessages: [
"generalErrMessages_example",
],
ktapDetails: {
errMessages: "errMessages_example",
},
stapLivelinessInfo: {
hasEvent: true,
healthStatus: 1,
livelinessState: "livelinessState_example",
stap: "stap_example",
},
stapVerInfoList: [
{
ie: "ie_example",
port: "port_example",
protocol: "protocol_example",
stap: "stap_example",
verificationHealth: 1,
verificationResult: "verificationResult_example",
verificationState: "verificationState_example",
version: "version_example",
},
],
trafficDetails: {
errMessages: "errMessages_example",
},
},
ieStatus: 1,
inspectionEngine: "inspectionEngine_example",
ktap: 1,
name: "name_example",
osType: "osType_example",
revision: "revision_example",
stapIp: "stapIp_example",
status: 1,
traffic: 1,
},
],
},
],
},
};
const data = await apiInstance.healthCollectorStoreHealthInfo(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| healthcollectorv3StoreHealthInfoRequest | Healthcollectorv3StoreHealthInfoRequest | ||
| centralManagerId | [string] | ID of central manager. | defaults to undefined |
Healthcollectorv3StoreHealthInfoResponse
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]