I have got oxidized working on Librenms on Ubuntu 16.04 LTS.
I however am having issues with the Config Version not appearing under ‘Config’ and cant find why either-would appreciate any assistance you can give.
Thanks
I have got oxidized working on Librenms on Ubuntu 16.04 LTS.
I however am having issues with the Config Version not appearing under ‘Config’ and cant find why either-would appreciate any assistance you can give.
Thanks
It only works when you use git output in oxidized which I’m guessing you don’t.
Hi Laf,
Thanks, i do have git but am not sure if I have configured it correctly. Also there was no devices.git directory so I created it. Below is my config in the oxidized directory
root@Ubuntu-srv02:~# cat ~/.config/oxidized/config
---
username: user
password: password
model: junos
interval: 3600
use_syslog: false
debug: false
threads: 30
timeout: 20
retries: 3
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
rest: 127.0.0.1:8888
next_adds_job: false
vars: {}
groups: {}
models: {}
pid: "/home/tony/.config/oxidized/pid"
input:
default: ssh, telnet
debug: false
ssh:
secure: false
output:
default: git
file:
directory: /root/.config/oxidized/configs
output:
default: git
git:
user: oxidized
email: email
repo: "/home/tony/.config/oxidized/configs/devices.git"
source:
default: csv
csv:
file: "/home/tony/.config/oxidized/router.db"
delimiter: !ruby/regexp /:/
map:
name: 0
model: 1
gpg: false
model_map:
cisco: iosxr
huawei: vrp
you shouldn’t create the git repo manually, did you not want to feed oxidized your librenms devices automatically? See Home - LibreNMS Docs
At the moment your oxidized is pulling its devices from /home/tony/.config/oxidized/router.db
For example this is mine and it created the repo correctly in that /opt/ folder (make sure the sub folders exist)
output:
default: git
git:
user: oxidized
email: [email protected]
repo: /opt/oxidized/data/devices.git
source:
default: http
http:
url: https://1.1.1.1/api/v0/oxidized
secure: false
map:
name: hostname
model: os
group: group
headers:
X-Auth-Token: 'abcdefghijklmno12345315'
and make sure in settings → external → oxidized that version access is set to yes.
That might be why the drop down menu is not appearing.
Also i think you need to restart oxidized service on any config change.
You have two outputs in your config, the first isn’t formatted correctly. Remove that and restart after removing the devices.git dir you created.
Thanks Chas, the enable config versioning access was already enabled and I restarted oxidized several times when I noticed it wasnt appearing-still no luck.
Wont changing my source to http in the config mean I have to do away with the router.db file?
Thanks laf, am doing that now and will give feedback.
Hi Laf, i have done as advised but still the config versioning tab does not appear. Is there any log I can check to see what the cause could be? At this point am open to any suggestions to get this running.
Thanks
Do you see versions in the oxidized webui?
No I mean in the actual oxidized webui, not librenms
Oh…never accessed the Oxidized webui-not even sure how to do that. I will attempt a complete reinstall and advise.
Update: Reinstalled Oxidized from scratch and discovered some gems were not installed.
Also installed under root instead of my home directory and all is working!!!
Thanks so much for the help.
Am loving Librenms every day I use it.