L.7.5 Configure Swyx Core HealthMonitor
The default installation of Swyx Core HealthMonitor makes Prometheus metrics available only on localhost. In this step, you adjust the configuration to make the Prometheus interface accessible from the monitoring system.
1 On the Swyx system, open a PowerShell console with administrator privileges and navigate to the Swyx Core HealthMonitor installation directory.
2 Call up the installation script again and specify the ListeningUrls parameter:
.\install-service.ps1 -ListeningUrls "http://*:5000" -StartAfterInstallation
*This configures the service so that it provides the Prometheus interface on all its own IP addresses on port 5000.
3 Configure an exception in the Windows firewall
netsh advfirewall firewall add rule name="Swyx.Core.HealthMonitor" dir=in action=allow protocol=TCP localport=5000 remoteip=<ip-monitoring>
Replace <ip-monitoring> with the IP address of the monitoring system. If you do not want to restrict the accessibility of the Prometheus interface, omit the "remote-ip" parameter.