I know this may have been before but i am stack. While starting up oxidized (config mgmt tool) for the first time, i am running into an error "Error loading config: (<unknown>): did not find expected key while parsing a block mapping at line 27 column 4" below are my config and router.db settings
router.db
192.168.223.10:cisco:muhsin:muhsin:muhsin
config
---
username: muhsin
password: muhsin
model: cisco
interval: 3600
use_syslog: false
debug: false
threads: 30
timeout: 20
retries: 3
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
rest: 0.0.0.0:8888
vars:
enable: muhsin
groups: {}
pid: /home/oxidized/.config/oxidized/pid
input:
default: ssh, telnet
debug: false
ssh:
secure: false
output:
default: file
file:
directory: /home/oxidized/configs
source:
default: csv
csv:
file: /home/oxidized/.config/oxidized/router.db
delimiter: !ruby/regexp /:/
map:
name: 0
model: 1
username: 2
password: 3
vars_map:
enable: 4
remove_secret: true
model_map:
cisco: ios
i am running it on ubuntu 16.04.6 LTS . Why am i doing wrong. I am an absolute newbie
No comments:
Post a Comment