oxidized
oxidized copied to clipboard
Swos not working
Hi, I'm running oxidized in docker and i'm on the latest version. Got it to work with routeros(mikrotik) based firmware but this is not working with the swos firmware version. I can pull the config from shell with wget : wget http://admin:[email protected]/backup.swb But in oxidized i'm getting this errors :
oxidized_1 | Dec 8 16:20:19 60b7b9846223 oxidized[32]: swos/00276 status fail, retry attempt 1
oxidized_1 | Dec 8 16:20:20 60b7b9846223 oxidized[32]: swos/00276 status fail, retry attempt 2
oxidized_1 | Dec 8 16:20:21 60b7b9846223 oxidized[32]: swos/00276 status fail, retry attempt 3
oxidized_1 | Dec 8 16:20:22 60b7b9846223 oxidized[32]: swos/00276 status fail, retries exhausted, giving up
Here's my router.db
00276:192.168.0.99:swos:swos
And my config
resolve_dns: false
interval: 3600
use_syslog: true
log: /home/oxidized/.config/oxidized/logs/
debug: true
threads: 30
use_max_threads: false
timeout: 20
retries: 3
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
rest: 0.0.0.0:8000/oxidized
next_adds_job: false
vars: {}
groups:
swos:
username: admin
password: admin123
group_map: {}
models: {}
pid: "/home/oxidized/.config/oxidized/pid"
crash:
directory: "/home/oxidized/.config/oxidized/crashes"
hostnames: false
stats:
history_size: 10
input:
default: ssh, telnet
debug: false
ssh:
secure: false
http:
ssl_verify: false
ftp:
passive: truee
utf8_encoded: true
output:
default: git
git:
user: Oxidized
email: [email protected]
repo: "/home/oxidized/.config/oxidized/configs/devices.git"
source:
default: csv
csv:
file: "/home/oxidized/.config/oxidized/router.db"
delimiter: !ruby/regexp /:/
map:
name: 0
ip: 1
model: 2
group: 3
gpg: false
model_map:
swos: swos
If anyone can help me diagnose this issue i would be grateful ! (PS, i've tried to enable debug but didn't got more output)
I think is related to #2685
Edit: Actually, whilst #2685 may be my next problem. Having sniffed traffic from oxidized I can see its not even attempting to connect.
My config is name:ip:swos:admin:password:80