<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #522: Uninstall 'collectd' as redundant in face of Munin setup</title>
    <link>http://localhost:8080/trac/ticket/522</link>
    <description>&lt;p&gt;
Collectd is no longer needed as Munin is set up and being used by wider infrastructure at Web Architects.
&lt;/p&gt;
&lt;p&gt;
Uninstall Collectd, remove from any documentation.
&lt;/p&gt;
&lt;p&gt;
-- was ---
&lt;/p&gt;
&lt;p&gt;
Every evening at 17:36 these errors are written to the &lt;tt&gt;/var/log/daemon.log&lt;/tt&gt; on &lt;a class="wiki" href="http://localhost:8080/trac/wiki/PuffinServer"&gt;wiki:PuffinServer&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;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 &amp;lt;none&amp;gt; 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
&lt;/pre&gt;</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/522</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Sat, 16 Mar 2013 11:44:32 GMT</pubDate>
      <title>description, summary changed</title>
      <link>http://localhost:8080/trac/ticket/522#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/522#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/trac/ticket/522?action=diff&amp;amp;version=1"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;summary&lt;/strong&gt;
                changed from &lt;em&gt;MySQL access denied for user 'collectd'&lt;/em&gt; to &lt;em&gt;Uninstall 'collectd' as redundant in face of Munin setup&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I &lt;em&gt;started&lt;/em&gt; 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 &lt;tt&gt;/etc/collectd/collectd.conf&lt;/tt&gt;, I never got to finishing the setup in MySQL as Chris decided to go with Munin.
&lt;/p&gt;
&lt;p&gt;
I've just commented out the lines (around 414) in the above file, and restarted collectd.
&lt;/p&gt;
&lt;p&gt;
Suggest we uninstall collectd -- I've already taken it out of .barracuda.cnf... changing title &amp;amp; desc.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Sat, 16 Mar 2013 18:25:12 GMT</pubDate>
      <title>hours, status, totalhours changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/522#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/522#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.15&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.15&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Replying to &lt;a href="http://localhost:8080/trac/ticket/522#comment:1" title="Comment 1 for Ticket #522"&gt;jim&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
I &lt;em&gt;started&lt;/em&gt; 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 &lt;tt&gt;/etc/collectd/collectd.conf&lt;/tt&gt;, I never got to finishing the setup in MySQL as Chris decided to go with Munin.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
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 &lt;a class="closed ticket" href="http://localhost:8080/trac/ticket/470#comment:41" title="maintenance: Penguin install and configuration (closed: fixed)"&gt;ticket:470#comment:41&lt;/a&gt;
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Regarding collectd it looks like generating stats from things like php-fpm would need some work, but there is a &lt;a class="ext-link" href="https://collectd.org/wiki/index.php/Plugin:cURL-JSON/phpfpm"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;example&lt;/a&gt; of how to do it. Personally I think we should probably stick with Munin for now.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Suggest we uninstall collectd -- I've already taken it out of .barracuda.cnf... changing title &amp;amp; desc.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
OK:
&lt;/p&gt;
&lt;pre class="wiki"&gt;dpkg -r collectd-core collectd
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>