Comments on Server Monitoring With munin And monit On Fedora 7
Server Monitoring With munin And monit On Fedora 7 In this article I will describe how you can monitor your Fedora 7 server with munin and monit. munin produces nifty little graphics about nearly every aspect of your server (load average, memory usage, CPU usage, MySQL throughput, eth0 traffic, etc.) without much configuration, whereas monit checks the availability of services like Apache, MySQL, Postfix and takes the appropriate action such as a restart if it finds a service is not behaving as expected. The combination of the two gives you full monitoring: graphics that lets you recognize current or upcoming problems (like "We need a bigger server soon, our load average is increasing rapidly."), and a watchdog that ensures the availability of the monitored services.
2 Comment(s)
Comments
Installed properly based on the tutorial, but no graphs are generated, CRON keeps sending the message bellow.
OS: Fedora release 8 (Werewolf), Linux 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux
A have found an article describing the bug but it wasn't related to my subject.
Any clue?
From munin@ Sat Dec 6 14:20:11 2008
From: [email protected] (Cron Daemon)
To: [email protected]
Subject: Cron <munin@atlantis> test -x /usr/bin/munin-cron && /usr/bin/munin-cron
Date: Sat, 6 Dec 2008 14:20:01 0100 (CET)
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <MAILTO=root>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/var/lib/munin>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=munin>
X-Cron-Env: <USER=munin>
(process:25245): Pango-WARNING **: pango_layout_set_markup_with_accel: Error on line 1: Character ' ' is not valid a
t the start of an entity name; the & character begins an entity; if this ampersand isn't supposed to be an entity, e
scape it as &
(process:25245): Pango-WARNING **: pango_layout_set_markup_with_accel: Error on line 1: Character ' ' is not valid a
t the start of an entity name; the & character begins an entity; if this ampersand isn't supposed to be an entity, e
scape it as &
(process:25245): Pango-WARNING **: pango_layout_set_markup_with_accel: Error on line 1: Character ' ' is not valid a
t the start of an entity name; the & character begins an entity; if this ampersand isn't supposed to be an entity, e
scape it as &
(process:25245): Pango-WARNING **: pango_layout_set_markup_with_accel: Error on line 1: Character ' ' is not valid a
t the start of an entity name; the & character begins an entity; if this ampersand isn't supposed to be an entity, e
scape it as &
(process:25245): Pango-WARNING **: pango_layout_set_markup_with_accel: Error on line 1: Character ' ' is not valid a
t the start of an entity name; the & character begins an entity; if this ampersand isn't supposed to be an entity, e
scape it as &
(process:25245): Pango-WARNING **: pango_layout_set_markup_with_accel: Error on line 1: Character ' ' is not valid a
t the start of an entity name; the & character begins an entity; if this ampersand isn't supposed to be an entity, e
scape it as &
(process:25245): Pango-WARNING **: pango_layout_set_markup_with_accel: Error on line 1: Character ' ' is not valid a
t the start of an entity name; the & character begins an entity; if this ampersand isn't supposed to be an entity, e
scape it as &
(process:25245): Pango-WARNING **: pango_layout_set_markup_with_accel: Error on line 1: Character ' ' is not valid a
t the start of an entity name; the & character begins an entity; if this ampersand isn't supposed to be an entity, e
scape it as &
cp: accessing `/home/virtualhosts/munin/': Permission denied
cp: accessing `/home/virtualhosts/munin/': Permission denied
cp: accessing `/home/virtualhosts/munin/': Permission denied
Cannot open /home/virtualhosts/munin/localhost/localhost-cpu.html at /usr/share/munin/munin-h
tml line 488.
http://munin.projects.linpro.no/ticket/537
This error is caused by an invalid character and is an easy fix. Browse to /usr/share/munin/plugins/interrupts and replace the two & with &