Last active
August 25, 2025 05:48
-
-
Save FlorianHeigl/13e2d8370364e680ef1dbfe7f31681d2 to your computer and use it in GitHub Desktop.
oxidized config with netbox api as router.db backend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| username: root | |
| password: unused | |
| rest: 0.0.0.0:8888 | |
| debug: false | |
| input: | |
| default: ssh | |
| ssh: | |
| secure: false | |
| source: | |
| default: http | |
| http: | |
| user: false | |
| url: http://192.168.xx.yy:8000/api/dcim/devices/?status=active | |
| scheme: http | |
| delimiter: !ruby/regexp /:/ | |
| hosts_location: results | |
| map: | |
| name: name | |
| model: platform.name | |
| headers: | |
| Authorization: Token 4321 | |
| output: | |
| default: git | |
| user: zz:Oxidized | |
| email: [email protected] | |
| repo: "~/.config/oxidized/oxidized.git" | |
| git: | |
| user: Oxidized | |
| email: [email protected] | |
| repo: "/root/.config/oxidized/oxidized.git" | |
| vars: | |
| remove_secret: true | |
| models: | |
| boss: | |
| username: RW | |
| password: S_DS_DD_F_DSF | |
| junos: | |
| username: ansible | |
| password: XSXDSFEWWFE | |
| mlnxos: | |
| username: XXX | |
| password: VVV | |
| vars: | |
| auth_methods: | |
| - keyboard-interactive | |
| pfsense: | |
| username: BBB | |
| password: TTT | |
| tplink: | |
| username: admin | |
| password: aaa | |
| vars: | |
| auth_methods: | |
| - password | |
| linuxgeneric: | |
| username: zz | |
| password: zz | |
| model_map: | |
| juniper: junos | |
| JunOS: junos | |
| cisco: ios | |
| cisco_asa: asa | |
| cisco_ios: ios | |
| MLNX-OS: mlnxos | |
| RouterOS: routeros | |
| BOSS: boss | |
| avaya: boss | |
| pfSense: pfsense | |
| TPLink : tplink | |
| Ubuntu Linux: linuxgeneric |
I think there was some gitlab plugin or something that could link to the configs from netbox, but i didn't find it anymore and i think you can more easily make custom links in netbox now, so that should have the same (good) effect.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The repo paths are still questionable, this was my first setup
repo: "~/.config/oxidized/oxidized.git"repo: "/root/.config/oxidized/oxidized.git"do intensive testing, before following, i.e. if it's containerized, tear it all down and see if you still got your configs if you bring it back up.
it's super easy to get it wrong and have your configs in transient storage - or lost them for a lot of other fancy reasons.
once you got it right though, it'll be ok.