-
Notifications
You must be signed in to change notification settings - Fork 4
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
Binardat web managed switches #8
Comments
Hello @dennyreiter , I can try something. can you write here the curl command that you use to get the cookie? From https://www.binardat.com/download/ I found:
|
I used this:
But it appears the authentication is done via javascript on the login page, and the cookie is offered regardless! Then, using that cookie, the port stats are accessible like this:
Here is my repository with the info and my work so far, including the HTML from the login page https://github.com/dennyreiter/binardat-switch-exporter The main problem seems to be my GoLang skills and sending the cookie properly. Thanks! |
Hello again, can you try with the branch feature/try-integrate-binardat ? |
I recently purchased a Binardat web managed switch. It's almost the same, but uses a different authentication with a cookie. It's barely authentication, you can get around it pretty easily.
I created a project (base upon this one,) to try and get stats out of these switches, but my Go programming experience level is low, and frankly I wouldn't call myself a good programmer regardless :)
https://github.com/dennyreiter/binardat-switch-exporter
With Curl, I can get the cookie and then send it back and receive the stats page, but using Go, I can't seem to get it to work. I figured if I posted here, maybe someone with one of these switches could possibly find it and want to help.
Thanks so much for this project!
The text was updated successfully, but these errors were encountered: