Ubuntu – What tools do you use to monitor a web server

monitoringsoftware-recommendation

What tools do you use to monitor a Ubuntu web server? More specifically, I'd like to monitor server uptime, resource usage (RAM, CPU, bandwidth, etc.), Apache, MySQL and PHP.

Best Answer

Nagios is my favorite tool for monitoring. It can monitor web servers,services,hosts and so on. It is highly customizable and there are lot plugins available for various purpose.

Some features of nagios:

  • Monitor network services (SMTP, POP3, HTTP, NNTP, PING, etc.)
  • Monitor host resources (processor load, disk usage, etc.)
  • Allow for simple plugin design
  • Do parallelized service checks
  • Define a network host hierarchy using
  • Contact administrators when service or host problems occur
  • Define event handlers to be run during service or host events for proactive problem resolution
  • Automated log file rotation
  • Support the implementation of redundant monitoring hosts
  • Offer an optional web interface for viewing current network status, notification and problem history, log file, etc

Here is an online demo: http://nagioscore.demos.nagios.com/

Related Question