On 4 January 2013 19:34, Nuno Magalhães <nuno.magalh...@inov.pt> wrote: > What's the configuration I should use, with the mib2c tool, to access > global functions. > For example for invoking unix shell commands with popen or system and > retrieving a value.
There's no special configuration required for mib2c - just take the code template that it generates, and add the necessary #includes yourself. mib2c is designed to look after generating the SNMP-related aspects of the required code - writing the code that relates to the underlying system being monitored (i.e. how you retrieve the actual data) is your responsibility. Dave ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users