Quick doc update for spoofing hostnames #3

Merged
merged 2 commits into from May 3, 2012

Conversation

Projects
None yet
2 participants
Contributor

irabinovitch commented May 3, 2012

It's not clear from the documentation how to spoof a hostname, or what format the :hostname value should be in. I found out via trial and error (read netcat and gmond logs) that its not override_hostname [1] that is being set, but rather spoof, which expects the field to be specified in the format IP_ADDRESS:HOSTNAME

Since GMetric will not validate the format of the hostname key as being in the expected format, setting just hostname results in the gmond recipient dropping your metrics on the floor for having an invalid spoof hostname.

igrigorik added a commit that referenced this pull request May 3, 2012

Merge pull request #3 from irabinovitch/master
Quick doc update for spoofing hostnames

@igrigorik igrigorik merged commit 52f0170 into igrigorik:master May 3, 2012

Owner

igrigorik commented May 3, 2012

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment