WhatsUp Rest API (Archived) — Monroe Owens (Customer) asked a question.

interface traffic api question

when querying the interface traffic API (serverip:9644/{device-id}/reports/interface-traffic), what unit is the return values formatted in? 

 

Example:

 "data": [

  {

   "rxSpeedMin": 192000, <--- is this bits, Mbits, GBits?

   "rxSpeedMax": 192000,

   "txSpeedMin": 39999.98828125,

   "txSpeedMax": 39999.98828125,

   "rxPercentAvg": 0.00019200000679120421,

   "txPercentAvg": 0.000039999988075578585,

   "series": [],

   "deviceName": cucm1",

   "interfaceId": "225",

   "interfaceName": "Virtual NIC 4000 (0)",

   "pollTimeUtc": "2021-08-18T11:16:06.103Z",

   "timeFromLastPollSeconds": 495,

   "ifSpeed": 1000000000, <--- is this bits, Mbits, GBits?

   "ifRxSpeed": 1000000000,

   "ifTxSpeed": 1000000000,

   "totalTraffic": 17773333.391786724, <--- is this bits, Mbits, GBits?

   "rxSpeedAvg": 192000,

   "rxOctetsTotal": 0,

   "txSpeedAvg": 39999.99,

   "txOctetsTotal": 0,

   "id": "62"

  }

 ]

}