Why is SBC uptime different when checking from REST API?
Hello,
System Info:
Enterprise Session Border Controller 3900 SCZ8.4.0 Patch 12 (Build 636)
When I check uptime through SBC GUI or CLI, I get:
# sh uptime
13:31:40 EET Wed Jan 25 2023
- up 13 days, 19 hours, 22 minutes,40 seconds
But when I use REST API I get a different number:
<upTimeSeconds>1065026</upTimeSeconds>
(12 days 7 hours 50 minutes 26 seconds)
What could be cause? I can see the same issue with SCZ8.3.0 MR-1 Patch 2.
API call that I'm using:
curl -X GET \ --header "Accept: application/xml" \ --header "Authorization: Bearer $TOKEN" \ "https://${SBCIP}/rest/v1.1/system/status"
Regards,
Jaakko