Home Directory Plugins Web Servers Others check_passenger_memory_stats_apache_processes_apache2_vmsize_max.sh

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com


Remember Me

Directory Tree


Current Version
Last Release Date
Compatible With
  • Nagios 2.x
  • Nagios 3.x
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check passenger memory stats, specifically for Apache processes apache2 VMSize max.
Phusion Passenger connects a webserver to Ruby On Rails. The passenger-memory-stats command provides real time information on memory use by Apache processes, Passenger processes, and Rails. See http://phusion.nl

Phusion Passenger comes with a command to show real time passenger memory stats.

This Nagios plugin calls the passenger memory stats command, specifically for Apache processes apache2 VMSize max.

This is open source freeware. Choose any license you like: MIT, BSD, GPL.

We use this script to do Nagios monitoring on our web servers that are running Ruby On Rails, Apache and Phusion Passenger.

For more info on Passenger & Nagios:

Phusion Passenger: http://phusion.nl

Nagios monitoring: http://www.nagios.org

Nagios graph tool: http://nagiosgraph.sourceforge.net

We use this script for gathering memory stats info which we display using Nagios Graph overlaid with other Nagios stats, so this script always outputs "OK" rather than any alerts.

If you want to use the critical alert features of Nagios, then you can modify this script to return different output depending on whatever values that you feel are best for your own server, available RAM, and Passenger settings. If you need help with this, feel free to contact me.