I am programming an application to be monitored with (net)snmp.
So when I run snmpget
it will trigger a request for my program in C to get the data. The only problem is my program uses libcurl.
The function getSettings
below uses libcurl:
HttpData* s = getSettings("max_ul_rate");
snmp_set_var_typed_value(requests->requestvb, ASN_OCTET_STR, (u_char *) &s->ptr, s->len+1);
When a I run netsnmp make it gives me an error that it doesn't find CURL. How can I add LIBCURL to NET-SNMP's Makefile?