Capacity Planning

     

    API :

    http://SERVERIP:PORT/api/json/v2/nfadevice/getCapacityPlanData

    Type

    GET

    Parameters

    apiKey uniquekey
    DeviceID  Interfaceid/interface group id/ipgroup id
    idIPGroup  true(when the resource type is IP group)
    Type  speed/ volume / percentage/packets
    Data  IN/OUT
    filterStTime  Integer(0-24)
    filterEdTime  Integer(0-24)
    exweekend  true/false
    TimeFrame  hourly / 6Hour/Daily/today/ yesterday / weekly/monthly /Quarterly/ custom
    granularity  1/5

    Sample API :

    http://testpc:8080/api/json/v2/nfadevice/getCapacityPlanData?apiKey=407ef7c282fa0ace024d34f6cc8e7ba1&DeviceID=5000019&TimeFrame=today&Type=speed&filterStTime=00&filterEdTime=00&exweekend

    Sample Output:

    {

    "hdrTitle": 127.0.0.1 ( IfIndex1 ) ,

    "ApplicationIN":[

    [

    • "DCN-MEAS_App",
    • "1.001 MB",
    • 5,
    • "5 %",

    ],

    [

    • "IGMP_App",
    • "951.541 KB",
    • 4,
    • "4 %",

    ],

    [

    • "EGP_App",
    • "920.789 KB",
    • 4,
    • "4 %",

    ],

    [

    • "GGP_App",
    • "899.431 KB",
    • 4,
    • "4 %",

    ],

    [

    • "ST_App",
    • "877.55 KB",
    • 4,
    • "4 %",

    ],

    [

    • "IPENCAP_App",
    • "870.459 KB",
    • 4,
    • "4 %",

    ],

    [

    • "NVP-II_App",
    • "850.758 KB",
    • 4,
    • "4 %",

    ],

    [

    • "XNET_App",
    • "846.148 KB",
    • 4,
    • "4 %",

    ],

    [

    • "EMCON_App",
    • "845.004 KB",
    • 4,
    • "4 %",

    ],

    [

    • "ARGUS_App",
    • "844.857 KB",
    • 4,
    • "4 %",

    ],

    [

    • "CHAOS_App",
    • "824.898 KB",
    • 4,
    • "4 %",

    ]

    ],

    "AppGrowthOUT":[

    [

    • "EGP_App",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • "400.000 bps",
    • "5.836 Kbps",
    • "5.349 Kbps"

    ],

    [

    • "XNET_App",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • "133.333 bps",
    • ""-"",
    • "133.333 bps",
    • "4.817 Kbps"

    ]

    ],

    "AppGrowthIN":[

    [

    • "ARGUS_App",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • "133.333 bps",
    • ""-"",
    • "266.667 bps",
    • "5.914 Kbps"
    • "4.949 Kbps"

    ],

    [

    • "EMCON_App",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • ""-"",
    • "6.094 Kbps",
    • "5.172 Kbps"

    ]

    ],

    "growthOUTYaxis": "in Kbps" ,

    "GraphData":[

    {

    • "seriesname": "IN",
    • "data":[

      [

      • 1539151380000,
      • 44.2752

      ],

      [

      • 1539151440000,
      • 38.5012

      ],

      [

      • 1539151500000,
      • 23.001333333333335

      ]

      ],

      "yaxiscolumnorder":[

      • 0,

      ]

    },

    {

    • "seriesname": "OUT",
    • "data":[

      [

      • 1539151380000,
      • 52.9524

      ],

      [

      • 1539151440000,
      • 49.3116

      ],

      [

      • 1539151500000,
      • 28.319333333333333

      ]

      ],

      "yaxiscolumnorder":[

      • 0,

      ]

    }

    ],

    "AvgGraph":[

    {

    • "seriesname": "IN",
    • "data":[

      [

      • 1539109800000,
      • 2003.0863888888887

      ]

      ],

      "yaxiscolumnorder":[

      • 0,

      ]

    },

    {

    • "seriesname": "OUT",
    • "data":[

      [

      • 1539109800000,
      • 1982.147685185185

      ]

      ],

      "yaxiscolumnorder":[

      • 0,

      ]

    }

    ],

    "AppGrowthGraphIN":[

    {

    • "seriesname": ""