Cloudxtreme / nginx-sflow-module

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

Wrong counter record data format #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. set up centOS 7 minimal on hyper-v environment
2. make install nginx with the mod and dependencies
3. rpm install sflowtool

What is the expected output?
0:0 < counterBlock_tag < 0:5 or 0:1000 < counterBlock_tag < 0:1013

What do you see instead?
1012 < counterBlock_tag

What version of the product are you using? On what operating system?
latest as of Jan 7th 2015 on centOS 7 minimal (upgraded to latest as of Jan 7th 
2015

Please provide any additional information below.

Original issue reported on code.google.com by Your.Bro...@gmail.com on 8 Jan 2015 at 5:07

GoogleCodeExporter commented 9 years ago
Hello,

The nginx-sflow-module currently sends 2 standard sFlow counter blocks:

(1) "HTTP counters" (tag = 2201) defined in http://www.sflow.org/sflow_http.txt
(2) "host parent" (tag = 2202) defined in http://www.sflow.org/sflow_host.txt

So I think maybe your acceptance test is too narrow?

The full list of standard sFlow tags is maintained here:
http://www.sflow.org/developers/structures.php

And vendor-extension tags can appear too (e.g. 5703:1 is for Nvida GPU 
counters).

Regards,
Neil

Original comment by neil.mck...@gmail.com on 8 Jan 2015 at 5:30