Skip navigation

Request to allow the TrueSight 11.0 REST API to collect performance metrics on a 5 minute interval

score 20
You have not voted. Below Review Threshold

We have installed BMC Truesight Operations Management 11.0.00

 

We are trying to collect performance data using BMC REST API methods. We are able to collect 1 hour interval performance metrics.

But we would like to collect performance data for every 5 min interval. BMC does not currently support a 5 minute interval.

 

When we change the interval from 1hr to 5 min we have received an error saying timestamp should be between 1hr to 72hrs.

 

5 Min interval :

 

Here is the complete json parameters

 

{

                "tenantId" : "BmcRealm",

                "monUniqName" : "_PATROL__NUK_MEMORY",

                "instKeyList" :

               

                [

                                {

                                                "serverId" : "3",

                                                "monTypeId" : "501056",

                                                "monInstId" : "73"

                                }

                                ],

                               

                                "startTime" : "1511805600",------------------------today 13:00 pm

                                "endTime" : "1511805900",-------------------------today 13:05 pm

                                "type" : "rate",

                                "computation" : "avg",

                                "attribUniqNameList" : [

                                                "ActualUsed"

                                ]

}

 

 

Here is the response

 

{

    "requestTimeStamp": "2017-11-27T13:32:36",

    "responseTimeStamp": "2017-11-27T13:32:36",

    "statusCode": "400",

    "statusMsg": "Bad Request",

    "responseMsg": "Invalid request parameter: [Incorrect time interval, valid time range is [1,72] hours]",

    "responseContent": null

}

 

1 hour time interval:

 

If I use 1 hour data interval we are able to see/collect performance metrics

 

{

                "tenantId" : "BmcRealm",

                "monUniqName" : "_PATROL__NUK_MEMORY",

                "instKeyList" :

               

                [

                                {

                                                "serverId" : "3",

                                                "monTypeId" : "501056",

                                                "monInstId" : "73"

                                }

                                ],

                               

                                "startTime" : "1511802000",

                                "endTime" : "1511805600",

                                "type" : "rate",

                                "computation" : "avg",

                                "attribUniqNameList" : [

                                                "ActualUsed"

                                ]

}

 

{

    "requestTimeStamp": "2017-11-27T13:35:40",

    "responseTimeStamp": "2017-11-27T13:35:40",

    "statusCode": "200",

    "statusMsg": "OK",

    "responseMsg": "Success",

    "responseContent": [

        {

            "monUniqName": "_PATROL__NUK_MEMORY",

            "instancePerfDataList": [

                {

                    "monInstName": "Memory",

                    "instanceKey": {

                        "serverId": "3",

                        "monTypeId": "501056",

                        "monInstId": "73"

                    },

                    "attribPerfDataList": []

                }

            ],

            "startTime": 1511802000,

            "endTime": 1511805600,

            "type": "rate",

            "computation": "avg"

        }

    ]

}

 

The request is to support a 5 minute data collection interval from the API. The data used will be fed into a third party tool for manipulation.

Comments

Vote history