Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Allow port numbers of services to be specified #50

Merged
merged 1 commit into from Apr 25, 2019

Conversation

Sharpie
Copy link
Member

@Sharpie Sharpie commented Apr 25, 2019

This commit updates the master_list, puppetdb_list, and postgres_host_list
parameters to allow pairs of [hostname, port_number] in addition to just
a hostname. If the port number is specified, then Telegraf will be configured
to use that port when requesting metrics from the host. If no port number is
specified, then Telegraf will be configured to use the default prts of
8140 for Puppet Server, 8081 for PuppetDB, and 5432 for Postgres.

Closes #48

This commit updates the master_list, puppetdb_list, and postgres_host_list
parameters to allow pairs of `[hostname, port_number]` in addition to just
a hostname. If the port number is specified, then Telegraf will be configured
to use that port when requesting metrics from the host. If no port number is
specified, then Telegraf will be configured to use the default prts of
8140 for Puppet Server, 8081 for PuppetDB, and 5432 for Postgres.

Closes puppetlabs#48
Copy link
Contributor

@suckatrash suckatrash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@suckatrash suckatrash merged commit 956a1d5 into puppetlabs:master Apr 25, 2019
@Sharpie Sharpie deleted the support-alternate-ports branch April 25, 2019 20:32
@MartyEwings MartyEwings added the enhancement New feature or request label May 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Port numbers for monitored services monitored by should be configurable
3 participants