Original check_smart plugin by Kurt Yoder