This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
# Memcache monitoring plugin for server density | |
# http://www.serverdensity.com/ | |
# | |
# Depends on python-memcached | |
# http://www.tummy.com/Community/software/python-memcached/ | |
# easy_install python-memcached | |
# | |
# based on: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'carrierwave' | |
require 'fileutils' | |
# needed for the RMagick module in CarrierWave | |
def current_path | |
@current_path | |
end | |
include CarrierWave::RMagick |