(Laravel) Uptime Monitor

monitor-list

Today Freek from spatie released a new package:

Laravel-uptime-monitor is a powerful, easy to configure uptime monitor. It will notify you when your site is down (and when it comes back up). You can also be notified a few days before an SSL certificate on one of your sites expires. Under the hood, the package leverages Laravel 5.3’s notifications, so it’s easy to use Slack, Telegram or your preferred notification provider.

UPDATE 2016.01.03: A standalone version (read: version that doesn’t require Laravel knowledge) has also been released:

Under the hood the uptime-monitor is a vanilla Laravel 5.3 application with the laravel-uptime-monitor installed into it.

An easy to install uptime monitor →

Laravel Uptime Monitor →
An uptime and ssl certificate monitor written in PHP →

pm2 – Advanced Production Process Manager for Node.js

pm2-list

pm2-monit

PM2 is a production process manager for Node.js applications with a built-in load balancer. It allows you to keep applications alive forever, to reload them without downtime and to facilitate common system admin tasks.

Instead of starting your apps using node app.js, start them using pm2 start app.js

pm2 – Advanced Production Process Manager for Node.js →

ping.gg – The world’s most simple monitoring service.

~$# start monitoring your server with a single curl command.
~$curl ping.gg/me@example.org/104.28.13.51
[ ok ] Ping alert created for host '104.28.13.51' and email 'me@example.org'. Check your email to activate it.
 
~$# activate the first and the next ones are activated automatically.
~$curl ping.gg/me@example.org/example.org
[ ok ] Ping alert created for host 'example.org' and email 'me@example.org'.
 
~$# you can skip the IP if you run it from the server, watch out for proxies, etc.
~$curl ping.gg/me@example.org
[ ok ] Ping alert created for host '104.28.12.51' (your IP) and email 'me@example.org'.

No website or admin panel or whatever. Just some simple HTTP requests. I love the simplicity in this.

Ping.gg – The world’s most simple monitoring service →

Monit – Easy, proactive monitoring

check host localhost with address 127.0.0.1
      if failed ping then alert        
      if failed port 3306 protocol mysql then alert
check process apache with pidfile /var/run/httpd.pid
      start program = "/etc/init.d/apache2 start"
      stop  program = "/etc/init.d/apache2 stop"

Monit is a small Open Source utility for managing and monitoring Unix systems. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.

Monit – Easy, proactive monitoring of processes, programs, files, directories, filesystems and hosts →