Re: SNMP Agent response time

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/2/27 Ragesh V <[email protected]>:
> My application returns the value of OID as a string and I am passing it
> to snmpd as below
> *var_len = (int) 14; // My OID is of size 14 always.
> return (u_char *)strRetValue.c_str();
>
> Thanks in advance for your help...

What is the full code for:
   a)  registering this object
   b)  processing the request
?

Trying to debug a problem from two isolated lines of code is not easy!

Dave

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.