Posted on 2009-01-04 03:48:49-08 by n0wh3r3man
SNMP Object Types
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.
Direct Responses: 9642 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.