Using Oxidized With Librenms

Hi All

Forgive me as i’m fairly inexperienced in the world of linux, coming from a windows background so this is my first foray into the open source as my experience prior has been limited.

Im using LibreNMS, i have devices that are in groups in Librenms, Like MyGroupName1 with a specific username and password, then MygroupName2 within a specific username and password.

Oxidized is running on a separate VM. The current state is oxidized is running, it retrieves backups and is using the default username and password at the beginning of the config below and the ios model and throwing everything into the default group that Librenms is returning “defaultgrp” which is what you see in the oxidized web gui listed as the group.

What i want to achieve is to direct oxidized to use my specific group usernames and passwords, which it is not doing. I’ve seen a video somewhere that suggests that i need to modify the config.php on librenms and direct devices to my groups i have created in my oxdized config but the only example i have seen is doing it by OS type on the basis that a specific os will user a specific username and password combo which i don’t want to do.

I want to send specific credentials to specific groups and ideally i don’t want to backup any devices that are not in groups i havent declared in the oxidized config file.

Most of the devices are cisco devices running various cisco os variations, and i was curious how the model map relates to the specific OS variants. ie below i have


Is it as simple as just saying
As i’ve been getting some partial OS configs in the backups and wonder whether this is to do with model mapping.

Is someone able to offer me advice / guidance on how i might achieve what i’ve outlined above?

Thanks in advance

username: someuser
password: someverycomplicatedpassword
model: ios
resolve_dns: true
interval: 3600
use_syslog: false
debug: false
threads: 30
use_max_threads: false
timeout: 20
retries: 3
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
next_adds_job: false
    username: mygroupnamebackup
    password: mygroupnamepassword
    username: mygroupsnamebackup1
    password: mygroupnamebackup1password
group_map: {}
models: {}
pid: "/home/oxidized/.config/oxidized/pid"
  directory: "/home/oxidized/.config/oxidized/crashes"
  hostnames: false
  history_size: 10
  default: ssh
  debug: true
    secure: false
  default: file
  debug: true
    directory: "/home/oxidized/backups"
  default: http
  debug: true
      name: hostname
      model: os
      group: group
      X-Auth-Token: myverylongcomplicatedtokenblhalbhalbh
  cisco: ios
  mikrotik: routeros

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.