Ticket #522 (closed maintenance: fixed)

Opened 4 years ago

Last modified 4 years ago

Uninstall 'collectd' as redundant in face of Munin setup

Reported by: chris Owned by: chris
Priority: minor Milestone:
Component: Live server Keywords:
Cc: jim, ed Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0.15

Description (last modified by jim) (diff)

Collectd is no longer needed as Munin is set up and being used by wider infrastructure at Web Architects.

Uninstall Collectd, remove from any documentation.

-- was ---

Every evening at 17:36 these errors are written to the /var/log/daemon.log on wiki:PuffinServer

Mar 15 17:36:41 puffin mysqld: 130315 17:36:41 [Warning] Access denied for user 'collectd'@'localhost' (using password: YES)
Mar 15 17:36:41 puffin collectd[57763]: mysql plugin: Failed to connect to database <none> at server localhost: Access denied for user 'collectd'@'localhost' (using password: YES)
Mar 15 17:36:41 puffin collectd[57763]: read-function of plugin `mysql' failed. Will suspend it for 86400 seconds.
Mar 15 18:18:10 puffin mysqld: cron, s.conditions, s.lang

Change History

comment:1 follow-up: ↓ 2 Changed 4 years ago by jim

  • Description modified (diff)
  • Summary changed from MySQL access denied for user 'collectd' to Uninstall 'collectd' as redundant in face of Munin setup

I started work on adding MySQL and NGINX reporting to collectd... The latter works, but while I put the stub in for the for MySQL monitoring in /etc/collectd/collectd.conf, I never got to finishing the setup in MySQL as Chris decided to go with Munin.

I've just commented out the lines (around 414) in the above file, and restarted collectd.

Suggest we uninstall collectd -- I've already taken it out of .barracuda.cnf... changing title & desc.

comment:2 in reply to: ↑ 1 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.15
  • Status changed from new to closed
  • Resolution set to fixed
  • Total Hours changed from 0.0 to 0.15

Replying to jim:

I started work on adding MySQL and NGINX reporting to collectd... The latter works, but while I put the stub in for the for MySQL monitoring in /etc/collectd/collectd.conf, I never got to finishing the setup in MySQL as Chris decided to go with Munin.

The advantage with munin is the the plugins are easy to hack on, they are generally written in perl and bash, with collectd they are written in C, as mentioned in ticket:470#comment:41

Regarding collectd it looks like generating stats from things like php-fpm would need some work, but there is a example of how to do it. Personally I think we should probably stick with Munin for now.

Suggest we uninstall collectd -- I've already taken it out of .barracuda.cnf... changing title & desc.

OK:

dpkg -r collectd-core collectd
Note: See TracTickets for help on using tickets.