Need Help with my Table Iterator Sub-Agent

2023-01-05 Thread Ian C via Net-snmp-users
I have a sub-agent which I'm hoping will handle snmpwalk requests.  Presently what is happening is that my get_first_data_point() reads a file (a QNX PPS object to be specific), each line in the file represents on table row. Each line is json-formatted and gets parsed to the field level.  Rea

Re: Need Help with my Table Iterator Sub-Agent

2023-01-06 Thread Ian C via Net-snmp-users
ctx)        return NULL;        strncpy( datactx->L1line, L1.front().c_str(), 1000 );        datactx->len = L1.front().length();         return datactx;    } On Thursday, January 5, 2023 at 02:28:49 p.m. EST, Ian C via Net-snmp-users wrote: I have a sub-agent which I'm hopi