Re: register oid proble.m

2012-09-01 Thread Wes Hardaker
"Jatin Bodarya" writes: > Hey guyz, above is my function to register INT instance... > > But I don't know hot to register Time,Octet string etc.. Look into the scalar helpers for how to register more generic types. It takes a touch more work, but it's not that hard. It's less tricky to wrap a

register oid proble.m

2012-08-30 Thread Jatin Bodarya
netsnmp_register_int_instance("cpuPercentUsage", cpuPercentUsage_oid, OID_LENGTH(cpuPercentUsage_oid), &cpuPercentUsage,&handle_diskp); Hey guyz, above is my function to register INT instan

Re: Register OID

2011-11-14 Thread Dave Shield
On 11 November 2011 09:41, francisco moreno wrote: >  I tried your option, but the result is similar. It's not been particularly clear as to exactly what problems you are seeing. >  I have saw the log file of "snmp master agentx" and its traces are: > > register_mib: unregistering SNMPv2-SMI::t

Re: Register OID

2011-11-11 Thread francisco moreno
I have made a similar application as "subagent" example of net-snmp. > > I trying register and unregister seven oids several times. The problem is > > when I unregister the oids. > > I think that my method is wrong: > > > > REGISTER OID > > --

Re: Register OID

2011-11-10 Thread Dave Shield
On 10 November 2011 16:23, francisco moreno wrote: > I have made a similar application as "subagent" example of net-snmp. > I trying register and unregister seven oids several times. The problem is > when I unregister the oids. > I think that my method is w

Register OID

2011-11-10 Thread francisco moreno
Hello I have made a similar application as "subagent" example of net-snmp. I trying register and unregister seven oids several times. The problem is when I unregister the oids. I think that my method is wrong: REGISTER OID -- netsnmp_handler_registrat