Issue link: https://read.uberflip.com/i/1334488
Monitoring 252 2. Once installed, we need to configure this so that our Munin Master host is allowed to get information from the node. To do this, we edit the /etc/munin/munin-node. conf file and add in an allow line. To allow our Master on IP address 172.16.0.253, we add the following entry: allow ^172\.16\.0\.253$ 3. Once that line is in, we can restart the munin-node service to pick up the change. sudo restart munin-node Monitoring OpenStack Compute services With Munin Master installed, and having a couple of nodes with graphs showing up on the Master, we can add in plugins to pick up the OpenStack services and graph them. To do this, we check out some plugins from GitHub. 1. We first ensure we have the git client available to us on our OpenStack nodes: sudo apt-get update sudo apt-get -y install git 2. We can now check out the OpenStack plugins for Munin as they're not yet available in the munin-plugins-extra package: git clone https://github.com/munin-monitoring/contrib.git 3. This checks out contributed code and plugins to a directory named contrib. We copy the relevant plugins for the OpenStack services into the Munin plugins directory, as follows: cd contrib/plugins sudo cp nova/* /usr/share/munin/plugins/ sudo cp keystone/* /usr/share/munin/plugins sudo cp glance/* /usr/share/munin/plugins 4. Munin-node comes with a utility that allows us to enable appropriate plugins on our hosts automatically. We run the following commands to do this: sudo munin-node-configure --suggest sudo -i # get root shell munin-node-configure --shell 2>&1 | egrep -v "^\#" | sh 5. The Keystone and Glance plugins don't get picked up automatically, so we add these to the plugins' directory, manually, with symlinks: cd /etc/munin/plugins sudo ln -s /usr/share/munin/plugins/keystone_stats sudo ln -s /usr/share/munin/plugins/glance_size sudo ln -s /usr/share/munin/plugins/glance_status www.it-ebooks.info

