Return graph if either of warning or critical is set.
Return warning and critical threshold.