val.string,vars->val_len);
sp[vars->val_len] = '\0';
//process the sp buffer
}
}
Thanks & Regards
Geet Bhatia
On Mon, Sep 9, 2013 at 9:04 PM, Niels Baggesen
wrote:
> Den 09-09-2013 10:52, Geet Bhatia skrev:
>
> The value se
;variables; vars; vars = vars->next_variable)
>print_variable(vars->name, vars->name_length, vars);
>
>
>
> ------
> *From:* Geet Bhatia
> *To:* Net-snmp-coders@lists.sourceforge.net
> *Sent:* Monday, 9 September 2013 2:22 PM
> *S
the code and the value in vars->val.string is zero.
Please help me in resolving this problem.
Thanks & Regards
Geet Bhatia
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way
ET_STR.
The value sent by agent is correct. I have checked it on wireshark. Even
the print_variable is printing correct value on console. But I am not able
to get this value copied in buffer.
I have also debug the code and the value in vars->val.string is zero.
Please help me in
Hi All,
I am writing a async snmp application taking help from netsnmp async code
example.
I am following the same steps that are mentioned in example.
In my application I am polling the agent at regular interval. On timer
elapse the code creates a snmp_session with all values and sends the get
re
Hi,
I am trying to build a simple C trap receiver.
Here I am calling function netsnmp_transport_open_server with application
name and udp:162 as parameters. But this function is returning NULL every
time.
I am not able to find the problem. Please tell me what could be the
possible problem.
Thank
Hi,
I need to receive enterprise specific traps from different equipments
connected to my application. These traps are present in different mibs. I
have written a C code for that. But I am not able get traps. I have also
taken help from snmptrapd.c code. But I am still not able get traps.
If any b
Hi,
I am trying to make small manager application in qt (for GUI) with Net-SNMP
C APIs.
1. I am able to parse MIB file through read_mib. But when I traverse the
tree struct, return value of read_mib, to get information it shows zero
content in that but pointer to that tree is not zero, that means