Skip to content

Conversation

@adaevitncar
Copy link

Added a short description how to create an installer executable for Windows.

This installer contains:

copying the (not included sql_exporter.exe) and dependencies to %PROGRAMFILES%\sql_exporter
registering a service for the sql_exporter via nssm
opening the Windows Firewall to allow incoming connections on 9237/tcp
uninstall information to remove the program and the servicem, including closing the firewall ports
The neccessary NSIS script (compile script for creating the exe) has been included.
A sample config to access an installed MSSQL and exporting metrics can be found in examples/config/mssql_config.yml.

The exe installer makes use of two external dependencies (NSIS and NSSM) which are not included. Links can be found in the doc.

@zwopir zwopir requested a review from luxalpa August 15, 2018 08:23
Copy link
Contributor

@dominikschulz dominikschulz left a comment

Choose a reason for hiding this comment

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

LGTM

@allanian
Copy link

+1

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants