Code

apcups plugin: Retry sending the "status" command.
authorFlorian Forster <octo@collectd.org>
Thu, 13 Sep 2012 08:18:14 +0000 (10:18 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 13 Sep 2012 08:19:11 +0000 (10:19 +0200)
commitdce49231bf8af989aceb34e0e80546503d687b6d
tree927621819f64913ccd3ed38718f4fabf63934b6a
parent3855d8f3a6310d739d35ba9fa86c35d813abf859
apcups plugin: Retry sending the "status" command.

If that fails more than twice in the first 10 iterations, gracefully shut
down the socket in all future iterations.

This should fix Github issue #15.
src/apcups.c