Using Oxidized to take backup for HP Aruba switches automatically

Good Evening all,

I want to be able to take backup automatically using oxidized as am using librenms as monitoring tool. Can someone send me what are the steps for the installation of oxidized so that i can be able to automatic backup for 100 switches which are HP ARUBA. Your help is really appreciated.

Kindest regards,
Elia Otito

Hi!

You can find the information here: https://docs.librenms.org/Extensions/Oxidized/
And here is the installation instructions of Oxidized: https://github.com/ytti/oxidized

BR Matte

Dear Matte,

Thank you so much can i installed this on the box with my librenms or it need to be on different box.

Kindest regards,
Elia Otito

Matte_Nilsson,

I have follow the steps but its very confusing oxidized. I am just getting error message: They real need to work on documentation setting up this oxidized and even librensm was not easy for me, The step are very confusing.

Below is the error message:

oxidized@wihl-librenms:~$ oxidized
I, [2025-03-20T10:09:39.096340 #2772250] INFO – : Oxidized starting, running as pid 2772250
I, [2025-03-20T10:09:39.096886 #2772250] INFO – : lib/oxidized/nodes.rb: Loading nodes
F, [2025-03-20T10:09:39.096968 #2772250] FATAL – : Oxidized crashed, crashfile written in /home/oxidized/.config/oxidized/crash
No such file or directory @ rb_sysopen - /home/oxidized/.config/oxidized/router.db

Hello!

It looks like you ar missing the file “router.db”
We dont use that because we use the API to LibreNMS, You can see the API settings under “source” in the config file.
Here is our config:

---
username: XXXXXXX
password: XXXXXXX
model: procurve
resolve_dns: true
interval: 43200
use_syslog: false
debug: false
threads: 30
timeout: 60
retries: 3
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
rest: 192.168.0.1:8888
next_adds_job: false
#log: /home/oxidized/.config/oxidized/log
vars:
  auth_methods: [ "none", "publickey", "password", "keyboard-interactive" ]
groups:
  aruba:
    username: XXXXXXX
    password: XXXXXXX
  procurve:
    username: XXXXXXX
    password: XXXXXXX
  iosxe:
    username: XXXXXXX
    password: XXXXXXX
  comware:
    username: XXXXXXX
    password: XXXXXXX
  fortigate:
    username: XXXXXXX
    password: XXXXXXX
models: {}
pid: "/home/oxidized/.config/oxidized/pid"
crash:
  directory: "/home/oxidized/.config/oxidized/crashes"
  hostnames: false
stats:
  history_size: 10
input:
  default: ssh, telnet
  debug: false
  ssh:
    secure: false
  ftp:
    passive: true
  utf8_encoded: true
output:
  debug: false
  default: file
  file:
    directory: "/home/oxidized/.config/oxidized/configs"
source:
  default: http
  debug: false
  http:
    url: http://192.168.0.1/api/v0/oxidized
    map:
      name: hostname
      model: os
      group: group
    headers:
      X-Auth-Token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
model_map:
  arubaos-cx: aoscx
  hp: comware
  cisco: iosxe
  fortigate: fortios

BR Matte

Sorry, I am not following you, So what should i do to rectify the issue.

This is the error message below:

root@wihl-librenms:~# oxidized
I, [2025-03-20T10:24:20.636236 #2802806] INFO – : Oxidized starting, running as pid 2802806
I, [2025-03-20T10:24:20.636786 #2802806] INFO – : lib/oxidized/nodes.rb: Loading nodes
F, [2025-03-20T10:24:20.636874 #2802806] FATAL – : Oxidized crashed, crashfile written in /root/.config/oxidized/crash
No such file or directory @ rb_sysopen - /root/.config/oxidized/router.db

Remove the config line that specifies /root/.config/oxidized/router.db