Nagios Plugin + Phusion Passenger Memory Stats

What is Nagios?

Nagios is software for monitoring servers and systems.

Nagios can check many kinds of system metrics:

See http://nagios.org

What is a Nagios plugin?

A Nagios plugin is a system monitoring scripts that print out data in a way that Nagios can understand.

We write our own Nagios plugin scripts to monitor aspects of our system such as how many people are signed in, when critical files are modified, and Ruby On Rails errors.

See http://nagiosplug.sourceforge.net/developer-guidelines.html

What is Phusion Passenger?

Phusion Passenger is the software we use to connect our Apache webserver to our Ruby On Rails applications; it is similar to mod_perl.

See http://phusion.nl/

What is Passenger Memory Stats?

The passenger-memory-stats command prints diagnositic messages about a Phusion Passenger setup.

See Phusion Passenger Memory Stats

Use a Nagios plugin to monitor Passenger Memory Stats?

To use Nagios to monitor Passenger Memory Stats, we created Nagios plugin scripts that work much like the parse shell scripts above.

We monitor these sections:

We monitor these values:

Download

To download our Nagios plugin scripts for Passenger Memory Stats:

You may need to customize these scripts for your own systems, depending on which version of Phusion Passenger you're using, and how your system runs Apache and Passenger.

If you know GitHub and Git, feel free to fork and clone as you like. If you want to improve these scripts, or add to them, feel free to send us a pull request.



What's Next?

blog comments powered by Disqus