Re: question on mib2c, tables, etc....follow up

2012-05-29 Thread Dave Shield
On 18 May 2012 14:57, Michael Dorin bsddo...@gmail.com wrote: My question should have been more specific..the Table function is invoked when a get request comes in... and UPSALARMID  is built...but it never comes back for the remaining columns.(At least that is how it seems to me)... I

Re: question on mib2c, tables, etc....follow up

2012-05-29 Thread Michael Dorin
Dave, Thanks for your reply. I must admit I did find the bug...and should have posted it..but was a bit ashamed since I had been doing the nasty habit of ignoring warnings! My variables table need something bigger than variable4...once I changed it to variable7 and REGISTER_MIBS in the init

re: question on mib2c, tables, etc....follow up

2012-05-18 Thread Michael Dorin
My question should have been more specific..the Table function is invoked when a get request comes in... and UPSALARMID is built...but it never comes back for the remaining columns.(At least that is how it seems to me)...I thought it would come back and ask for UPSALARMDESCR...but it does not

question on mib2c, tables, etc.

2012-05-17 Thread Michael Dorin
I am trying to make a subagent for the UPS-MIB. I generate the code with mib2c -c mib2c.conf upsMIB I select 1) ucd-snmp style code I get upsMIB.c I am trying to fill in var_upsAlarmTable, but am running into lots of little errors. Does anybody havae any example code I might be able to