<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CRIN Trac: Ticket #117: Install Newrelic on Crin2</title>
    <link>https://trac.crin.org/trac/ticket/117</link>
    <description>&lt;p&gt;
Peter has requested that Newrelic be installed on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Note that last time it was installed we had to remove it due to the resources it was using, see this thread &lt;a class="new ticket" href="https://trac.crin.org/trac/ticket/73#comment:24" title="defect: CRIN2 ran out of memory (new)"&gt;ticket:73#comment:24&lt;/a&gt;, so I'd advise against leaving it on the server all the time.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CRIN Trac</title>
      <url>https://trac.crin.org/trac/chrome/site/logo.gif</url>
      <link>https://trac.crin.org/trac/ticket/117</link>
    </image>
    <generator>Trac 1.0.2</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 18 May 2017 10:53:26 GMT</pubDate>
      <title>hours changed; totalhours set</title>
      <link>https://trac.crin.org/trac/ticket/117#comment:1</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/117#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                set to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Following &lt;a class="ext-link" href="https://docs.newrelic.com/docs/servers/new-relic-servers-linux/installation-configuration/install-ubuntu-debian-new-relic-servers"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;the instructions&lt;/a&gt;, we already had a &lt;tt&gt;/etc/apt/sources.list.d/newrelic.list&lt;/tt&gt; file containing "deb &lt;a class="ext-link" href="http://apt.newrelic.com/debian/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://apt.newrelic.com/debian/&lt;/a&gt; newrelic non-free" so the gpg key will also be there so:
&lt;/p&gt;
&lt;pre class="wiki"&gt;apt-get install newrelic-sysmond
nrsysmond-config --set license_key=XXX
systemctl start newrelic-sysmond
&lt;/pre&gt;&lt;p&gt;
So there should soon be some stats...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 May 2017 11:53:38 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/117#comment:2</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/117#comment:2</guid>
      <description>
        &lt;p&gt;
The firewall needs updating on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin1"&gt;Crin1&lt;/a&gt; to allow incoming connections from New Relic:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://docs.newrelic.com/docs/apm/new-relic-apm/getting-started/networks"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://docs.newrelic.com/docs/apm/new-relic-apm/getting-started/networks&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 May 2017 12:24:39 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/117#comment:3</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/117#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.25&lt;/em&gt; to &lt;em&gt;0.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Looking at the &lt;a class="ext-link" href="https://docs.newrelic.com/docs/apm/new-relic-apm/getting-started/networks"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;networks page&lt;/a&gt;, it is mostly about outging traffic and none is blocked, there is also:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
If you want to configure your firewall to allow New Relic to access your monitoring URL
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
I assume that "monitoring URL" is going to use HTTP or HTTPS? In which case that isn't an issue either as we allow port 80 and 443 traffic to the server, it is a web server after all...
&lt;/p&gt;
&lt;p&gt;
So I can't see that we need to do anything?
&lt;/p&gt;
&lt;p&gt;
Peter -- have I missed something here?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>peter</dc:creator>

      <pubDate>Tue, 23 May 2017 13:20:06 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/117#comment:4</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/117#comment:4</guid>
      <description>
        &lt;pre class="wiki"&gt;Hi Chris. Have we restarted php-fpm?
On Tue, 23 May 2017 at 13:24 CRIN Trac &amp;lt;trac@trac.crin.org&amp;gt; wrote:
&amp;gt; #117: Install Newrelic on Crin2
&amp;gt; ------------------------------------+-----------------------------------
&amp;gt;                  Reporter:  chris   |                Owner:  chris
&amp;gt;                      Type:  defect  |               Status:  new
&amp;gt;                  Priority:  major   |            Milestone:  Maintenance
&amp;gt;                 Component:  crin2   |              Version:
&amp;gt;                Resolution:          |             Keywords:
&amp;gt; Estimated Number of Hours:  0       |  Add Hours to Ticket:  0.25
&amp;gt;                 Billable?:  1       |          Total Hours:  0.25
&amp;gt; ------------------------------------+-----------------------------------
&amp;gt; Changes (by chris):
&amp;gt;
&amp;gt;  * hours:  0 =&amp;gt; 0.25
&amp;gt;  * totalhours:  0.25 =&amp;gt; 0.5
&amp;gt;
&amp;gt;
&amp;gt; Comment:
&amp;gt;
&amp;gt;  Looking at the [https://docs.newrelic.com/docs/apm/new-relic-apm/getting-
&amp;gt;  started/networks networks page], it is mostly about outging traffic and
&amp;gt;  none is blocked, there is also:
&amp;gt;
&amp;gt;  &amp;gt; If you want to configure your firewall to allow New Relic to access your
&amp;gt;  monitoring URL
&amp;gt;
&amp;gt;  I assume that "monitoring URL" is going to use HTTP or HTTPS? In which
&amp;gt;  case that isn't an issue either as we allow port 80 and 443 traffic to the
&amp;gt;  server, it is a web server after all...
&amp;gt;
&amp;gt;  So I can't see that we need to do anything?
&amp;gt;
&amp;gt;  Peter -- have I missed something here?
&amp;gt;
&amp;gt; --
&amp;gt; Ticket URL: &amp;lt;https://trac.crin.org/trac/ticket/117#comment:3&amp;gt;
&amp;gt; CRIN Trac &amp;lt;https://trac.crin.org/trac&amp;gt;
&amp;gt; Trac project for CRIN website and servers.
&amp;gt;
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>peter</dc:creator>

      <pubDate>Tue, 23 May 2017 13:31:34 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/117#comment:5</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/117#comment:5</guid>
      <description>
        &lt;pre class="wiki"&gt;We are missing the newrelic.ini file.
