0

I'm developing a snmp agent for linux and I wonder if there is a directory or file proper protocol statistics snmp OIDs to develop snmpInPkts, snmpOutPkts, snmpInBadVersions, snmpInBadCommunityNames.

I ask because I found in the /proc/net/snmp all statistics for protocols like IP, ICMP, TCP and UDP.

Thank you.

fechidal89
  • 101
  • 2

1 Answers1

0

On Linux?

You might be able to find some in /usr/share/snmp/ or /usr/local/share/snmp.

You will probably need to install the snmp packages though. On Ubuntu, apt-get install snmp. On RPM based Os, I think you need to install net-snmp-utils.

Hope that helps.

Anthony
  • 101
  • Thank you. The idea is not install anything and I can get the values. I'll have to parse the packets and get the statistics. – fechidal89 Aug 29 '13 at 12:52