On Wed, 02 Mar 2005 16:34:05 + Dave wrote:
DS> > KM> I have several counters that I need to register with the Master. Some
DS> > KM> of these have type timeticks in the MIB file.
DS> >
DS> > There isn't an existing function to do what you want,
DS>
DS> Oh yes there is!
DS> What about the 'sca
There isn't an existing function to do what you want, but it's pretty easy tocreate one. Copy the netsnmp_instance_ulong_handler andnetsnmp_register_ulong_instance functions, change 'ulong' to 'timeticks' andchange ASN_UNSIGNED to ASN_TIMETICKS, and you're in business.
---
Thanks much. I
On Tue, 2005-03-01 at 13:51, Robert Story wrote:
> KM> I have several counters that I need to register with the Master. Some of
> KM> these have type timeticks in the MIB file. I can't find the appropriate
> KM> function to register them. For integers I am using
> KM> netsnmp_register_int_instanc
On Sat, 26 Feb 2005 05:55:51 -0800 (PST) Kelvin wrote:
KM> I am pretty new to Net-SNMP. I need to develop a subagent that attaches to
KM> master agent and reports values for some SNMP counters.
KM>
KM> I have several counters that I need to register with the Master. Some of
KM> these have type ti
Hi all,
I am pretty new to Net-SNMP. I need to develop a subagent that attaches to master agent and reports values for some SNMP counters.
I have several counters that I need to register with the Master. Some of these have type timeticks in the MIB file. I can't find the appropriate function to