I have Oxidized version 0.33.0 and LibreNMS version 25.7.0. I’ve been experiencing a problem that always occurs the first time I log in each day (let’s say I haven’t accessed Oxidized via LibreNMS for, say, 24 hours).
Oxidized times out and doesn’t return. After about 3 minutes, Oxidized starts responding to requests to check switch backups.
I’ve already checked that the Oxidized service is active, listening for requests, and functioning correctly.
If I perform a switch update, Oxidized backs up the configuration normally.
So, I don’t know what could be wrong!
My oxidized configuration is like this:
username: #######
password: ########
model: ios
resolve_dns: false
interval: 86400
use_syslog: false
log: /var/log/oxidized/oxidized.log
debug: false
run_once: false
threads: 20
use_max_threads: true
timeout: 30
retries: 1
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
rest: 127.0.0.1:8888
next_adds_job: false
vars: {}
groups: {}
group_map: {}
models: {}
pid: "/opt/oxidized/.config/oxidized/pid"
crash:
directory: "/opt/oxidized/.config/oxidized/crashes"
hostnames: false
stats:
history_size: 10
input:
default: ssh
debug: false
ssh:
secure: false
utf8_encoded: true
output:
default: git
git:
single_repo: true
user: #######
email: #######
repo: "~/.config/oxidized/oxidized.git"
source:
default: csv
csv:
file: "/opt/oxidized/.config/oxidized/router.csv"
delimiter: !ruby/regexp /;/
map:
name: 0
model: 1
gpg: false
model_map:
juniper: junos
cisco: ios
cisco-sb: ciscosmb
cisco-wlc8: aireos