m0zes / nginx-sflow-module

Automatically exported from code.google.com/p/nginx-sflow-module
Other
0 stars 0 forks source link

FLOWSAMPLE is not displayed #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Nginx (1.4.3) compiled with sflow module nginx-sflow-module-0.9.7
2. host sflow agent hsflowd-1.23.4.tar.gz
3.

What is the expected output? What do you see instead?
I see only counter samples, no flow samples.

All the fields releated to sampleType FLOWSAMPLE is missing.

What version of the product are you using? On what operating system?
I am running on Ubbuntu

Please provide any additional information below.

startDatagram =================================
datagramSourceIP 10.0.1.1
datagramSize 448
unixSecondsUTC 1388048293
datagramVersion 5
agentSubId 100000
agent 10.0.1.1
packetSequenceNo 283
sysUpTime 8470000
samplesInPacket 1
startSample ----------------------
sampleType_tag 0:2
sampleType COUNTERSSAMPLE
sampleSequenceNo 283
sourceId 2:1
counterBlock_tag 0:2001
adaptor_0_ifIndex 4
adaptor_0_MACs 1
adaptor_0_MAC_0 0a0027000000
adaptor_1_ifIndex 2
adaptor_1_MACs 1
adaptor_1_MAC_0 28d2441cf152
adaptor_2_ifIndex 1
adaptor_2_MACs 1
adaptor_2_MAC_0 000000000000
adaptor_3_ifIndex 3
adaptor_3_MACs 1
adaptor_3_MAC_0 48d22440bd8c
counterBlock_tag 0:2005
disk_total 98844752896
disk_free 76965779456
disk_partition_max_used 34.44
disk_reads 129884
disk_bytes_read 4901825536
disk_read_time 1542304
disk_writes 45740
disk_bytes_written 2375642112
disk_write_time 599256
counterBlock_tag 0:2004
mem_total 16538497024
mem_free 10718740480
mem_shared 0
mem_buffers 93036544
mem_cached 2841763840
swap_total 4194299904
swap_free 4194299904
page_in 2404447
page_out 1159981
swap_in 0
swap_out 0
counterBlock_tag 0:2003
cpu_load_one 0.710
cpu_load_five 0.400
cpu_load_fifteen 0.350
cpu_proc_run 0
cpu_proc_total 601
cpu_num 8
cpu_speed 2401
cpu_uptime 8650
cpu_user 1542000
cpu_nice 2110
cpu_system 424060
cpu_idle 66219210
cpu_wio 386600
cpuintr 0
cpu_sintr 19110
cpuinterrupts 16062097
cpu_contexts 35214887
counterBlock_tag 0:2006
nio_bytes_in 58593324
nio_pkts_in 65095
nio_errs_in 0
nio_drops_in 0
nio_bytes_out 10417578
nio_pkts_out 54820
nio_errs_out 0
nio_drops_out 0
counterBlock_tag 0:2000
hostname AVNI
UUID 10fcbc9807f4e211bf9428d2441cf152
machine_type 3
os_name 2
os_release 3.8.0-33-generic
endSample   ----------------------
endDatagram   =================================
startDatagram =================================
datagramSourceIP 10.0.1.1
datagramSize 132
unixSecondsUTC 1388048301
datagramVersion 5
agentSubId 8000
agent 10.0.1.1
packetSequenceNo 15
sysUpTime 0
samplesInPacket 1
startSample ----------------------
sampleType_tag 0:2
sampleType COUNTERSSAMPLE
sampleSequenceNo 15
sourceId 3:8000
counterBlock_tag 0:2002
parent_dsClass 2
parent_dsIndex 1
counterBlock_tag 0:2201
http_method_option_count 0
http_method_get_count 0
http_method_head_count 0
http_method_post_count 0
http_method_put_count 0
http_method_delete_count 0
http_method_trace_count 0
http_methd_connect_count 0
http_method_other_count 0
http_status_1XX_count 0
http_status_2XX_count 0
http_status_3XX_count 0
http_status_4XX_count 0
http_status_5XX_count 0
http_status_other_count 0
endSample   ----------------------
endDatagram   =================================
startDatagram =================================
datagramSourceIP 10.0.1.1
datagramSize 132
unixSecondsUTC 1388048301
datagramVersion 5
agentSubId 8000
agent 10.0.1.1
packetSequenceNo 15
sysUpTime 0
samplesInPacket 1
startSample ----------------------
sampleType_tag 0:2
sampleType COUNTERSSAMPLE
sampleSequenceNo 15
sourceId 3:8000
counterBlock_tag 0:2002
parent_dsClass 2
parent_dsIndex 1
counterBlock_tag 0:2201
http_method_option_count 0
http_method_get_count 0
http_method_head_count 0
http_method_post_count 0
http_method_put_count 0
http_method_delete_count 0
http_method_trace_count 0
http_methd_connect_count 0
http_method_other_count 0
http_status_1XX_count 0
http_status_2XX_count 0
http_status_3XX_count 0
http_status_4XX_count 0
http_status_5XX_count 0
http_status_other_count 0
endSample   ----------------------
endDatagram   =================================
startDatagram =================================
datagramSourceIP 10.0.1.1
datagramSize 132
unixSecondsUTC 1388048301
datagramVersion 5
agentSubId 8000
agent 10.0.1.1
packetSequenceNo 15
sysUpTime 0
samplesInPacket 1
startSample ----------------------
sampleType_tag 0:2
sampleType COUNTERSSAMPLE
sampleSequenceNo 15
sourceId 3:8000
counterBlock_tag 0:2002
parent_dsClass 2
parent_dsIndex 1
counterBlock_tag 0:2201
http_method_option_count 0
http_method_get_count 0
http_method_head_count 0
http_method_post_count 0
http_method_put_count 0
http_method_delete_count 0
http_method_trace_count 0
http_methd_connect_count 0
http_method_other_count 0
http_status_1XX_count 0
http_status_2XX_count 0
http_status_3XX_count 0
http_status_4XX_count 0
http_status_5XX_count 0
http_status_other_count 0
endSample   ----------------------
endDatagram   =================================
startDatagram =================================
datagramSourceIP 10.0.1.1
datagramSize 132
unixSecondsUTC 1388048302
datagramVersion 5
agentSubId 8000
agent 10.0.1.1
packetSequenceNo 15
sysUpTime 0
samplesInPacket 1
startSample ----------------------
sampleType_tag 0:2
sampleType COUNTERSSAMPLE
sampleSequenceNo 15
sourceId 3:8000
counterBlock_tag 0:2002
parent_dsClass 2
parent_dsIndex 1
counterBlock_tag 0:2201
http_method_option_count 0
http_method_get_count 16
http_method_head_count 0
http_method_post_count 0
http_method_put_count 0
http_method_delete_count 0
http_method_trace_count 0
http_methd_connect_count 0
http_method_other_count 0
http_status_1XX_count 0
http_status_2XX_count 15
http_status_3XX_count 1
http_status_4XX_count 0
http_status_5XX_count 0
http_status_other_count 0
endSample   ----------------------
endDatagram   =================================

Original issue reported on code.google.com by san...@avninetworks.com on 26 Dec 2013 at 8:59

GoogleCodeExporter commented 9 years ago
adding sampling.http has fixed the issue.
Sorry, please discard this request.

Original comment by san...@avninetworks.com on 26 Dec 2013 at 9:07

GoogleCodeExporter commented 9 years ago
OK,  let me know if you find anything else.
Neil

Original comment by neil.mck...@gmail.com on 26 Dec 2013 at 5:17