{"id":266,"date":"2013-10-15T08:56:56","date_gmt":"2013-10-15T08:56:56","guid":{"rendered":"http:\/\/www.nicovs.be\/?p=266"},"modified":"2015-11-12T10:56:21","modified_gmt":"2015-11-12T10:56:21","slug":"configure-newrelic-on-plesk","status":"publish","type":"post","link":"https:\/\/www.nicovs.be\/?p=266","title":{"rendered":"Configure NewRelic on Plesk"},"content":{"rendered":"<p>Installing NewRelic on a Plesk server is as straight forward as any other NewRelic installation. However&#8230; it&#8217;s not that easy to split up your PHP Applications on a per vhost configuration in Plesk.<\/p>\n<p>I found this to be very usefull: <a title=\"NewRelic Custom Template\" href=\"https:\/\/github.com\/pixlsHQ\/plesk.templates.newrelic\" target=\"_blank\">pixlsHQ NewRelic Customer Template for Plesk<\/a><\/p>\n<p>It adds the NewRelic Application names inside the by Plesk generated vhost configurations.<\/p>\n<p>It&#8217;s very easy to implement, so I won&#8217;t explain here how to do it \ud83d\ude42<\/p>\n<p>Update November 12 &#8211; 2015:<br \/>\nThe github link does no longer work on Plesk v12. However, the following easy work around is sufficient for my needs.<br \/>\nJust add <\/p>\n<blockquote><p>newrelic.appname = &#8220;{DOCROOT}&#8221;<\/p><\/blockquote>\n<p>to you Service Plans => PHP Settings => Additional configuration directives.<\/p>\n<p>That way, you&#8217;ll get every subscriptions reported as a different Application with a name of: \/var\/www\/vhosts\/<em>subscriptionname<\/em>\/httpdocs<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing NewRelic on a Plesk server is as straight forward as any other NewRelic installation. However&#8230; it&#8217;s not that easy to split up your PHP Applications on a per vhost configuration in Plesk. I found this to be very usefull: pixlsHQ NewRelic Customer Template for Plesk It adds the NewRelic Application names inside the by [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[20,4,45,44,73,19,6],"tags":[],"class_list":["post-266","post","type-post","status-publish","format-standard","hentry","category-centos","category-debian","category-linux","category-php","category-plesk-2","category-red-hat","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.nicovs.be\/index.php?rest_route=\/wp\/v2\/posts\/266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nicovs.be\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nicovs.be\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nicovs.be\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nicovs.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=266"}],"version-history":[{"count":4,"href":"https:\/\/www.nicovs.be\/index.php?rest_route=\/wp\/v2\/posts\/266\/revisions"}],"predecessor-version":[{"id":379,"href":"https:\/\/www.nicovs.be\/index.php?rest_route=\/wp\/v2\/posts\/266\/revisions\/379"}],"wp:attachment":[{"href":"https:\/\/www.nicovs.be\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nicovs.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nicovs.be\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}