I am reading from a file of VARBINDS such as
procCrash,6,1,1.3.6.1.4.1.17163.1.1.2.5.1.2,OCTET_STRING,sport
I know I must be having brain freeze.. But why doesn't the below excerpt work ?
$oid = '1.3.6.1.4.1.17163.1.1.2.5.1.2';
$objtype = 'OCTET_STRING';
$process = 'sport';
....
-varbindlist => [$oid, $objtype, $process]
but this
-varbindlist => [$oid, OCTET_STRING, $process]
does.