Live data from Hacker News

Ask YC: What tools are you using to monitor a site's load?

news.ycombinator.com

1–10 of 14 posts

Re: Ask YC: What tools are you using to monitor a site's load?

#2
I'd like to know this too.

Rock Solid Arcade I suspect at many points is outgrowing my cacheless hit the database on every page setup. I started out with a cron job monitoring top every minute, and many times the usage hits 50% - I'm using Django, so the GIL means that's at full capacity, but I have no idea how instantaneous that figure is.

I got some helpful advice on the Django chat room to monitor Apache, but really what I'd like is for some warning to be dumped to a log if a connection queue backs up for more than a second (i.e. the server is at full capacity). That'll be time to cache/upgrade. :)

Re: Ask YC: What tools are you using to monitor a site's load?

#3
I've just started testing nagios http://www.nagios.org/.

It looks like complete overkill for a single server and I don't know how useful it is but it does look promising. It certainly looks like it would scale to tens if not hundreds of machines easily.

It includes an alert structure so different events triggers different actions. For example if the database stops responding email the DBA, if it's a router email the network admin etc.

Again I can't vouch for it over the long term as it's only been a week or so of testing but I can't complain atm.

It's a PITA field to research and I'm trying to avoid the 'roll my own' urges as I'd quite like to write it ;)

Anyone else got any ideas? There is a python based monitoring application out there somewhere that I stumbled upon about 6 months ago with a great plugin API and neato graphs but I can't find it again :( I blame google and not my incompetence :)

Re: Ask YC: What tools are you using to monitor a site's load?

#4

I've just started testing nagios http://www.nagios.org/ . It looks like complete overkill for a single server and I don't know how useful it is but it does look promising. It certainly looks like it would scale to tens if not hundreds of machines easily. It includes an alert structure so different events triggers different actions. For example if the database stops responding email the DBA, if it's a router email the…

Wow, the screenshots for Nagios are in Netscape 4.7.

Ahh, the days.

Re: Ask YC: What tools are you using to monitor a site's load?

#5
Cacti with SNMP is a very good single app solution to keeping an eye on server health trends.

http://cacti.net/screenshots.php

Smokeping is quite useful for monitoring network and basic http request response times.

http://oss.oetiker.ch/smokeping/

Nagios is good for actively monitoring services and alerting you when things go wrong.

I generally use those and create tons of additional monitoring tools that generate reports/charts.

Re: Ask YC: What tools are you using to monitor a site's load?

#8
Consider collectd (http://collectd.org/). Unlike a lot of the usual suspects, collectd is a daemon that records the usual server health stats every 10 seconds into rrd files. After running it for two years on a few dozen systems, it's never failed or caused undue load on its own. We often see events that would have gone completely unnoticed in a 5-minute monitoring window.

Re: Ask YC: What tools are you using to monitor a site's load?

#9
Are you talking about site load or server load?

If you want to measure the load on a server, look into the sar utility, which is included in Linux and all other Unix'es. It will take snapshots of data at 10 minute intervals and store them. Other tools will take that data and turn it into a bar graph or other visualization.

Post reply on HN