On Fri, 30 Jan 2015 11:54:53 +0500 Valentinich wrote:
V> Hello!
V> 
V> I`m extended snmpd with my own module with using dlmod function,
V> all fine. I`ve added variable for counting recived request in
V> this module, all fine again. But now I need to get total number
V> of requests (my module + standart modules), recived, processed
V> and dropped. Is there some standart function to get this
V> statistic?

You can call snmp_get_statistic(x) with the constants defined in
include/net-snmp/library/snmp_api.h (e.g. STAT_SNMPINPKTS).

Robert

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to