1

Possible Duplicate:
What tool do you use to monitor your servers?

I have a simple ubuntu 12.04 server that runs nginx, gunicorn and some python WSGI websites. Every morning i want to see server's CPU and memory usage for past 24hrs so i can detect abnormalities / problems. Also, if i post on reddit about some sites on this server, i want to examine current cpu/memory usage graph.

What tools and apps are used for such task? I'm sure it's a very popular task and every server owner somehow solves it.

grigoryvp
  • 3,415
  • 11
  • 38
  • 58
  • If you want to measure the performance of your webserver, then you should start by measuring the performance of your web requests. – symcbean Jan 06 '13 at 23:12

2 Answers2

1

I suggest using sysstat (and one of the components called "sar") for collecting the data. You can view the current system status with htop, dstat.

Alternatives to sysstat (also with graphs) are munin and cacti. For good monitoring I would use nagios.

PythonLearner
  • 1,022
  • 2
  • 12
  • 29
1

Sounds like NewaRelic's free tier would be perfect for this. Check out Newrelic.com - easily installs on Ubuntu and shows CPU, processes amd network activity (among other metrics).

Update: Reasons I mention a proprietary service are:

  • web interface
  • ease of installation / maintenance
  • I thought it may help for the OP to consider third party solutions
fideloper
  • 353
  • 3
  • 11
  • This is bordering on spam. Tell us *why* this proprietary solution is any better than the F/OSS solutions listed on the dupe question link I posted above. – EEAA Jan 06 '13 at 22:16
  • I suppoose I can see why it looks like that. I'm not associated with them in any way. – fideloper Jan 06 '13 at 22:39