SNMP failing even though its compiled??

Sep 1, 2003
6
0
151
When i try to run a simple snmprealwalk it always comes up with this output


Warning: snmprealwalk() [function.snmprealwalk]: An error occurred, quitting in /home/mrtgdef/public_html/index.php on line 4


and ideas?


here sthe code

PHP:
<?
$IP = "192.168.1.105";
$community = "public";
$data = snmprealwalk($IP, $community,"1.3.6.1.2.1.1.5.0", 50, 1);
echo $data;
?>