Wrong metrics being sent or collected?

Asked by Curtis Collicutt

Hi,

I'm getting funny metrics collected in my graphite setup. collectl is sending graphite metrics to a carbon-relay-ng daemon that sends them on to the graphite server.

However, I am getting metrics that are mushed together...like if the server name is "c01-01" I'll get metrics for a server called inodec0-01 or cc01-01. or c01c01...all kinds of variations.

Obviously this could be because of collectl or carbon-relay-ng, but I'm wondering where a good place to start looking is. Any thoughts on that?

Thanks,
Curtis.

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jeff Blaine (jblaine-kickflop) said :
#1

> I'm getting funny metrics collected in my graphite setup. collectl is sending graphite metrics to a carbon-relay-ng daemon that sends them on to the graphite server.
>
> However, I am getting metrics that are mushed together...like if the server name is "c01-01" I'll get metrics for a server called inodec0-01 or cc01-01. or c01c01...all kinds of variations.
>
> Obviously this could be because of collectl or carbon-relay-ng, but I'm wondering where a good place to start looking is. Any thoughts on that?

I'd start by picking a test host to tweak collectl on, insert
some debugging prints/echos/printfs showing the metric name
just before sending.

Alternatively, fire up tcpdump or wireshark/tshark on the test
host with the right options to show the packet data in ASCII and
wait for collectl to send something.

Revision history for this message
Tim Zehta (timzehta) said :
#2

Here is an easy command for seeing traffic sent to Carbon:

sudo ngrep -qd any . tcp dst port 2003

Revision history for this message
Curtis Collicutt (6-curtis) said :
#3

Actually I'm thinking it has to do with the host names. All of my hosts, except one, have a number in them like "01" or "01-02" and those hosts are getting the messed up metrics, but the one that doesn't have a number in it's hostname is fine.

Any thoughts on that?

Can you help with this problem?

Provide an answer of your own, or ask Curtis Collicutt for more information if necessary.

To post a message you must log in.