2008/7/22 deka aditia <[EMAIL PROTECTED]>: > ... I didn't find any configuration file named mib2c.scalar_group.conf > where should i find this ??
My apologies - it seems that there isn't a mib2c template for this. You're probably best off using mib2c.scalar.conf to generate the initial code file, and then tweak it to use 'netsnmp_register_scalar_group()' rather than 'netsnmp_register_scalar()'. Note that you'll also have to adjust the OID that it registers with, as well as the main handler routine. Have a look at the code for 'ucd-snmp/memory' or 'ucd-snmp/vmstat', or various group under 'mibII' for examples of this helper in action. Dave ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
