Hi Dave, 

    Thank you again for your time and patience. I know that sometimes I ask all 
the stupid questions but I'm just 22 and I'm still learning.
    Following your advice I've created a new MIB file, starting from 
netSnmpPlaypen, but similar as structure with previous one. When I 
checked the MIB file that I wrote I had only one warning: "current group 
"netSnmpPrvGroup" is not referenced in this module". How can I correct 
this warning?
    The second thing I have tried to do was to use the framework that 
recommended to me: 

      mib2c -S cache=1  -c mib2c.table_data.conf  netSnmpPrvTable
but I got this errors:

    se of uninitialized value $key in hash element at 
/usr/local/lib/perl5/SNMP.pm line 1377, <GEN0> line 274.
Use of uninitialized value $key in hash element at /usr/local/lib/perl5/SNMP.pm 
line 1378, <GEN0> line 274.
Use of uninitialized value in null operation at /usr/local/lib/perl5/SNMP.pm 
line 1377, <GEN0> line 274.
Use of uninitialized value $key in hash element at /usr/local/lib/perl5/SNMP.pm 
line 1377, <GEN0> line 274.
Use of uninitialized value $key in hash element at /usr/local/lib/perl5/SNMP.pm 
line 1380, <GEN0> line 274.
Use of uninitialized value $key in hash element at /usr/local/lib/perl5/SNMP.pm 
line 1377, <GEN0> line 278.
Use of uninitialized value $key in hash element at /usr/local/lib/perl5/SNMP.pm 
line 1380, <GEN0> line 278.
Use of uninitialized value $key in hash element at
 /usr/local/lib/perl5/SNMP.pm line 1377, <GEN0> line 278.
Use of uninitialized value $key in hash element at /usr/local/lib/perl5/SNMP.pm 
line 1380, <GEN0> line 278.
Use of uninitialized value $key in hash element at /usr/local/lib/perl5/SNMP.pm 
line 1377, <GEN0> line 278.
Use of uninitialized value $key in hash element at /usr/local/lib/perl5/SNMP.pm 
line 1380, <GEN0> line 278.


even the snmptranslate -IR -On netSnmpPrvATR  return the correct oid: 
.1.3.6.1.4.1.8072.9999.9999.1.2.1.3


That framework generated 2 files, netSnmpPrvTable.c (and .h) but sincerely I 
have no idea what to modify so I can bind a static value (eg. char[] 
atr="1234") to the variable. So please help me with more indications and code 
examples if you can.

Thank you very much and sorry for buzzing you aroundStefan Magda
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to