On 04/01/07, Li Gan <[EMAIL PROTECTED]> wrote: > How can I get snmp packet statistics information? Such as "number of bad > community name received", "number of traps send out", "number of snmp packet > received" , "number of snmp packet send out" and so on. Are there api in > source code I can use?
snmp_get_statistic( int which ) See STAT_xxx in <net-snmp/library/snmp_api.h> for the list of 'which' values. Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
