Open
Description
- Version of collectd:
collectd-5.7.2-1.el7.x86_64 - Operating system / distribution:
[root@ls-engine1 ~]# cat /etc/*release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.4 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="7.4"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.4 Beta (Maipo)"
[root@ls-engine1 ~]# uname -a
Linux ls-engine1.com 3.10.0-663.el7.x86_64 Collectd 4.10 #1 SMP Tue May 2 16:00:29 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
Expected behavior
When collectd service is stopped. no (or just few) messages should be logged to syslog. Unfortunately collectd is still trying to connect with write_httpd plugin and errors are logged to syslog every 10seconds numerous times.
Actual behavior
Collectd spamming syslog
Steps to reproduce
- step 1
Edit http_write plugin conf so it will fail to connect - step 2
Restart collectd - should fail on connect of mentioned plugin - step 4
Stop collectd service - step 5
Check syslog for messages of collectd trying to connect with write_http plugin