--- cacti-0.8.7d/lib/snmp.php 2009-02-11 21:55:50.000000000 -0500 +++ cacti-patched/lib/snmp.php 2009-03-02 20:00:38.000000000 -0500 @@ -366,7 +366,7 @@ /* now check for the second most obvious */ if (is_numeric($string)) { - return $string; + return trim($string); } /* remove ALL quotes, and other special delimiters */