| author | Pavel Rochnyack <pavel2000@ngs.ru> | |
| Mon, 10 Jul 2017 06:24:08 +0000 (13:24 +0700) | ||
| committer | Pavel Rochnyack <pavel2000@ngs.ru> | |
| Tue, 11 Jul 2017 12:59:01 +0000 (19:59 +0700) | ||
| commit | cb90ca86e2c9b797b292ecf26ac4220355a30a4d | |
| tree | 9e06be2679b48ee7c8fb4e68639aeb49d4fc8e17 | tree | snapshot |
| parent | bea5daaed7b5cf9160207a95292947873fdcf927 | commit | diff |
nut plugin: Multi-threaded ups polling with connect timeout.
Changes:
* Implemented use of 'plugin_register_complex_read', so querying will be multi-threaded;
* Added 'ConnectTimeout' option, implemented with use of 'upscli_tryconnect()' added in nut-2.6.2;
* The `upscli_cleanup()` should be called only at Collectd shutdown, excessive calls was removed;
* Added `upscli_init()` call if `ForceSSL` enabled.
* Added a check for duplicated values in `UPS` option.
Closes: #2344
Changes:
* Implemented use of 'plugin_register_complex_read', so querying will be multi-threaded;
* Added 'ConnectTimeout' option, implemented with use of 'upscli_tryconnect()' added in nut-2.6.2;
* The `upscli_cleanup()` should be called only at Collectd shutdown, excessive calls was removed;
* Added `upscli_init()` call if `ForceSSL` enabled.
* Added a check for duplicated values in `UPS` option.
Closes: #2344
| configure.ac | diff | blob | history | |
| src/collectd.conf.in | diff | blob | history | |
| src/collectd.conf.pod | diff | blob | history | |
| src/nut.c | diff | blob | history |