The mods-available is pointing to a file that does not exist.
I'll see what we need to put in it.
lrwxrwxrwx 1 root root 33 May 14  2016 20-newrelic.ini -&amp;gt;
../../mods-available/newrelic.ini
On Tue, 23 May 2017 at 14:20 CRIN Trac &amp;lt;trac@trac.crin.org&amp;gt; wrote:
&amp;gt; #117: Install Newrelic on Crin2
&amp;gt; ------------------------------------+-----------------------------------
&amp;gt;                  Reporter:  chris   |                Owner:  chris
&amp;gt;                      Type:  defect  |               Status:  new
&amp;gt;                  Priority:  major   |            Milestone:  Maintenance
&amp;gt;                 Component:  crin2   |              Version:
&amp;gt;                Resolution:          |             Keywords:
&amp;gt; Estimated Number of Hours:  0       |  Add Hours to Ticket:  0
&amp;gt;                 Billable?:  1       |          Total Hours:  0.5
&amp;gt; ------------------------------------+-----------------------------------
&amp;gt;
&amp;gt; Comment (by peter):
&amp;gt;
&amp;gt;  {{{
&amp;gt;  Hi Chris. Have we restarted php-fpm?
&amp;gt;
&amp;gt;  On Tue, 23 May 2017 at 13:24 CRIN Trac &amp;lt;trac@trac.crin.org&amp;gt; wrote:
&amp;gt;
&amp;gt;  &amp;gt; #117: Install Newrelic on Crin2
&amp;gt;  &amp;gt; ------------------------------------+-----------------------------------
&amp;gt;  &amp;gt;                  Reporter:  chris   |                Owner:  chris
&amp;gt;  &amp;gt;                      Type:  defect  |               Status:  new
&amp;gt;  &amp;gt;                  Priority:  major   |            Milestone:  Maintenance
&amp;gt;  &amp;gt;                 Component:  crin2   |              Version:
&amp;gt;  &amp;gt;                Resolution:          |             Keywords:
&amp;gt;  &amp;gt; Estimated Number of Hours:  0       |  Add Hours to Ticket:  0.25
&amp;gt;  &amp;gt;                 Billable?:  1       |          Total Hours:  0.25
&amp;gt;  &amp;gt; ------------------------------------+-----------------------------------
&amp;gt;  &amp;gt; Changes (by chris):
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  * hours:  0 =&amp;gt; 0.25
&amp;gt;  &amp;gt;  * totalhours:  0.25 =&amp;gt; 0.5
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt; Comment:
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  Looking at the [https://docs.newrelic.com/docs/apm/new-relic-
&amp;gt;  apm/getting-
&amp;gt;  &amp;gt;  started/networks networks page], it is mostly about outging traffic and
&amp;gt;  &amp;gt;  none is blocked, there is also:
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  &amp;gt; If you want to configure your firewall to allow New Relic to access
&amp;gt;  your
&amp;gt;  &amp;gt;  monitoring URL
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  I assume that "monitoring URL" is going to use HTTP or HTTPS? In which
&amp;gt;  &amp;gt;  case that isn't an issue either as we allow port 80 and 443 traffic to
&amp;gt;  the
&amp;gt;  &amp;gt;  server, it is a web server after all...
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  So I can't see that we need to do anything?
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  Peter -- have I missed something here?
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt; --
&amp;gt;  &amp;gt; Ticket URL: &amp;lt;https://trac.crin.org/trac/ticket/117#comment:3&amp;gt;
&amp;gt;  &amp;gt; CRIN Trac &amp;lt;https://trac.crin.org/trac&amp;gt;
&amp;gt;  &amp;gt; Trac project for CRIN website and servers.
&amp;gt;  &amp;gt;
&amp;gt;  }}}
&amp;gt;
&amp;gt; --
&amp;gt; Ticket URL: &amp;lt;https://trac.crin.org/trac/ticket/117#comment:4&amp;gt;
&amp;gt; CRIN Trac &amp;lt;https://trac.crin.org/trac&amp;gt;
&amp;gt; Trac project for CRIN website and servers.
&amp;gt;
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>peter</dc:creator>

      <pubDate>Tue, 23 May 2017 13:45:04 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/117#comment:6</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/117#comment:6</guid>
      <description>
        &lt;pre class="wiki"&gt;PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20131226/newrelic.so'
