The Sysdig Windows Prometheus Bundle is a comprehensive package that installs and configures a Prometheus Agent and the Windows Exporter allowing you to send metrics to your Sysdig Monitor account with ease.
- User-friendly visual installation wizard
- Interactive enabling of a vast variety of collectors
- Prometheus Agent and Windows Exporter run as Windows services
- Metrics enriched with Windows Domain and Instance host name for easy identification in Sysdig Monitor
To begin monitoring your Windows machines, follow these steps:
- Download the binary installer from the latest release of this project
- Run the installer in your windows machine
- Configure the Sysdig region and your Sysdig API token in the wizard
- Select the collectors that you want to enable to produce metrics
- Finish the installation
- Go to your Sysdig Monitor account and start using the Microsoft Windows dashboards and alerts
You can automate the installation of the Sysdig Windows Prometheus Bundle across multiple machines using the command line or PowerShell.
Use the following command as an example:
msiexec /i windows_exporter-1.0.0-x64.msi ENABLED_COLLECTORS=cpu,os SYSDIG_URL="https://api.sysdigcloud.com/prometheus/remote/write" SYSDIG_TOKEN="yyyyyyy-zzzz-zzzz-zzzz-xxxxxxxx" /qn
This command will install the Sysdig Windows Prometheus Bundle with the specified settings, making it easy to deploy across your infrastructure.
From the command line you can use these options:
ENABLED_COLLECTORS
: Comma separated list of collectorsSYSDIG_URL
: The Prometheus endpoint of your Sysdig Monitor region in the formhttps://api.sysdigcloud.com/prometheus/remote/write
. Consult the available regions here.COMPUTER_NAME
(optional): Overrides the labelinstance
in metrics generated by the Windows Exporter with a custom value. The default value is the computer name stored in theCOMPUTERNAME
Windows environment variable.PROMETHEUS_PORT
(optional): The Prometheus port. The default value is '9090'.PROMETHEUS_LOG_ENABLED
(optional): The Prometheus log feature, this creates log file of the prometheus agent into thewindows_exporter
folder. The default value is '0'.PROMETHEUS_LOG_LEVEL
(optional): The Prometheus log level, this configure the level of the log file if we previously enable the log. The default value is 'info'.WINDOWS_EXPORTER_LISTEN_ADDR
(optional): The Windows Exporter IP address. The default value is '0.0.0.0'.WINDOWS_EXPORTER_LISTEN_PORT
(optional): The Windows Exporter port. The default value is '9182'.WINDOWS_EXPORTER_EXTRA_FLAGS
(optional): Windows Exporter additional CLI flags. The default value is an empty string.WINDOWS_EXPORTER_FIREWALL_REMOTE_ADDR
(optional): Comma separated remote IP addresses for the Windows Firewall exception (allow list). The default value is an empty string (any remote address).TEXTFILE_DIR
(only iftextfile
collector is enabled): The local folder where thetextfile
collector will look for files
Use the following command to uninstall:
msiexec /x windows_exporter-1.0.0-x64.msi /qn
The SQL Exporter is used to scrape custom MSSQL Metrics.
Please us this link to download the windows binary - https://github.com/dalejrodriguez/Sysdig-Windows-Prometheus-Bundle/releases/tag/v1.0
For configuration instructions go here - https://github.com/justwatchcom/sql_exporter