Install Munin Apache plugin on Ubuntu: Difference between revisions
m (Created page with '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…') |
mNo edit summary |
||
Line 4: | Line 4: | ||
sudo aptitude install munin-plugins-extra | sudo aptitude install munin-plugins-extra | ||
sudo aptitude install liblwp-useragent-determined-perl | sudo aptitude install liblwp-useragent-determined-perl | ||
cd /etc/munin/plugins/ | cd /etc/munin/plugins/ | ||
sudo cp -s /usr/share/munin/plugins/apache_* . | sudo cp -s /usr/share/munin/plugins/apache_* . | ||
# verified /etc/apache2/mods-enabled/status.conf | # verified /etc/apache2/mods-enabled/status.conf | ||
# this command will return 'yes' if everything is configured ok | # this command will return 'yes' if everything is configured ok | ||
/etc/munin/plugins/apache_accesses autoconf | /etc/munin/plugins/apache_accesses autoconf | ||
# another check: | |||
munin-run apache_accesses | |||
sudo /etc/init.d/munin-node restart | sudo /etc/init.d/munin-node restart | ||
</geshi> | </geshi> | ||
[[Category:Linux]] | [[Category:Linux]] |
Revision as of 06:13, 30 December 2009
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_* .
- verified /etc/apache2/mods-enabled/status.conf
- this command will return 'yes' if everything is configured ok
/etc/munin/plugins/apache_accesses autoconf
- another check:
munin-run apache_accesses
sudo /etc/init.d/munin-node restart </geshi>