author | Pavel Rochnyack <pavel2000@ngs.ru> | |
Sat, 8 Jul 2017 18:04:05 +0000 (01:04 +0700) | ||
committer | Pavel Rochnyack <pavel2000@ngs.ru> | |
Thu, 21 Sep 2017 03:27:05 +0000 (10:27 +0700) | ||
commit | 2dbe83fde7c4c89738f5c91153d0ee05e9c5e26c | |
tree | b2893a68f61b605a0b698659a56e6376bdff2979 | tree | snapshot |
parent | ebf73b656a05c937ac8ab9f36753ac637c36df25 | commit | diff |
openvpn: reworked status file parser
* Added detection of status fields index by parsing 'HEADER' lines.
This allows to support status files from latest OpenVPN-2.4 and possible from future versions;
* Fixed a bug with OpenVPN status file version 3 where delimiter is 'tab' (not space or comma);
* Status file version detection was moved from configuration callback to read callback;
* Now 'plugin_register_complex_read()' is used for registering read callback.
Closes: #2128
* Added detection of status fields index by parsing 'HEADER' lines.
This allows to support status files from latest OpenVPN-2.4 and possible from future versions;
* Fixed a bug with OpenVPN status file version 3 where delimiter is 'tab' (not space or comma);
* Status file version detection was moved from configuration callback to read callback;
* Now 'plugin_register_complex_read()' is used for registering read callback.
Closes: #2128
src/collectd.conf.pod | diff | blob | history | |
src/openvpn.c | diff | blob | history |