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

@Sharpie Sharpie requested review from suckatrash and genebean April 25, 2019 18:22
@Sharpie Sharpie force-pushed the support-alternate-ports branch from 473c24b to 0edf9c6 Compare April 25, 2019 18:38
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
@Sharpie Sharpie force-pushed the support-alternate-ports branch from 0edf9c6 to dba059b Compare April 25, 2019 18:50
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