Munin - Set up the NGINX status plugin on Ubuntu 12.04

Table of Contents

This little tutorial will show you how to set up the Munin plugin to monitor NGINX (nginxrequest and nginxstatus) and graph it. You need to change some URLs in the config because by default this is wrong.

For this tutorial you need to have a munin server and a NGINX server. All commands need to be run as root or a superuser.