Den 14-05-2014 12:05, Odiee47 . skrev:
> When trying to print_mib to file the program then fails.
>
> Any ideas what I did wrong here?
Please elaborate "fails". How does it fail? How much did it write to
test.txt? Did it even create the file (you should check the return value
from fopen)
When
Hi,
I am trying to build an agent that could load specified MIBs and then query
selected values. But when I try to print mib information via "print_mib" my
application crashes. I'm using this code to load MIB
netsnmp_init_mib();
read_all_mibs();
snmp_set_mib_warnings(2);
//struct tree *tr = n