Hello dear Community !
I can’t load any config from the LibreNMS Web GUI, neither can I refresh the config using Menu “Overview > Tools > Oxidized”.
It’s weird because the config search works. Oxidized works and pushes the configs to git.
I can also run those curls with no issues:
curl http://oxidized:8888/nodes
curl http://oxidized:8888/node/fetch/
How can I get more infos about the error? I found some .php files but not sure what should I print from there.
---
username: XXXXXX
password: XXXXXXXXXX
model: junos
resolve_dns: false
interval: 3600
use_syslog: false
log: "/root/.config/oxidized/log"
debug: false
threads: 30
timeout: 20
retries: 3
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
rest: 0.0.0.0:8888
next_adds_job: true
vars:
auth_methods: [ "none", "password" ]
remove_secret: true
ssh_no_exec: true
# ssh_keys: ["~/.ssh/id_rsa","~/.ssh/id_ecdsa"]
# enable:
groups: {}
models: {}
pid: "/root/.config/oxidized/pid"
crash:
directory: "/root/.config/oxidized/crashes"
hostnames: false
stats:
history_size: 10
input:
default: ssh
debug: false
ssh:
secure: false
ftp:
passive: true
utf8_encoded: true
output:
default: git
git:
user: oxidized
email: oxidized@XXXXX
repo: "/root/.config/oxidized/configs/oxidized.git"
source:
# default: csv
# csv:
# file: "/root/.config/oxidized/router.db"
# delimiter: !ruby/regexp /:/
# map:
# name: 0
# model: 1
# gpg: false
default: http
debug: false
http:
url: http://librenms:8000/api/v0/oxidized
map:
name: hostname
model: os
group: group
headers:
X-Auth-Token: 'XXXXXXXXXX'
models:
juniper:
vars:
ssh_encryption: aes256-ctr,aes192-ctr,aes128-ctr,3des-cbc,aes256-cbc
ssh_hmac: hmac-sha2-256,hmac-sha1
ssh_kex: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,[email protected]
junos:
vars:
ssh_kex: ecdh-sha2-nistp521
auth_methods: [ "none", "publickey" ]
ssh_keys: [ "~/.ssh/id_ecdsa" ]
nxos:
vars:
auth_methods: [ "none", "publickey" ]
ssh_keys: [ "~/.ssh/id_rsa" ]
ssh_host_key: [email protected],ssh-ed25519,[email protected],[email protected],[email protected],ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,[email protected],[email protected],ssh-rsa,ssh-dss
dnos:
vars:
ssh_encryption: aes256-ctr,aes192-ctr,aes128-ctr,3des-cbc,aes256-cbc
ssh_hmac: hmac-sha2-256,hmac-sha1
ssh_kex: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,[email protected]
ios:
vars:
ssh_encryption: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc
ssh_kex: curve25519-sha256,[email protected],ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
model_map:
juniper: junos
cisco: ios
cisco-nx: nxos
force10: ftos
hooks:
push_to_remote:
type: githubrepo
events: [post_store]
remote_repo: XXXX
username: XXXX
password: XXXXXX
# remote_repo: [email protected]
# publickey: /root/.ssh/id_rsa.pub
# privatekey: /root/.ssh/id_rsa