Commit Graph

24 Commits

Author SHA1 Message Date
Ben Reedy be004b8423
Port should default to 9182 if not defined
Resolves #911 which was introduced by 45e9357a.

This is due to the exporter only using the default port if no LISTEN_ADDR
**and** no LISTEN_PORT is defined.

Signed-off-by: Ben Reedy <breed808@breed808.com>
2022-01-06 07:57:31 +10:00
Ben Reedy 45e9357ad9
Remove explicit LISTEN_PORT from MSI installer
Explicit setting of listening port in the service definition causes port
setting in configuration file to be ignored.

Exporter already defines a default port (9812) if one is not specified,
so no impact from this change is anticipated.

Signed-off-by: Ben Reedy <breed808@breed808.com>
2021-12-18 18:34:47 +10:00
Calle Pettersson 7a16d111b0 Clarify supported versions of Windows
Installation on versions previous to Win7/Server2008R2 will now fail

Signed-off-by: Calle Pettersson <calle@cape.nu>
2020-11-23 12:40:19 +10:00
Calle Pettersson 0880ec6a1a Add service dependency on wmiApSrv
This appears to fix service startup issues on certain systems, eg #637

Signed-off-by: Calle Pettersson <calle@cape.nu>
2020-11-02 08:38:42 +10:00
Calle Pettersson a30422c31c
Merge pull request #597 from prometheus-community/installer-phase
Change upgrade phase
2020-10-10 10:27:47 +02:00
siku4 2ebea42de5 Enable the use of remote ip addresses for fw rule
Signed-off-by: siku4 <sk@sik-net.de>
2020-10-05 11:46:39 +02:00
Calle Pettersson d39d5230ab Change upgrade phase
With afterInstallExecute, the old installation is only removed after the new one is finished, which has led to some users seeing the new version failing to start, leading to the install rolling back. afterInstallInitialize, in contrast, uninstalls before the new installation.

Signed-off-by: Calle Pettersson <carlpett@users.noreply.github.com>
2020-09-12 16:38:41 +02:00
Calle Pettersson 10caabe0b1 Update CI and installer 2020-05-24 20:54:35 +02:00
Calle Pettersson 2053dea3ac Fix log message source (#312) 2019-01-23 02:25:23 +01:00
Kevin Pettijohn b2cb04834a MSI parameter - EXTRA_FLAGS (#291)
Added the parameter called EXTRA_FLAGS to handle additional unspecified flags within the MSI installer.
2018-11-29 20:14:37 +01:00
Calle Pettersson de4838454a
Merge pull request #186 from martinlindhe/service-recovery
Set service recovery to restart on crash
2018-04-06 07:19:44 +02:00
Calle Pettersson 076af99418 Set service recovery to restart on crash 2018-04-05 08:37:23 +02:00
Calle Pettersson 76bb06b32f Create textfile_inputs directory during install 2018-04-05 08:17:52 +02:00
Patrick O'Brien cf792394f3 Bring the textfile collector over from node_exporter (#174)
Bring the textfile collector over from node_exporter

This adds a slightly modified textfile collector from the official
node_exporter project.
2018-04-03 21:37:10 +02:00
Calle Pettersson caa46799f8 Update installer with new flags 2018-03-25 10:01:56 +02:00
Martin Lindhe cede267565 installer/build.ps1: autoformat 2018-03-14 11:12:02 +01:00
Martin Lindhe 191debeed6 installer/build.ps1: update to use TLS 1.2 when downloading from github due to https://blog.github.com/2018-02-23-weak-cryptographic-standards-removed/, fixes usage on Win10 2018-03-14 11:11:36 +01:00
Calle Pettersson 691b672a1e Add DisplayName and Description to Windows service (#100) 2017-08-10 02:13:32 +02:00
Calle Pettersson 0c4c15c4ce Update WiX download url (#84)
WiX is now on GitHub, which means stable download urls. Yay!
2017-06-27 14:10:38 +02:00
Calle Pettersson ec6b786608 Update WiX url. Again. 2017-05-02 14:41:15 +02:00
Calle Pettersson 880ad4d07c Ignore failures to setup the firewall exception during installation. This happens on Win2003 and WinXP 2017-04-10 15:13:56 +02:00
Calle Pettersson a41b9de37c Fix WiX download url 2017-03-17 19:23:03 +01:00
Martin Lindhe a05febe069 install.ps1: fix wix download url 2017-03-04 09:13:38 +01:00
Calle Pettersson b3567c379f Add msi builder (#19)
Add msi builder. Installer is built and uploaded to Github as a release when master is tagged with a version string
2016-09-16 08:36:58 +02:00