Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env ruby
# Munin graph for Passenger Memory Stats
# put in /etc/munin/plugins and restart munin-node
# by Dan Manges, http://www.dcmanges.com/blog/rails-application-visualization-with-munin
# NOTE: you might need to add munin to allow passwordless sudo for passenger-memory-stats
# http://gist.github.com/21391
def output_config
puts <<-END
graph_category App