New Relic’s multi tenant, SaaS web application monitoring service collects and persists over 100,000 metrics every second on a sustained basis, while still delivering an average page load time of 1.5 seconds.  We believe that good architecture and good tools can help you handle an extremely large amount of data while still providing extremely fast service.
New Relic Platform Plugins architecture
The New Relic Platform addresses this challenge with the new plugin architecture. Plugins provide a way to monitor each of these technologies, extending the New Relic interface with custom-made dashboards specific to each. They pair the reporting of metrics specific to the technology being monitored with a first class visualization of those metrics.
Plugins dramatically expand the possibilities for what you can monitor with New Relic, in a manner that retains all the New Relic goodness you’ve come to expect. Now you’ll have immediate, actionable insight in an easy to use UI for all the technologies you rely on every day.
Plugins are made up of two parts:
* An agent that observes the system being monitored and reports metrics about that system up to the New Relic data center
* A matching set of dashboards that display those metrics
Any type of technology – from a database to a caching system or switch – can have an agent written specifically for it. And such an agent will generate metrics that make sense for that technology. Additionally, each type of agent is paired with a UI specific to that agent. So it not only shows those technology specific metrics, it also arranges the information in a way that makes sense to anyone who uses it. For example, the arrangement of dashboards for a database will make sense for those who manage that kind of database and would be significantly different for those of a caching system.
A subset of those metrics is shown in a summary page for a specific plugin and New Relic monitors those metrics continuously. Users can set thresholds for specific metrics based on predefined limits. If a threshold is passed, an alert can be sent via email or any other notification mechanism New Relic supports.
Anything that can provide performance metrics can have a plugin written for it. The only requirement is that it has some kind of API to gather the metrics. Plugins work by polling that API, gathering up the metrics and reporting them up to a New Relic account.
Features of New Relic Standard
Some of New Relic Standard’s features include:
- Call-response time analysis for real-users, applications, and databases
- Data summary for mobile applications
- HTTP requests and HTTP error-summary for mobile applications
- JVM performance analyzer
- Monitoring of server availability and resources
Sign up for New Relic Free Account
You can Sign up for New Relic Free Account: https://newrelic.com/signup
Enable the New Relic Repository
# rpm -ivh https://download.newrelic.com/pub/newrelic/el5/i386/newrelic-repo-5-3.noarch.rpm
Install the New Relic
# yum install newrelic-sysmond
Set your New Relic License Key
# nrsysmond-config --set license_key=<YOUR-UNIQUE-LICENSE-KEY>
Check your license key for verification purpose
# cat /etc/newrelic/nrsysmond.cfg
Start the New Relic Daemon
# systemctl start newrelic-sysmond
Enable the New Relic Daemon at system boot up
# systemctl enable newrelic-sysmond
Check Whether the New Relic Server Monitoring Software is working or Not
Open Internet Browsers visit https://rpm.newrelic.com/accounts/
To Add PHP Applications:
Add the New Relic repository:
32-bit:
# rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/i386/newrelic-repo-5-3.noarch.rpm
64-bit:
# rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm
Install the agent:
# yum install newrelic-php5 # newrelic-install install
Add your PHP license key
Add your license key to the file you’ve set up with your New Relic properties: newrelic.ini in /etc/php.d/
Your license setting:
newrelic.license="<your-key-goes-here>"
Stop and Start your PHP services.
Stop and Start httpd, nginx, php-fpm, etc.
In a few minutes, your application will send data to New Relic. Once New Relic receives the data, your application will be listed and the page will look below one.
To Setup other applications, please refer below mentioned steps
https://rpm.newrelic.com/accounts/1589045/applications/setup#
Basic Troubleshoot:
Once we installed we can see the data here, if you can see the data, follow below basic step to troubleshoot.
- Check both logs for content:
- Default agent log location: /var/log/newrelic/php_agent.log
- Default daemon log location: /var/log/newrelic/newrelic-daemon.log
- Restart your application (httpd, nginx etc).
For more details please refer https://newrelic.com/