Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring in hostname as defined in the main configuration by default #681

Merged
merged 1 commit into from
Jul 29, 2014
Merged

Bring in hostname as defined in the main configuration by default #681

merged 1 commit into from
Jul 29, 2014

Conversation

pyr
Copy link
Member

@pyr pyr commented Jul 29, 2014

supersedes #530

@pyr
Copy link
Member Author

pyr commented Jul 29, 2014

This adds a static method which yields collectd's hostname as set in the config and thus will correctly prepopulate in events.

When collecting events with GenericJMX this will ensure metrics have the same hostname than other collectd metrics by default.

@pyr pyr added the Patch label Jul 29, 2014
@pyr
Copy link
Member Author

pyr commented Jul 29, 2014

I had a couple of private oks and this runs fine on my tests as well, it's going in !

pyr added a commit that referenced this pull request Jul 29, 2014
Bring in hostname as defined in the main configuration by default
@pyr pyr merged commit cadc1d5 into collectd:master Jul 29, 2014
@pyr pyr deleted the feature/use-collectd-hostname branch July 29, 2014 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant