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

Feature request: dashboard_api for getting a client status by name #636

Closed
miwee opened this issue Feb 16, 2018 · 3 comments
Closed

Feature request: dashboard_api for getting a client status by name #636

miwee opened this issue Feb 16, 2018 · 3 comments
Labels

Comments

@miwee
Copy link

miwee commented Feb 16, 2018

At present there is api/proxy/traffic/:name but it does not have info whether client is online or offline. The only workaround is to use /api/proxy/tcp (or udp, http etc.) and get full data for all clients and parse specific info from this combined data.

From monitoring purpose, it is useful to have an api similar to api/proxy/status/:name, which simply tells the current status and last known online time.

thanks

@fatedier fatedier added the todo label Feb 26, 2018
@miwee
Copy link
Author

miwee commented Apr 3, 2018

I have changed and tested this feature. I'm attaching the patch.
I was trying to use github workflow, but I couldn't compile my forked repository. It was giving some error related to hardcoded paths github.com/fatedier
Hope this should be ok.
0001-dashboard_api-for-getting-a-client-status-by-name.txt

@fatedier
Copy link
Owner

fatedier commented Apr 4, 2018

Could you send a pr to dev branch? I will review it conveniently.

@fatedier
Copy link
Owner

fatedier commented Apr 4, 2018

Just change directory name miwee to fatedier to compile it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants