Install Munin Apache plugin on Ubuntu: Difference between revisions

From EggeWiki
mNo edit summary
mNo edit summary
 
Line 26: Line 26:
sudo /etc/init.d/munin-node restart
sudo /etc/init.d/munin-node restart
</geshi>
</geshi>
You can see the results here:
https://www.theeggeadventure.com/munin/localdomain/localhost.localdomain.html#Apache


[[Category:Linux]]
[[Category:Linux]]

Latest revision as of 23:54, 18 January 2010

Previously, I've installed Munin using Ubuntu's package installer. Today, I wanted to add support for monitoring Apache. I did the following commands:

<geshi lang="bash"> sudo aptitude install munin-plugins-extra sudo aptitude install liblwp-useragent-determined-perl

cd /etc/munin/plugins/ sudo cp -s /usr/share/munin/plugins/apache_* .

  1. verify mod_status is enabled for localhost

sudoedit /etc/apache2/mods-enabled/status.conf

  1. this command will return 'yes' if everything is configured ok

/etc/munin/plugins/apache_accesses autoconf

sudoedit /etc/munin/plugin-conf.d/munin-node

  1. add

[apache_*]

user root


  1. another check:

munin-run apache_accesses

sudo /etc/init.d/munin-node restart </geshi>

You can see the results here: https://www.theeggeadventure.com/munin/localdomain/localhost.localdomain.html#Apache