Closed sirK84 closed 7 years ago
Hi, thanks for the precise description of the issue. I'm able to reproduce it and I'll try to fix it ASAP. I'll notify you when the issue is fixed.
Lukas
Fixed by ef9ffef51a11606c407c2db1b1605cffcd795282. (devel branch)
By the way, you probably noticed that API for accessing message elements, etc. is not very userfriendly. We are working on a new, much better, collector API and internal collector design. Stay tuned.
Hi, I'm trying to write storage plugin for ipfixcol, and I came across some odd behavior. In case of short disconnection of ipfix exporter (shorter than closing time of storage plugin), we can loose templates that were received after reconnect and thus shall not be removed.
ipfixcol version: 0.9.2
I've prepared simple storage plugin implementation just for testing purposes (see attachment test_plugin.zip), and tested it in following scenario:
$ ipfixcol -s -v3
... Jan 23 15:18:23 ipfixcol[5863]: INFO: configurator: [5863] Opening storage xml_conf: /usr/local/share/ipfixcol/plugins/libtest_storage_plugin.so Jan 23 15:18:23 ipfixcol[5863]: INFO: configurator: No profile configuration ...I think that this is not desired behavior since it's not hard to imagine that some storage plugins can have prolonged closing time (especially if they are connected to remote databases).
I've tried this also for TCP input and results were the same. I'm attaching the logs for review: logs.zip
Kind Regards Krzysztof