StatisticsGetGraphURL

From $1

    Description

    This API call allows you to get statistics graph URL
     

    Changelog

    API version Changes
     2.0.0 Initial version

     

    Request Parameters

    Name Description Required
     ObjectType  Object type. Valid values are: role, server or farm Yes
     ObjectID  In case if object type is instance ObjectID shoudl be server id, in case if object type is role ObjectID should be role id and in case if object type is farm ObjectID should be farm id Yes
     WatcherName  Watcher name could be CPU, NET, MEM or LA Yes
     GraphType  Graph type could be daily, weekly, monthly or yearly Yes

     

    Response Elements

    Name Description
     GraphURL  Graphic URL

     

    Sample Request

    https://api.scalr.net/?Action=StatisticsGetGraphURL
    &Version=2.0.0 &ObjectID=123 &ObjectType=farm &WatcherName=CPU &GraphType=daily &KeyID=<Your Scalr API Key ID>
    &TimeStamp=2009-06-19T05%3A13%3A00.000Z
    &Signature=<URLEncode(Base64Encode(Signature))>

     

    Sample Response

    <?xml version="1.0"?>
    <StatisticsGetGraphURLResponse>
        <TransactionID>38cb90b8-c44a-42a4-a24a-c7f19a33de2c</TransactionID>
        <GraphURL>https://monitoring-graphs.scalr.net/123/FARM_CPUSNMP.daily.gif</GraphURL>
    </StatisticsGetGraphURLResponse>


     

    Tags: (Edit tags)
    • No tags
     
    Comments (0)
    You must login to post a comment.

     
    Powered by MindTouch Core