[2013/05/29 03:29:29] #net-snmp <garysteers2> Hi All, I have a quick question about net-snmp and a Custom AgentX App
[2013/05/29 06:25:15] #net-snmp <garysteers2> Hi All, I am currently helping to get an issue fixed in a MIB, we have 2 tables and in each table is a column that should link to the index of the other table, what should be used as the OID?
[2013/05/29 06:31:41] #net-snmp <garysteers2> or, to ask my question in a different way, is there away to link to a specific row in a table? instead of having to link to an specific column index
[2013/05/29 07:38:18] #net-snmp <rstory-work> garysteers2: no, because the index comes after the column in the oid.. if you have the index as a readable column in the tables, you could link to that oid..
[2013/05/29 09:49:19] #net-snmp <russoisraeli> hello guys... quick question... I am querying a Foundry host... tcpdump shows that I am querying "[len1468<asnlen2132]" and the response is "tooBig[errorIndex==0]". What does this mean?
[2013/05/29 09:50:58] #net-snmp <rstory-work> this means that the response the agent wants to send is too big.. try sending fewer varbinds in the request..
[2013/05/29 09:51:23] #net-snmp <russoisraeli> too big for the SNMP daemon to handle?
[2013/05/29 09:51:29] #net-snmp <rstory-work> yes
[2013/05/29 09:51:36] #net-snmp <russoisraeli> thank you!
[2013/05/29 09:51:46] #net-snmp <rstory-work> you're welcome
[2013/05/29 11:30:29] #net-snmp <russoisraeli> hello, I got the tooBig solved (yay!) .... now I see that sometimes hosts respond with "[len1468<asnlen8067]" ... no tooBig... is this part of the same problem? what does the message mean?
[2013/05/29 11:54:46] #net-snmp <akio> How do MIB scalars get their values? I'm trying to think of things abstractly to help me understand the flow of information.
[2013/05/29 11:54:53] #net-snmp <akio> Fist time using snmp.
[2013/05/29 11:55:01] #net-snmp <akio> First*
[2013/05/29 11:55:24] #net-snmp <akio> I'm guessing the agent translates somehow.
[2013/05/29 11:57:16] #net-snmp <akio> I copied a mib, and snmptranslate finds it, but I'm not sure how to get those OID's to return info.
[2013/05/29 11:57:23] #net-snmp <rstory-work> the agent gets and OID and based on that OID it calls a mib handler. the mib handler retrieves the data and returns it to the agent..
[2013/05/29 11:58:07] #net-snmp <rstory-work> a mib is only used for OID to name translation.. the agent needs a mib module (code) to handle OIDs..
[2013/05/29 11:58:31] #net-snmp <akio> so i'm thinking the mib-handlers are different between systems and mibs aren't necessarily portable
[2013/05/29 11:59:37] #net-snmp <rstory-work> mibs are portable, mib handlers are not
[2013/05/29 11:59:40] #net-snmp <akio> so if i wanted to say set up a testing harness for something i am locaked out of, i would need its closed handlers to properly mimic the system
[2013/05/29 12:00:20] #net-snmp <akio> mibs may be prtable, but the handlers may or may not be able to populate from them
[2013/05/29 12:00:30] #net-snmp <akio> do i have that right?
[2013/05/29 12:04:54] #net-snmp <rstory-work> yes..
[2013/05/29 12:06:59] #net-snmp <akio> thank you
[2013/05/29 12:07:16] #net-snmp <akio> i crammed ldap into my head and this seems very similar
[2013/05/29 12:10:51] #net-snmp <akio> So when it says "No Such Object available on this agent at this OID" it is talking about an object instantiated by the agent which is the mib-handler?
[2013/05/29 12:11:23] #net-snmp <akio> basically I would have to compile the agent with a custom mib handler for that oid?
[2013/05/29 12:12:38] #net-snmp <akio> looks like mib2c is used for this...
[2013/05/29 12:12:55] #net-snmp <rstory-work> yes, no such object means either a) mib handler doesn't instantiate the object, or b) you don't have access to the object..
[2013/05/29 12:13:51] #net-snmp <akio> i used the rwcommunity directive in the conf file which i believe covers the access part
[2013/05/29 12:14:19] #net-snmp <rstory-work> yes, you would have to write a custom handler, which could be C, perl, bash, or almost anything, which then could be loaded into the agent (not necessarily needing to compile the whole agent)
[2013/05/29 12:14:20] #net-snmp <akio> so i need c files that i don't have for the mibs
[2013/05/29 12:14:37] #net-snmp <akio> ok
[2013/05/29 12:14:47] #net-snmp <akio> thank you, i think i have the big picture
[2013/05/29 12:14:50] #net-snmp <rstory-work> you could do C, or anything that can read/write to stdio...
[2013/05/29 12:15:29] #net-snmp <rstory-work> but C is recommended for entire modules... scripts are ok for simple tables or individual objects (or groups of objects)
<-- delarge_ has left #net-snmp