views:

487

answers:

6

From basic things likes page views per second to more advanced stuff like cpu or memory usage. Any ideas?

+1  A: 

I think someone has asked the same type of question before here? Though I'm not too sure how helpful it is.

For CPU usage, etc, I would try RRDTool, or maybe something like Cacti.

Mike
A: 

Web service or web site? Since you mention page views: I believe you mean web site.

Google Analytics will probably give you everything you need to track usage statistics and best of all is free under most circumstances.

You might also want to monitor site up-time and have something to send email alerts if the site is down for some reason. We've used Nagios in the past and it works just fine.

JavadocMD
A: 

I've been using monit (http://www.tildeslash.com/monit/) for years. It monitors CPU and memory usage as well as downtime for apache/mysql/etc... you can also configure it to notify you of outages and automatically restart services in real time.

I also use munin for reporting: http://munin.projects.linpro.no/

If you want reports on pageviews and whatnot, AWStats is the best I've used.

Sleep Deprivation Ninja
A: 

I use Nagios for general machine monitoring on Linux and I pretty much rely on Google Analytics for website reporting - I know that's not for everyone since some folks have privacy concerns about giving all their site data to Google.

Both are free and easy to install (Nagios is generally available through apt-get and Analytics is a pretty easy install on a site).

Nagios, however, can be a bear to configure.

cori
A: 

I cast my vote for monit as well. The nice thing about is that it understands apache-status info and can notify/take actions when say 80% of max num of apache workers are in "busy" state.

but you need something else for hardware and general monitoring, something SNMP-aware, like zennos or zabbix

A: 

Munin and Cacti provide very nice interfaces and pre-built scripts for rrdtool. They can also monitor multiple servers and send out warnings and alerts through naigos.

Z99