Monitoring

Availability

We closely monitor all aspects of your server and take appropriate actions if required. You see the status of all service checks in the cockpit.

Status

Monit, nginx and PHP FPM (if installed) status pages are available at http://localhost:2813/.

  • /monit/: Monit service manager displaying status of all locally monitored processes
  • /nginx/: nginx stub status output
  • /fpm-<poolname>/: PHP FPM per pool status page

Hint

this status vhost is running on localhost only. Expose port 2813 through SSH to access locally: ssh <hostname> -L 2813:localhost:2813

Utilization

System statistics are collected every 10 seconds by collectd and written to RRD files in /var/lib/collectd. For performance reasons, we don’t create graphs by default, therefore you have to download and render them with a tool of your choice by yourself.

Please select a rendering-tool from list of frontends within the collectd wiki. We use collectd-web for our own analyses.

Examine with collectd-web

Install

sudo apt-get install librrds-perl libjson-perl libhtml-parser-perl
git clone https://github.com/httpdss/collectd-web.git
echo 'datadir: "/tmp/rrd"' | sudo tee /etc/collectd/collection.conf

Fetch data and render graphs

rsync -avz <server>:/var/lib/collectd/rrd/ /tmp/rrd/
cd /path/to/collectd-web
python runserver.py

Then open collectd-web at http://127.0.0.1:8888/.