Your data. Anywhere you go.

New Relic for iOS or Android

Download on the App Store    Android App on Google play

New Relic Insights App for iOS

Download on the App Store

Learn more

Close icon


Published and supported by Second Rotation EC2

A New Relic agent to collect status information from phusion passenger via the xml output of the 'passenger-status' command and the output of the 'free' command

NOTE!!! Currently written to support passenger 4, parsing may not work correctly with passenger 3 outputs

Passenger Agent Installation

  1. Download the latest version
  2. Extract to the location you want to run the agent from
  3. bundle install to get the necessary gems
  4. Copy config/template_newrelic_plugin.yml to config/newrelic_plugin.yml
  5. Edit config/newrelic_plugin.yml and replace "YOUR_LICENSE_KEY_HERE" with your New Relic license key
  6. Edit config/newrelic_plugin.yml and add the full path to your 'passenger-status --show=xml' and 'free -m' commands if needed, as well as the hostname (as you want it to appear in NewRelic)
  7. Run ./newrelic_passenger_agent

Data Collected

Data for this agent is collected by running the commands 'passenger-status --show=xml' and 'free -m' then parsing the results

Data captured for => passenger-status --show=xml - # of processes running (max and current) - # waiting in queue - total sessions active - total cpu usage - memory usage by process

Data captured for => free -m - Total memory - Memory used (all) - Memory free (all) - shared memory - allocated to buffers - cached - memory used by applications - memory available to applications - total swap - swap used - swap free - % Memory free (for summary metrics page)

Installing via chef?

check out

The passenger plugin extends the power of New Relic's monitoring capabilities.

Get This Plugin

Already have a New Relic account? Log in and begin using this plugin.

If you don't have a New Relic account, follow these three simple steps:

How To Install A Plugin

Installing a plugin is simple and fast.

a Plugin
  1. Step One

    Sign in to your New Relic account

  2. Step Two

    Select and install plugin

  3. Step Three

    Start seeing data

That’s it. You’re done. Simple.

Sign Up for New Relic

Back to top icon