"SNMP OID Problem Can u help me"
Rao K. N. M.
Knmrao____in.huawei.com
Fri Oct 5 15:10:45 CEST 2001
Dear Friends,
I have a MIB table with the index as string.
So when I construct the OID : 1.3.6.1.4.1.2011.2.17.6.2.1.19.Key.
(Key = TR1);
In my code :
Oid oid(" 1.3.6.1.4.1.2011.2.17.6.2.1.19.TR1");
cout << oid.get_printable() << endl;
Doesn't print anything.
The following also doesn't work.
Vb ovb("1.3.6.1.4.1.2011.2.17.6.2.1.19");
oid1+="TR1";
cout << "OID T3" << oid1.get_printable() << endl;
cout << "OID TEST ENDS " << endl;
But the following works.
Oid oid1("1.3.6.1.4.1.2011.2.17.6.2.1.19");
cout << "OID T1 " << oid1.get_printable() << endl;
So how can I specify the Key as index to the OID.
Can anybody help me please.
Regards,
KNM Rao.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.agentpp.org/pipermail/agentpp/attachments/20011005/b90f10da/attachment.htm
More information about the AGENTPP
mailing list