Hello Everyone,
I am trying to integrate oxidized with librenms (Centos). I have already installed oxidized. Versions are listed below:
I am not sure how to configure. I can see config files created at 3 different locations-
/home/oxidized/.config/oxidized/config
/etc/oxidized/.config/oxidized/config
/root/.config/oxidized/config
I am not sure which config I should set and how.
Below is the result of config file present at /home/oxidized/.config/oxidized/config -
username: admin //(Librenms web UI username)
password: Password123$ //(Librenms web UI PAssword)
model: iosxe
resolve_dns: true
interval: 3600
use_syslog: true
log: /home/oxidized/.config/oxidized/logs
debug: true
threads: 30
timeout: 300
retries: 2
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
rest: 127.0.0.1:8888
next_adds_job: false
vars: {}
groups:
cisco:
username: cisco
password: cisco
models: {}
pid: “/home/oxidized/.config/oxidized/pid”
crash:
directory: “/home/oxidized/.config/oxidized”
hostnames: false
stats:
history_size: 100
input:
default: telnet, ssh
debug: true
ssh:
secure: true
ftp:
passive: true
utf8_encoded: true
output:
file:
directory: /var/lib/oxidized/configs2
source:
default: csv
csv:
file: /home/oxidized/.config/oxidized/router.db
delimiter : !ruby/regexp /
map:
name: 0
ip: 1
model: 2
username: 3
password: 4
debug: true
http:
url: http://172.xx.xxx.xxx/api/v0/oxidized
map:
name: hostname
model: os
group: group
headers :
X-Auth-Token: 7b1d85053ff4930ecf2f39dc2a535c57
model_map:
cisco: iosxe
cisco: ios
huawei: vrp
juniper: junos
nokia: sros
ericsson: ipos
I am not sure which config file shall I update and also I couldn’t find anything inside log file.
Below is the value of oxidized.service file -
The oxidized.service fails after 1-2 minutes :
On UI, I am getting this error msg-
Below is the librenms config.php setting:-
I am doing this for the first time, any help will be much appreciated.
Regards
Shikha