SolusVM Slave Monitor

 

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.

 

 

  1. 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)
  2. Update the $key variable to a random key and update the $servers variable to a list of your SolusVM slave servers.
  3. Create a new check on your ServerPing instance and set the check type to HTTPS Custom Script.
  4. Enter the url to this script on your control panel and pass the random key you selected.
  5. e.g https://controlpanel.yourdomain.com:5656/solusvm_check.php?key=randomkeyhere
  6. 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.
  7. Select your notification list and click save.

 

 

 

Download Script

  • 62 Users Found This Useful
Was this answer helpful?

Related Articles

MongoDB ReplicaSet Monitor

This custom check script will verify that a MongoDB RepliaSet is alive and will check if any of...