Hi,
I am new to net-snmp (and snmp) so struggling a bit here.
I am successfully talking to an SNMP device and getting back some variables
which I can print out using the following code:
init_snmp etc
then
sess_handle = snmp_open(&session);
pdu = snmp_pdu_create(SNMP_MSG_GET);
read_o
Den 03-07-2013 15:38, Thomas Johnson skrev:
> What I am struggling with is getting the data out of the vars variable
> list. I can get the type and value of the data but I don’t seem to be
> able to get the variable name back.
>
> What I want to do is from the vars variable get back the objid eg
>
Many thanks, that did the job.
Best Regards
Tom Johnson
On 3 Jul 2013, at 22:32, "Niels Baggesen" wrote:
> Den 03-07-2013 15:38, Thomas Johnson skrev:
>> What I am struggling with is getting the data out of the vars variable
>> list. I can get the type and value of the data but I don’t seem t