c has asked for the wisdom of the Perl Monks concerning the following question:
When I issue the following command using snmpset from a unix shell, the remote host responds correctly:
snmpset -c private router .1.3.6.1.4.1.9.9.96.1.1.1.1.14.667 i 4
however, the same command issued through a set request using net::snmp gives me an error of "err objVal!=NULL 4"
my $s = Net::SNMP->session( -hostname => "10.6.21.10", -community => "private" ); $s->set_request(".1.3.6.1.4.1.9.9.96.1.1.1.1.14.667", INTEGER, 4);
i don't see any difference between the two or where the objVal is coming up with a null value. any thoughts?
humbly -c
|
|---|