09-23-2016 07:52 AM - edited 03-18-2019 06:24 AM
I was wondering if anyone knew of an API method to gathering log files from the EX90 without using a browser to log into the EX90. We use a headless monitoring platform for monitoring the telepresence endpoints. We would like to be able to request the EX90 for its log bundle without having to necessarily have an engineer navigate to the EX90 itself. I have tried to automate via expect/SSH and through Perl's WWW::Mechanize module, but it doesn't seem to support javascript, which is required for the web GUI on the endpoints. Any information would be great.
Thanks.
09-23-2016 12:55 PM
You can download the log bundle with the below URL, and if the application supports it, send the codec's username and password within the address. The log bundle URL is the same as if you were to download it from the web interface.
Full log bundle URL:
http://ip_address/web/logs/bundle?type=full
Full log bundle URL with login:
http://username:password@ip_address/web/logs/bundle?type=full
09-23-2016 01:00 PM
I gave that a shot, but the EX90 doesn't seem to allow that. It just kicks me to a login prompt that appears to require javascript.
09-23-2016 01:08 PM
Sorry about that, turns out I didn't realize my browser still had an active logged in session with the codec I tested it on, which is why it worked for me. Appears it's not possible to bypass the login prompt of the web interface, and no way to get any other type of prompt. Unfortunately, the web interface is the only method to download the log bundle.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide