oxidized icon indicating copy to clipboard operation
oxidized copied to clipboard

More than one output

Open Tibshot opened this issue 8 years ago • 6 comments

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

Tibshot avatar Aug 23 '17 16:08 Tibshot

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 avatar Sep 11 '17 18:09 danilopopeye

@danilopopeye Sorry I'm not a Ruby dev so this one is out of my ability to check :/

laf avatar Sep 12 '17 08:09 laf

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.

ytti avatar Mar 17 '18 14:03 ytti

Any news on this?

mortzu avatar May 13 '22 19:05 mortzu

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.

ytti avatar May 14 '22 07:05 ytti

Then I'll close this issue, ok?

mortzu avatar May 14 '22 11:05 mortzu