This document discusses monitoring the performance of Nginx web servers using Dynatrace. It describes how to install and configure Dynatrace agents to monitor Nginx and collect performance metrics. The Dynatrace architecture is explained and it shows how to set up system profiles, deploy sensors for PHP applications, and view performance data in PurePaths.
Nginx performance monitoring with Dynatrace Dynatrace community webinar Harald Zeitlhofer November 2014 harald.zeitlhofer@dynatrace.com @HZeitlhofer COMPANY CONFIDENTIAL 1 – DO NOT DISTRIBUTE #Dynatrace
Nginx • Fast, lightweight HTTP server • Open Source • Install via apt-‐get, rpm, … • Get source code and compile yourself • Link required modules at compilaPon • Dynamic modules planned COMPANY CONFIDENTIAL 5 – DO NOT DISTRIBUTE #Dynatrace
6.
Nginx+ • Commercial version • Extended funcPonality and enterprise support • Enhanced load balancer • Video streaming • 30 days free trial • RegistraPon on Nginx.com • Only binary distribuPon • Live acPvity monitoring COMPANY CONFIDENTIAL 6 – DO NOT DISTRIBUTE #Dynatrace
Nginx and Dynatrace • Debug symbols required for nginx binary • hWps://community.compuwareapm.com/community/display/ DOCDT60/NGINX+DistribuPons • Ubuntu: use package nginx-‐full COMPANY CONFIDENTIAL 9 – DO NOT DISTRIBUTE #Dynatrace
10.
Dynatrace • Download free trial: hWp://bit.ly/dWrial • Install Dynatrace as described • AcPvate license • Restart server COMPANY CONFIDENTIAL 10 – DO NOT DISTRIBUTE #Dynatrace
11.
Dynatrace architecture Database … Dynatrace Collector Performance Warehouse Dynatrace Server Dynatrace Clients COMPANY CONFIDENTIAL 11 – DO NOT DISTRIBUTE #Dynatrace
12.
Dynatrace architecture Database Dynatrace Webserveragent Dynatrace Collector Performance Warehouse Dynatrace Server Dynatrace Clients … COMPANY CONFIDENTIAL 12 – DO NOT DISTRIBUTE #Dynatrace
PHP Fast Process Manager (PHP-‐FPM) • Load PHP agent in php.ini extension=/opt/dynatrace/agent/lib64/libdtagent.so COMPANY CONFIDENTIAL 19 – DO NOT DISTRIBUTE #Dynatrace
Dynatrace ApplicaPon Monitoring Free Trial: hWp://bit.ly/dWrial More informaPon: hWp://www.dynatrace.com hWp://bit.ly/dWrial COMPANY CONFIDENTIAL 26 – DO NOT DISTRIBUTE #Dynatrace