On Feb 10, "Burton M. Strauss III" wrote:
> Fixed in the cvs ... BMS0442
Thanks for the quick help. I updated my CVS and it works fine now. There are
quite a few compiler warnings, namely:
gcc -c -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fPIC -I. -I.. -I/root/ntop-cvs/ntop/myrrd
-DHAVE_CONFIG_H rrd_create.c
In file included from rrd_tool.h:138,
from rrd_create.c:7:
/usr/local/include/gd.h:276: warning: declaration of `y1' shadows global declaration
/usr/local/include/gd.h:280: warning: declaration of `y1' shadows global declaration
/usr/local/include/gd.h:284: warning: declaration of `y1' shadows global declaration
/usr/local/include/gd.h:287: warning: declaration of `y1' shadows global declaration
/usr/local/include/gd.h:289: warning: declaration of `y1' shadows global declaration
> But you probably should look at upgrading gcc to something modern and
> supported ... only the older 2.94s and such have trouble with the code the
> way it was...
Point taken. If the above warning is also related, then I'm fine to live with
it.
Now, back to the regularly-scheduled "I can't get sFlow to work for me" :|
I have ntop running, with the sflow plugin enabled in debug mode. I see
tons of sflow traffic:
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifInUcastPkts 0
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifInMulticastPkts 0
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifInBroadcastPkts 0
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifInDiscards 0
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifInErrors 0
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifInUnknownProtos 0
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifOutOctets 0
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifOutUcastPkts 0
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifOutMulticastPkts 0
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifOutBroadcastPkts 0
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifOutDiscards 0
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifOutErrors 0
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifPromiscuousMode 1
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: countersSampleSize 108
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: sampleSequenceNo 127527
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: sourceId 0:14
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: sampleType COUNTERSSAMPLE
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: statsSamplingInterval 20
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: counterBlockVersion 1
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifIndex 14
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: networkType 7
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifSpeed 10000000
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifDirection 1
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifStatus 3
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifInOctets 301521361
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifInUcastPkts 15808619
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifInMulticastPkts 3562548
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifInBroadcastPkts 218921
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifInDiscards 15808619
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifInErrors 3562548
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifInUnknownProtos 218921
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifOutOctets 1911517991
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifOutUcastPkts 11620438
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifOutMulticastPkts 119066840
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifOutBroadcastPkts 22017686
Tue Feb 10 13:21:21 2004 SFLOW_DEBUG: ifOutDiscards 11620438
But ntop doesn't seem to see it, somehow:
sFlow-device|sFlow-device|||255.255.255.255|255.255.255.255|0.0.0.0|0|0|0|0|0|1||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|last60MinutesThpt|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|last24HoursThpt|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|last30daysThpt|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|0.00|IP|FTP|0|0|0|0|HTTP|0|0|0|0|DNS|0|0|0|0|Telnet|0|0|0|0|NBios-IP|0|0|0|0|Mail|0|0|0|0|DHCP-BOOTP|0|0|0|0|SNMP|0|0|0|0|NNTP|0|0|0|0|NFS_AFS|0|0|0|0|X11|0|0|0|0|SSH|0|0|0|0|Gnutella|0|0|0|0|Kazaa|0|0|0|0|WinMX|0|0|0|0|DC++|0|0|0|0|eDonkey|0|0|0|0|Messenger|0|0|0|0|securityPkts|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|
I'm willing to help fix this...let me know what I can do.
Thanks,
Mike
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop