You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Using collectd 4.10.1-2 (Ubuntu 10.10 Maverick repo)
When changing the collectd interval to 30, apcups plugin always fails polling after the initial poll succeeds. This causes the plugin to be paused and stats not collected.
Syslog entries will look something like:
Jun 15 14:55:28 codis collectd[2607]: apcups plugin: Writing to the socket failed.
Jun 15 14:55:28 codis collectd[2607]: read-function of plugin `apcups' failed. Will suspend it for 60 seconds.
Jun 15 14:56:58 codis collectd[2607]: apcups plugin: Writing to the socket failed.
Jun 15 14:56:58 codis collectd[2607]: read-function of plugin `apcups' failed. Will suspend it for 60 seconds.
Steps To Reproduce: Change collectd interval to 30
Additional Information: This appears to be due to attempting to reuse the network socket and not handling any failures. Workaround is to open a new socket each time.
Patch attached to close the socket everytime. Cleaner patch should probably attempt to reuse the socket if possible and then open a new one on error.
While they are correctly encoded, e.g. as "", browsers will
complain about invalid XML and not render the page. Ignore all control
characters other than whitespace.
From: Edwin (Mantis #38)
Description: Using collectd 4.10.1-2 (Ubuntu 10.10 Maverick repo)
When changing the collectd interval to 30, apcups plugin always fails polling after the initial poll succeeds. This causes the plugin to be paused and stats not collected.
Syslog entries will look something like:
Steps To Reproduce: Change collectd interval to 30
Additional Information: This appears to be due to attempting to reuse the network socket and not handling any failures. Workaround is to open a new socket each time.
Patch attached to close the socket everytime. Cleaner patch should probably attempt to reuse the socket if possible and then open a new one on error.
The text was updated successfully, but these errors were encountered: