Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

source returns no usable nodes #1469

Closed
SuhPr3me opened this issue Jul 26, 2018 · 3 comments
Closed

source returns no usable nodes #1469

SuhPr3me opened this issue Jul 26, 2018 · 3 comments

Comments

@SuhPr3me
Copy link

CentOS 7:

LibreNMS - Installed and running already

Oxidized installed: Unable to start

Config passes the YAML validation tool located in LibreNMS:

Error:

source returns no usable nodes
/usr/local/share/gems/gems/oxidized-0.24.0/lib/oxidized/core.rb:15:in initialize': source returns no usable nodes (Oxidized::Core::NoNodesFound) from /usr/local/share/gems/gems/oxidized-0.24.0/lib/oxidized/core.rb:4:in new'
from /usr/local/share/gems/gems/oxidized-0.24.0/lib/oxidized/core.rb:4:in new' from /usr/local/share/gems/gems/oxidized-0.24.0/lib/oxidized/cli.rb:12:in run'
from /usr/local/share/gems/gems/oxidized-0.24.0/bin/oxidized:8:in <top (required)>' from /usr/local/bin/oxidized:23:in load'
from /usr/local/bin/oxidized:23:in `

'

Current config:

username: Username
password: "Password" # only works in double quotes for some reason
interval: 86400
use_syslog: true
debug: true
threads: 30
timeout: 20
retries: 2
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
rest: Server_IP_Address:8080
vars:
enable: Enable_Password
groups: {}
pid: "/home/oxidized/.config/oxidized/pid"
input:
default: ssh
debug: false
ssh:
secure : false
output:
default: git
git:
user: oxidized
email: Company_Email@My_Company.com
repo: "/home/oxidized/.config/oxidized/oxidized.git"
source:
default: csv
csv:
file: "/home/oxidized/.config/oxidized/router.db"
delimiter: !ruby/regexp/:/
map:
name: 0
model: 1
model_map:
cisco: ios
juniper: junos

Router.db file:

Device_IP:ios

Any ideas on how I can get oxidized started and integrated successfully with librenms?

@bl4kd3th
Copy link

Try changing the delimiter line to:

delimiter: !ruby/regexp /:/

looks like you are missing a space

@SuhPr3me
Copy link
Author

I just made made this correction and it fixed it! Thanks for being my second pair of eyes, you are literally a savior!

@wk
Copy link
Contributor

wk commented Jul 31, 2018

Closing this issue as it appears to be resolved.

@wk wk closed this as completed Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants