oxidized
oxidized copied to clipboard
HTTP/Mechanize and custom port
Hello,
I've try to wrote a model using http input with mechanize library, as cambium.rb model. But i notice, by default, it support only port 80/443.
It does not use 'ssh_port' define in 'router.db' as custom port for http input.
So i manually define http connection to use it...
url = "http://#{@node.ip}:#{vars(:ssh_port)}/"
If it's not a bug, you can close this ticket.