Hello,
Does anybody knows why a query to the Threat Prevention API Quota, the reply comes with zero "0" values, but the gateway shows the actual count.
"cloud_monthly_quota_usage_for_this_gw": 0,
"cloud_hourly_quota_usage_for_this_gw": 0,
"cloud_monthly_quota_usage_for_quota_id": 0,
"cloud_hourly_quota_usage_for_quota_id": 0,
Quota Response HTTP Header (Json)
{
"response": [
{
"remain_quota_hour": 5000,
"remain_quota_month": 100000,
"assigned_quota_hour": 5000,
"assigned_quota_month": 100000,
"hourly_quota_next_reset": "1503932400",
"monthly_quota_next_reset": "1504224000",
"quota_id": "AD1xxxx",
"cloud_monthly_quota_period_start": "1501545600",
"cloud_monthly_quota_usage_for_this_gw": 0,
"cloud_hourly_quota_usage_for_this_gw": 0,
"cloud_monthly_quota_usage_for_quota_id": 0,
"cloud_hourly_quota_usage_for_quota_id": 0,
"monthly_exceeded_quota": 0,
"hourly_exceeded_quota": 0,
"cloud_quota_max_allow_to_exceed_percentage": 1000,
"pod_time_gmt": "1503931000",
"quota_expiration": "1629849600",
"action": "ALLOW"
}
]
}
Output of command from the gateway
[Expert@FW-01:0]# tecli show clo quo
Quota identifier: AD1xxxx
Quota subscription: OK (1457 days left)
Assigned: 5000 Hour / 100000 Month
Usage for gw: 7 Hour / 3346 Month
Usage for group: 7 Hour / 3346 Month
License state: ALLOW
Remain: 4993 Hour / 96654 Month
Exceeded: 0 Hour / 0 Month
Next reset: 28 Mins / 4 Days
Last update gw time: Mon Aug 28 10:34:30 2017
Last update server time: Mon Aug 28 10:31:34 2017 GMT
Last update status: OK
Has contract: Yes
Gateway identifier: cc25911fe4f5362a1256c3fc1xxxxxxx-d18e35140adec539ffff900d727xxxxxx