Push Monitors

There are some aspects of server monitoring that we can't get using our normal pull based monitors. By using push monitors, you run a script on your server that pushes the data to us. By doing this, we can monitor additional areas of your server like server load, hard drive space and even the size of your sendmail queue.

Supported Push Monitors

Beanstalkd Queue

Get alerted when your Beanstalkd queue gets backed up with jobs.

Hard Drive Space

When your hard drive gets full bad things can happen. By using the hard drive push monitor, you can be alerted when your free space falls below a certain amount of Gigabytes.

Load Average

When your server load starts increasing your server slows down. With a load average check, you can be alerted before it's a problem.

Sendmail Queue

How much email is your server sending? Get notified before you are marked as a spammer.

How Push Monitors Work

Push monitors work by downloading a file onto your server, configuring it, and then running it. Every account has a unique account key and every server has a unique key as well. These two keys help identify who the checks are for.

Some monitoring system require you to allow incoming connections to your server to get these extra checks. To minimize open ports on your server, it pushes the checks to us over HTTPS.

Download the script

wget https://hitmyserver.com/monitor.phar

Configure the script

php monitor.phar configure [your-account-key] [your-server-key]

Now that you have configured the script, you need to run the checks. We recommend putting this on a cronjob that runs as often as you would like

php monitor.phar check

Push Monitor Requirements

The push monitor system is based on PHP. The minimum version of PHP is 5.3.10. Want to test it out before configuring? Download the script and run php monitor.phar test and it will test the monitors.