Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status Endpoint Oddities #11

Open
ichilton opened this issue Jun 23, 2020 · 1 comment
Open

Status Endpoint Oddities #11

ichilton opened this issue Jun 23, 2020 · 1 comment

Comments

@ichilton
Copy link

Hi,

There are some oddities with the date/times in the /api/status endpoint.

"server_time": "2020-06-23T21:34:47+00:00",
"last_reboot": "2020-06-23T21:30:19+00:00",
"last_reconfig": "2020-06-23T21:30:19+00:00",

We run our servers in local time:

$ date
Tue 23 Jun 21:34:51 BST 2020

As you can see, it's reporting server_time as 21:34:47+00:00, when it should be 20:34:47+00:00 or 21:34:47+01:00.

Also, it's setting last_reconfig on a restart. IXPManager is showing the correct last update time as 2020-06-23 20:21:41 (BST).

Thanks,

Ian

@ichilton
Copy link
Author

I see the times come straight from bird's show status command, so not much could be done about the last_reconfig time.

It should either not prepend +00:00, or it should look at the actual timezone of the box, though.

@jvobelnet jvobelnet mentioned this issue Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant