* @param warningLevel Warning value level
* @return Status of the check
*/
@SuppressWarnings("PMD.DataflowAnomalyAnalysis")
protected Status getStatusByRangeCheck(final Object value, final String criticalLevel, final String warningLevel) {
Status resultStatus = Status.OK;
// range check for numerics
final Double doubleValue = ((Number) value).doubleValue();
NagiosRange critical = new NagiosRange(criticalLevel);
NagiosRange warning = new NagiosRange(warningLevel);