oxidized
oxidized copied to clipboard
More than one output
Tested with:
default: git, file
Git output is displayed in WebUI, conf are saved with git + file
yaml conf:
output:
default: git, file
git:
single_repo: true
user: oxidized
email: [email protected]
repo: /var/lib/oxidized/devices.git
debug: true
file:
directory: /var/lib/oxidized/files
there's also a point I don't know what we should do here.
In the #process method since we will have more the one output, the hook :post_store will be invoked for each output configured. But we don't pass any reference as from which output it's being invoked from. Maybe we don't want to fire several :post_store for each node, I'm not convinced this is the best path forward.
wdyt? /cc @ytti @laf @aakso @ElvinEfendi
@danilopopeye Sorry I'm not a Ruby dev so this one is out of my ability to check :/
I think we should have this feature, but I accept the plugin issue needs to be answered, and I don't have answer right now.
Any news on this?
Any news on this?
I have no plans at least to work on refactoring plugin for output model awareness. Considering dumping flat files from github is oneliner you. can run from crontab seems odd that the only reason people want this, is for git+flat file, communicating that likely whole feature request is operator mistake.
Then I'll close this issue, ok?