Hi
Is it possible to configure git output to create folders based in oxidized groups?
We have 25k devices and we need to organize git with devices in groups.
config sample:
…
groups {Router Switch}
…
default: git
git:
user: Oxidized
email: [email protected]
repo: /var/oxidized/backups/default.git
…
source:
default: csv
csv:
file: “/etc/oxidized/router.db”
delimiter: !ruby/regexp /
map:
name: 0
model: 1
group: 2
username: 3
password: 4
vars_map:
ssh_proxy: 5
gpg: false
…
Is retrieving configs perfectly but with flat hierarchy in git, sample:
Name Model Group Last Status Last Update Last Changed Actions
router 1 IOS router 2019-07-12 11:43:12 HEO 2019-07-12 11:43:13 HEO
switch 1 IOS switch 2019-07-12 11:43:12 HEO 2019-07-12 11:43:13 HEO
We would need in first page, something like:
Group Last Status Last Update Last Changed Actions
router 2019-07-12 11:43:12 HEO 2019-07-12 11:43:13 HEO
switch 2019-07-12 11:43:12 HEO 2019-07-12 11:43:13 HEO
And drill down by group name (column 1)
Thanks
Nuo