L.7.5 SwyxWare Configure Core HealthMonitor
The standard installation of SwyxWare Core HealthMonitor only provides the Prometheus metrics on localhost. In this step, you adjust the configuration to make the Prometheus interface accessible from the monitoring system.
1 On the SwyxWare system, open the PowerShell console with administrator privileges and change to the SwyxWare 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.