We are also missing the main object file for the php plugin.
On Tue, 23 May 2017 at 14:31 CRIN Trac &amp;lt;trac@trac.crin.org&amp;gt; wrote:
&amp;gt; #117: Install Newrelic on Crin2
&amp;gt; ------------------------------------+-----------------------------------
&amp;gt;                  Reporter:  chris   |                Owner:  chris
&amp;gt;                      Type:  defect  |               Status:  new
&amp;gt;                  Priority:  major   |            Milestone:  Maintenance
&amp;gt;                 Component:  crin2   |              Version:
&amp;gt;                Resolution:          |             Keywords:
&amp;gt; Estimated Number of Hours:  0       |  Add Hours to Ticket:  0
&amp;gt;                 Billable?:  1       |          Total Hours:  0.5
&amp;gt; ------------------------------------+-----------------------------------
&amp;gt;
&amp;gt; Comment (by peter):
&amp;gt;
&amp;gt;  {{{
&amp;gt;  We are missing the newrelic.ini file.
&amp;gt;  The mods-available is pointing to a file that does not exist.
&amp;gt;  I'll see what we need to put in it.
&amp;gt;
&amp;gt;
&amp;gt;  lrwxrwxrwx 1 root root 33 May 14  2016 20-newrelic.ini -&amp;gt;
&amp;gt;  ../../mods-available/newrelic.ini
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;  On Tue, 23 May 2017 at 14:20 CRIN Trac &amp;lt;trac@trac.crin.org&amp;gt; wrote:
&amp;gt;
&amp;gt;  &amp;gt; #117: Install Newrelic on Crin2
&amp;gt;  &amp;gt; ------------------------------------+-----------------------------------
&amp;gt;  &amp;gt;                  Reporter:  chris   |                Owner:  chris
&amp;gt;  &amp;gt;                      Type:  defect  |               Status:  new
&amp;gt;  &amp;gt;                  Priority:  major   |            Milestone:  Maintenance
&amp;gt;  &amp;gt;                 Component:  crin2   |              Version:
&amp;gt;  &amp;gt;                Resolution:          |             Keywords:
&amp;gt;  &amp;gt; Estimated Number of Hours:  0       |  Add Hours to Ticket:  0
&amp;gt;  &amp;gt;                 Billable?:  1       |          Total Hours:  0.5
&amp;gt;  &amp;gt; ------------------------------------+-----------------------------------
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt; Comment (by peter):
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  {{{
&amp;gt;  &amp;gt;  Hi Chris. Have we restarted php-fpm?
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  On Tue, 23 May 2017 at 13:24 CRIN Trac &amp;lt;trac@trac.crin.org&amp;gt; wrote:
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  &amp;gt; #117: Install Newrelic on Crin2
&amp;gt;  &amp;gt;  &amp;gt;
&amp;gt;  ------------------------------------+-----------------------------------
&amp;gt;  &amp;gt;  &amp;gt;                  Reporter:  chris   |                Owner:  chris
&amp;gt;  &amp;gt;  &amp;gt;                      Type:  defect  |               Status:  new
&amp;gt;  &amp;gt;  &amp;gt;                  Priority:  major   |            Milestone:
&amp;gt;  Maintenance
&amp;gt;  &amp;gt;  &amp;gt;                 Component:  crin2   |              Version:
&amp;gt;  &amp;gt;  &amp;gt;                Resolution:          |             Keywords:
&amp;gt;  &amp;gt;  &amp;gt; Estimated Number of Hours:  0       |  Add Hours to Ticket:  0.25
&amp;gt;  &amp;gt;  &amp;gt;                 Billable?:  1       |          Total Hours:  0.25
&amp;gt;  &amp;gt;  &amp;gt;
&amp;gt;  ------------------------------------+-----------------------------------
&amp;gt;  &amp;gt;  &amp;gt; Changes (by chris):
&amp;gt;  &amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  &amp;gt;  * hours:  0 =&amp;gt; 0.25
&amp;gt;  &amp;gt;  &amp;gt;  * totalhours:  0.25 =&amp;gt; 0.5
&amp;gt;  &amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  &amp;gt; Comment:
&amp;gt;  &amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  &amp;gt;  Looking at the [https://docs.newrelic.com/docs/apm/new-relic-
&amp;gt;  &amp;gt;  apm/getting-
&amp;gt;  &amp;gt;  &amp;gt;  started/networks networks page], it is mostly about outging traffic
&amp;gt;  and
&amp;gt;  &amp;gt;  &amp;gt;  none is blocked, there is also:
&amp;gt;  &amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  &amp;gt;  &amp;gt; If you want to configure your firewall to allow New Relic to
&amp;gt;  access
&amp;gt;  &amp;gt;  your
&amp;gt;  &amp;gt;  &amp;gt;  monitoring URL
&amp;gt;  &amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  &amp;gt;  I assume that "monitoring URL" is going to use HTTP or HTTPS? In
&amp;gt;  which
&amp;gt;  &amp;gt;  &amp;gt;  case that isn't an issue either as we allow port 80 and 443 traffic
&amp;gt;  to
&amp;gt;  &amp;gt;  the
&amp;gt;  &amp;gt;  &amp;gt;  server, it is a web server after all...
&amp;gt;  &amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  &amp;gt;  So I can't see that we need to do anything?
&amp;gt;  &amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  &amp;gt;  Peter -- have I missed something here?
&amp;gt;  &amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  &amp;gt; --
&amp;gt;  &amp;gt;  &amp;gt; Ticket URL: &amp;lt;https://trac.crin.org/trac/ticket/117#comment:3&amp;gt;
&amp;gt;  &amp;gt;  &amp;gt; CRIN Trac &amp;lt;https://trac.crin.org/trac&amp;gt;
&amp;gt;  &amp;gt;  &amp;gt; Trac project for CRIN website and servers.
&amp;gt;  &amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;  }}}
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt; --
&amp;gt;  &amp;gt; Ticket URL: &amp;lt;https://trac.crin.org/trac/ticket/117#comment:4&amp;gt;
&amp;gt;  &amp;gt; CRIN Trac &amp;lt;https://trac.crin.org/trac&amp;gt;
&amp;gt;  &amp;gt; Trac project for CRIN website and servers.
&amp;gt;  &amp;gt;
&amp;gt;  }}}
&amp;gt;
&amp;gt; --
&amp;gt; Ticket URL: &amp;lt;https://trac.crin.org/trac/ticket/117#comment:5&amp;gt;
&amp;gt; CRIN Trac &amp;lt;https://trac.crin.org/trac&amp;gt;
&amp;gt; Trac project for CRIN website and servers.
&amp;gt;
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>peter</dc:creator>

      <pubDate>Tue, 23 May 2017 13:55:04 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/117#comment:7</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/117#comment:7</guid>
      <description>
        &lt;pre class="wiki"&gt;I have it working:
Ran the agent install again.
 sudo apt-get install newrelic-php5
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 23 May 2017 14:05:01 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/117#comment:8</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/117#comment:8</guid>
      <description>
        &lt;p&gt;
Thanks Peter, I hasn't installed the &lt;tt&gt;newrelic-php5&lt;/tt&gt; package, only the &lt;tt&gt;newrelic-sysmond&lt;/tt&gt; package, see &lt;a class="new ticket" href="https://trac.crin.org/trac/ticket/117#comment:1" title="defect: Install Newrelic on Crin2 (new)"&gt;ticket:117#comment:1&lt;/a&gt;.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 25 May 2017 10:28:13 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/117#comment:9</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/117#comment:9</guid>
      <description>
        &lt;p&gt;
Hi Peter
&lt;/p&gt;
&lt;p&gt;
Any interesting stats so far?
&lt;/p&gt;
&lt;p&gt;
Would it also be worth installing on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin1"&gt;Crin1&lt;/a&gt;? Or is there enough data in &lt;tt&gt;/var/log/mysql/mysql-slow.log&lt;/tt&gt; to work with already?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>