It depends how your MIB is implemented
You may be able to see these counters from a simple socket application, maybe not
But how can it be so important? It should be reassuring that your enquiry traffic is also shown. Do you want to avoid incrementing the interface counters as well?
Gesendet: Dienstag, 30. April 2013 um 09:47 Uhr
Von: "Gustav Evertsson" <m...@guzzzt.com>
An: net-snmp-coders@lists.sourceforge.net
Betreff: Access the SNMP Counters without increasing them
Von: "Gustav Evertsson" <m...@guzzzt.com>
An: net-snmp-coders@lists.sourceforge.net
Betreff: Access the SNMP Counters without increasing them
I am developing an application that have both an SNMP interface and a GUI. I would like to access the SNMP counters like snmpInPkts, snmpOutPkts etc to show in the GUI. I have tested to send SNMP request to localhost and it works but it also increases the counters and is therefore not so nice. Reloading the GUI will show increased counters even if there has been no outside SNMP requests. Is there a way to access these counters by some API call instead?
I'm interested in the counters under 1.3.6.1.2.1.11 and 1.3.6.1.6.3.15.1.1 and 1.3.6.1.6.3.11.2.1.
I'm interested in the counters under 1.3.6.1.2.1.11 and 1.3.6.1.6.3.15.1.1 and 1.3.6.1.6.3.11.2.1.
------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders