Tweaked the generic check script to check the ratio of a value between two metrics. I don't
have deep python experience so the change was cut/paste for the most part.