in reply to snmp script with perl
Check the community settings and ACL settings for the snmpd on the target host. I've seen that trip folks up before.