Categories
Linux Tips

Server Monitoring

Hello,

Today something that is really important and I should have written about long time ago.  Server monitoring; you need to be sure your server is working properly and trigger alarms/emails/sms when your site is overloaded or simply when your site is down.

Depending on your needs you will need different solutions and there’s a lot in the market. Many years ago I was using an script created on bash that will send you SMS to your phone. But currently there’s many Open Source solutions or paid ones which will work great.

In my case I have different dedicated servers and some shared hostings which you can not install any agent or anything weird, so you can only check services using the port, not any control over processed disk usage etc..

My current monitoring setup:

  • http://www.phpservermonitor.org/ is the latest tool I found, free open source and work with PHP and MySQL. Only to monitor services or URLs, but you can send SMS, emails or notifications to your mobile phone… so far great and I monitor from there all my sites.
  • https://www.pingdom.com/ – For uptime monitoring, free and works great, needed to create few accounts for all the sites but worth it.
  • https://www.opsdash.com/ – Free for 5 servers or 5 services. Works great, server monitoring of any status, like cpu usage, HD, mysql usage…awesome!

Here a list of other services I have tried or check in the past.

Server status or uptime monitoring:

  • http://newrelic.com/, really expensive and really agressive marketing team, they have a “free plan”
  • http://munin-monitoring.org/ open source
  • https://www.nagios.org/ open source, with paid products
  • http://www.montastic.com/ website uptime, really simple but works, only issue is that is impossible to unsubscribe…
  • https://uptimerobot.com/ they have improved a lot, same level as pingdom, but free plan checks only every 5 minutes.

Related and useful, how to automate your backups.

UPDATE 22/12/2015

Y use a server monitoring tool for Android called Monyt. Awesome!