0

Does Net-SNMP support the TCP and UDP MIBs out-of-the-box?

http://net-snmp.sourceforge.net/docs/mibs/tcp.html

http://net-snmp.sourceforge.net/docs/mibs/udp.html

Does Net-SNMP have a built-in agent that exposes the TCP and UDP MIB information?

DarVar
  • 16,882
  • 29
  • 97
  • 146

3 Answers3

1

The TCP-MIB is shipped with net-snmp, but the agent doesn't publish it by default. Edit your /etc/snmp/snmpd.conf and add this line in the same stanza as the similar lines:

view    systemview    included   .1.3.6.1.2.1.6

You may have to change 'systemview' to 'system', or whatever name is used in your particular distro.

Alex Cruise
  • 7,939
  • 1
  • 27
  • 40
0

I would expect that you can retrieve any published SNMP information via Net-SNMP. If the agent publishes it then you're going to be able to get/walk that info.

The only configuration I would perhaps expect is that you need the appropriate MIB installed at the manager/client end, such that you can translate the OIDs to names.

Brian Agnew
  • 268,207
  • 37
  • 334
  • 440
  • My question is: does Net_SNMP have a built-in Agent that published the TCP/UDP information? – DarVar Oct 03 '12 at 13:42
0

NET-SNMP framework provides SNMP agent with quite broad RFC support. If you want to enable MIB module handlers for TCP-MIB and UDP-MIB just enable them while executing configuration script using following option:

./configure --with-mib-modules=udp-mib,tcp-mib

However, you may check if these MIBs are enabled by default (this may depend on NET-SNMP version used) by performing simple snmpwalk command on 1.3.6.1.2.1.6 OID.

Hope that helps.

lucassm
  • 319
  • 1
  • 6