Live data from Hacker News

Ask HN: What tools do you use to monitor your LAMP server(s)?

news.ycombinator.com

21–30 of 41 posts

Re: Ask HN: What tools do you use to monitor your LAMP server(s)?

#21
Logcheck. This lets mildly-important things annoy you until you fix them. Lots of "failed login for root" everyday, so I changed my ssh server to only allow logins as me. Lots of authentication failures for SMTP AUTH, so I enabled fail2ban. Now I don't get any annoying emails, and my box is slightly more secure.

Re: Ask HN: What tools do you use to monitor your LAMP server(s)?

#23
post #15

We have a cluster of about 60 servers, and use Monit and Ganglia to manage it. Monit will alert you when certain problems occur -- for example, if the server load is too high, if a service stopped running, or if can't reach the database. Ganglia records data and graphs that data over time. We use it to see how busy our server are getting, or how our peak resource usage compares to off-peak. Monit is important for not…

You would have to pay $11,388 per year to use Cloudkick with 60 servers and still lose all data >1 year. I don't get the logic of paying that much for Cloudkick at all. Monitoring tends to be a couple days work (at most) to setup perfectly and then very little on-going. Hardly worth $949 every month IMHO.

In my experience with running nagios it's never as easy as set and forget to keep your monitoring system effective. Even more so when you're growing or scaling and systems are changing more regularly. To me that $11,388 per year is cheap compared to the costs of having a salaried employee spending more time on a slower to implement solution.

If you don't have a full time sys admin it's also one of those things that is very easy to put off or delay or just not keep on top of.

As for the data loss I can't think of a time I've ever wanted to see resource statistics for over a year ago and down times and outages are kept in a problem tracking system.

Re: Ask HN: What tools do you use to monitor your LAMP server(s)?

#24
post #19

I use munin to monitor http://codeboff.in . The stats page is up at http://codeboff.in:8080/ if you want to take a look. Also I use Supervisor ( http://supervisord.org/ ) to launch all my processes and it is configured to send me an email if any of them grows beyond a memory threshold and/or crashes (in which case it also attempts to restart it a few times).

Thanks for the link to supervisorctl - didn't know that one - and it looks pretty neat! :P

Re: Ask HN: What tools do you use to monitor your LAMP server(s)?

#25
I've been very happy with Scout (http://scoutapp.com/) for monitoring. It's a nice mix of standard monitoring and a pretty simple plugin system for custom monitoring.

All of the plugins are written in Ruby and the interface for reporting data is pretty simple.

I'm using it for everything from monitoring the KB/s that systems are swapping (and alert if it's anything measurable) as well as custom things like job queue depths.

Re: Ask HN: What tools do you use to monitor your LAMP server(s)?

#26
Opsview. http://www.opsview.com/

It's built on top of Nagios, and makes the entire process very easy and straightforward to setup and run.

Edit: The community version is free, and I haven't run into any limitations on it. The paid version offers a few extra modules.

Re: Ask HN: What tools do you use to monitor your LAMP server(s)?

#29

Shocked at the lack of zabbix. Alerts, graphs, history, all in one place. Install the agent and you get the basics for free - I just set up a demo of it a couple days ago in 30 minutes flat.

Me too. This is what I use. It was dead simple to setup. It had great default settings. Pfsense also has an agent package available for it and is a one click setup. It was also very easy to setup custom scripts for monitoring my custom back end software. I tried nagios, hobbit, opennms, and others recently and zabbix worked best for me.

Re: Ask HN: What tools do you use to monitor your LAMP server(s)?

#30
You should check out Rigor for performance and uptime monitoring of your web servers. It's a subscription service that goes a step beyond the basic cpu/process details and lets you monitor the accessibility of individual pages and transactions. They have a free trial that takes two minutes to set up at http://rigor.com.
Post reply on HN