Hi Niels,
that sounds good.
I have tried to have a preview to 5.7.3 and so I tested from git the
V5-7-patches branch.
$ netstat -i
Name Mtu Network Address Ipkts Ierrs Opkts
Oerrs Coll
lo0 16384 <Link#1> 342449 0 342449
0 0
lo0 16384 loopback fe80::1 342449 - 342449
- -
lo0 16384 127 localhost 342449 - 342449
- -
lo0 16384 ftpserver ::1 342449 - 342449
- -
gif0* 1280 <Link#2> 0 0 0
0 0
stf0 1280 <Link#3> 0 0 0
0 0
en0 1500 <Link#4> 00:23:32:b8:bd:9a 0 0 0
0 0
en1 1500 <Link#5> 00:23:6c:8c:45:b1 1390898 0 894438
0 0
fw0 4078 <Link#6> 00:23:32:ff:fe:b8:bd:9a 0 0
0 0 0
$ uname -a
Darwin claus-kleins-macbook-pro.local 9.8.0 Darwin Kernel Version
9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386
i386 i386 MacBookPro5,1 Darwin
$ build/apps/snmpnetstat/snmpnetstat -Ci -v3 -u clausklein localhost
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Queue
lo0 16384 127/8 127.0.0.1 342965 0 342449 0 0
gif0 1280 0 0 0 0 0
stf0 1280 0 0 0 0 0
en0 1500 0 0 0 0 0
en1 1500 1390898 0 894438 0 0
fw0 4078 0 0 0 0 0
I noticed that on my macbook, there is no ipv6 MIBII table available
from snmpd:
for m in $MIBTABLES ; do build/apps/snmptable -Cibw 123 -m ALL -M ./
mibs -v3 -u clausklein -l noAuthNoPriv localhost $m ; done
IP-FORWARD-MIB::inetCidrRouteTable: No entries
SNMP table: RFC1213-MIB::ipAddrTable
index Addr IfIndex NetMask BcastAddr ReasmMaxSize
127.0.0.1 127.0.0.1 1 255.0.0.0 1 ?
IP-MIB::ipAddressPrefixTable: No entries
IP-MIB::ipAddressTable: No entries
IP-FORWARD-MIB::ipCidrRouteTable: No entries
IP-MIB::ipDefaultRouterTable: No entries
IP-FORWARD-MIB::ipForwardTable: No entries
IP-MIB::ipIfStatsTable: No entries
RFC1213-MIB::ipNetToMediaTable: No entries
IP-MIB::ipNetToPhysicalTable: No entries
SNMP table: RFC1213-MIB::ipRouteTable
index Dest IfIndex Metric1 Metric2 Metric3 Metric4
NextHop Type Proto Age Mask Metric5
127.0.0.0 127.0.0.0 1 0 0 0 0
127.0.0.1 direct local ? 255.0.0.0 16384
127.0.0.1 127.0.0.1 1 0 3125 106298 0
127.0.0.1 direct local ? 255.255.255.255 16384
224.0.0.0 224.0.0.0 1 0 0 0 0
127.0.0.1 direct local ? 240.0.0.0 16384
224.0.0.251 224.0.0.251 1 0 0 0 0
127.0.0.1 direct local ? 255.255.255.255 16384
224.0.1.1 224.0.1.1 1 0 0 0 0
127.0.0.1 direct local ? 255.255.255.255 16384
SNMP table RFC1213-MIB::ipRouteTable, part 2
index Info
127.0.0.0 SNMPv2-SMI::zeroDotZero
127.0.0.1 SNMPv2-SMI::zeroDotZero
224.0.0.0 SNMPv2-SMI::zeroDotZero
224.0.0.251 SNMPv2-SMI::zeroDotZero
224.0.1.1 SNMPv2-SMI::zeroDotZero
IP-MIB::ipSystemStatsTable: No entries
IP-MIB::ipv4InterfaceTable: No entries
IP-MIB::ipv6InterfaceTable: No entries
IP-MIB::ipv6RouterAdvertTable: No entries
IP-MIB::ipv6ScopeZoneIndexTable: No entries
So the result was not as I had expected.
But all the same, I hope it will be better under Linux ;-)
Thanks
Claus
On 24.02.2013, at 15:13, Niels Baggesen wrote:
> Den 23-02-2013 20:54, Claus Klein skrev:
>> is it planed to extend snmpnetstat to show ipv6 address info, ipv6
>> routing table entries, and ipv6 active sockets info too?
>>
>> It seems that the current version show only the ipv4 related infos
>> from
>> mib2 tables.
>
> A couple of months ago I upgraded the V5-7-patches and trunk
> versions to use the new IP version agnostic tables.
>
> So by the time you see 5.7.3 ...
>
> /Niels
>
> --
> Niels Baggesen -- @home -- Ã…rhus -- Denmark -- [email protected]
> The purpose of computing is insight, not numbers -- R W Hamming
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders