help: implementing table with multiple indices

2006-11-11 Thread Balamurugan V
Hello, I am new to this group and net-snmp, I am trying to implement a table with two objects and three indices. I am just trying to fill the stub values for testing purpose, querying the Table returns the error "No Entries". Kindly look at the code and comment whether I am implementing the "get_

How can I get a string from any variable in variable_list?

2006-11-11 Thread Roman Ĺ ustek
Hallo, could somebody help me figure out how can I get a string from any variable in variable_list? I need something quick, what I will be able present any variable as a string. Thanks __ http://www.pnp.sk - pridajte svoje fotky na PaciNepaci

rfv: 5.4.rc2 SNMP.pm MIB code broken on 64-bit

2006-11-11 Thread Thomas Anders
Thomas Anders wrote: > Thomas Anders wrote: >> t/mib.dubious > > Here's the offending call that fails on 64-bit: > > SNMP::translateObj('.iso.org.dod.internet.mgmt.mib-2.system.sysDescr'); Here's the one-line patch that fixes this bug. Somewhat of a no-brainer given that on 64-bit platfo

Need help of implementing table

2006-11-11 Thread Balamurugan V
Hello, I am new to this group and net-snmp, I am trying to implement a table with two objects and three indices. I am just trying to fill the stub values for testing purpose, querying the Table returns the error "No Entries". Kindly look at the code and comment whether I am implementing the "get_

Re: about Agentx support in netsnmp

2006-11-11 Thread Magnus Fromreide
On fre, 2006-11-10 at 19:14 +0530, bhushan wrote: > hello friends, > Greetings. I have written my own mib module using utility mib2c & also > done with subagent which will invoke that mib module. > mib module that i have written is for scalar oid variable with read > access only & i also have added

sysORTable

2006-11-11 Thread Magnus Fromreide
Hi! I was trying to write an agnet module and should register myself in sysORTable and then got very confused as it looks like the header file for doing that isn't part of the default install - is this intentional? /MF - Us