a little script I wrote for wikimedia. checks graphite and does some logic on it to return for nagios/icinga