This script will connect to the SolusVM instance running on each slave server listed, if it is unable to connect an alert will be triggered.
- Unzip the file and upload the solusvm_check.php file to the /usr/local/solusvm/www folder on your SolusVM Master Control Panel server and set the ownership and group to solusvm (e.g. chown solusvm:solusvm solusvm_check.php)
- Update the $key variable to a random key and update the $servers variable to a list of your SolusVM slave servers.
- Create a new check on your ServerPing instance and set the check type to HTTPS Custom Script.
- Enter the url to this script on your control panel and pass the random key you selected.
- e.g https://controlpanel.yourdomain.com:5656/solusvm_check.php?key=randomkeyhere
- Set the timeout to 30 seconds since it may take a few seconds to check all of the slave servers depending on how many you have.
- Select your notification list and click save.