Hi All:
I config oxidized with Librenms , It’s been a problem.
I will have some message generated when I execute oxidized
15: from /usr/local/rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:24:in `<main>'
14: from /usr/local/rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:24:in `eval'
13: from /usr/local/rvm/gems/ruby-2.5.1/bin/oxidized:23:in `<main>'
12: from /usr/local/rvm/gems/ruby-2.5.1/bin/oxidized:23:in `load'
11: from /usr/local/rvm/gems/ruby-2.5.1/gems/oxidized-0.24.0/bin/oxidized:8:in `<top (required)>'
10: from /usr/local/rvm/gems/ruby-2.5.1/gems/oxidized-0.24.0/lib/oxidized/cli.rb:12:in `run'
9: from /usr/local/rvm/gems/ruby-2.5.1/gems/oxidized-0.24.0/lib/oxidized/core.rb:4:in `new'
8: from /usr/local/rvm/gems/ruby-2.5.1/gems/oxidized-0.24.0/lib/oxidized/core.rb:4:in `new'
7: from /usr/local/rvm/gems/ruby-2.5.1/gems/oxidized-0.24.0/lib/oxidized/core.rb:14:in `initialize'
6: from /usr/local/rvm/gems/ruby-2.5.1/gems/oxidized-0.24.0/lib/oxidized/core.rb:14:in `new'
5: from /usr/local/rvm/gems/ruby-2.5.1/gems/oxidized-0.24.0/lib/oxidized/nodes.rb:123:in `initialize'
4: from /usr/local/rvm/gems/ruby-2.5.1/gems/oxidized-0.24.0/lib/oxidized/nodes.rb:10:in `load'
3: from /usr/local/rvm/gems/ruby-2.5.1/gems/oxidized-0.24.0/lib/oxidized/nodes.rb:128:in `with_lock'
2: from /usr/local/rvm/gems/ruby-2.5.1/gems/oxidized-0.24.0/lib/oxidized/nodes.rb:128:in `synchronize'
1: from /usr/local/rvm/gems/ruby-2.5.1/gems/oxidized-0.24.0/lib/oxidized/nodes.rb:15:in `block in load'
/usr/local/rvm/gems/ruby-2.5.1/gems/oxidized-0.24.0/lib/oxidized/source/http.rb:23:in `load’: uninitialized constant Oxidized::HTTP::OpenSSL (NameError)
Did you mean? OpenStruct
my oxidized config
username: switchadmin
password:
model: ios
interval: 86400
use_syslog: false
log: “/root/.config/oxidized/logs/log”
debug: true
threads: 30
timeout: 30
retries: 1
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
rest: 0.0.0.0:8888
next_adds_job: true
vars:
enable: enable password
groups: {}
models: {}
pid: “/root/.config/oxidized/pid”
input:
default: ssh, telnet
debug: false
ssh:
secure: false
output:
default: git
git:
user: git
email: [email protected]
repo: “/root/.config/oxidized/devices.git”
source:
default: http
http:
url: http://localhost/api/v0/oxidized
secure: false
map:
name: hostname
model: os
group: group
headers:
X-Auth-Token: 3664c1ec173950de2d4bce9b30d1a1b3
#csv:
#file: “/root/.config/oxidized/router.db”
#delimiter: !ruby/regexp /
#map:
# name: 0
# model: 1
#gpg: false
model_map:
cisco: ios
I don’t have any idea to solve the problem.