<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Monitoring Ubuntu Services Using Monit</title>
	<atom:link href="http://www.ubuntugeek.com/monitoring-ubuntu-services-using-monit.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ubuntugeek.com/monitoring-ubuntu-services-using-monit.html</link>
	<description>Ubuntu Linux Tutorials,Howtos,Tips &#38; News &#124; Oneiric,Natty,Maverick</description>
	<lastBuildDate>Mon, 06 Feb 2012 15:40:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: david</title>
		<link>http://www.ubuntugeek.com/monitoring-ubuntu-services-using-monit.html/comment-page-1#comment-116195</link>
		<dc:creator>david</dc:creator>
		<pubDate>Sun, 27 Nov 2011 23:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/monitoring-ubuntu-services-using-monit.html#comment-116195</guid>
		<description>to chris, you need to change HOST to localhost</description>
		<content:encoded><![CDATA[<p>to chris, you need to change HOST to localhost</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.ubuntugeek.com/monitoring-ubuntu-services-using-monit.html/comment-page-1#comment-101373</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 16 Apr 2011 18:43:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/monitoring-ubuntu-services-using-monit.html#comment-101373</guid>
		<description>Hi Am a newbie to server management.

I have been having issues with my server and so came across this feature. 

I followed the above steps but I got some of these problems:

etc/monit/monitrc:75: Error: syntax error &#039;From: monit@$HOST&#039;
/etc/monit/monitrc:76: Error: syntax error &#039;Subject: monit alert --  $EVENT $SERVICE  # subject&#039;

DO i need to change those $ variables to something specific? If so what, am nnot sure what to have here. 

Also I attempted to connect to the web interfacet using my ip range and the port but can&#039;t get access. I dont thing I have a firewall step up, or if I do i don&#039;t know how to find out. 

Alot of questions here, would be great i any one could help.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Am a newbie to server management.</p>
<p>I have been having issues with my server and so came across this feature. </p>
<p>I followed the above steps but I got some of these problems:</p>
<p>etc/monit/monitrc:75: Error: syntax error &#8216;From: monit@$HOST&#8217;<br />
/etc/monit/monitrc:76: Error: syntax error &#8216;Subject: monit alert --  $EVENT $SERVICE  # subject&#8217;</p>
<p>DO i need to change those $ variables to something specific? If so what, am nnot sure what to have here. </p>
<p>Also I attempted to connect to the web interfacet using my ip range and the port but can&#8217;t get access. I dont thing I have a firewall step up, or if I do i don&#8217;t know how to find out. </p>
<p>Alot of questions here, would be great i any one could help.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: widi</title>
		<link>http://www.ubuntugeek.com/monitoring-ubuntu-services-using-monit.html/comment-page-1#comment-2040</link>
		<dc:creator>widi</dc:creator>
		<pubDate>Mon, 25 Feb 2008 09:25:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/monitoring-ubuntu-services-using-monit.html#comment-2040</guid>
		<description>first time, i always have connection refuse from server.
after reconfigure line :

set httpd port 2812 and localhost
=&gt; set httpd port 2812

thanks</description>
		<content:encoded><![CDATA[<p>first time, i always have connection refuse from server.<br />
after reconfigure line :</p>
<p>set httpd port 2812 and localhost<br />
=&gt; set httpd port 2812</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stig</title>
		<link>http://www.ubuntugeek.com/monitoring-ubuntu-services-using-monit.html/comment-page-1#comment-2039</link>
		<dc:creator>stig</dc:creator>
		<pubDate>Sun, 09 Sep 2007 22:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/monitoring-ubuntu-services-using-monit.html#comment-2039</guid>
		<description>how do i configure monit to test a se if monit`s one &quot;Monit Service Manager&quot;
is upp and running ..

The reason is that i hawe a nother prosess that hawe somting like the web &quot;Monit Service Manager&quot; running .....

and it do not hawe a pid file when it starts ... linux somtimes kills tis prosess and then the web servise stops to ..

Hope you understand the qestion .... how do i configure monit to test a servese like its one &quot;Monit Service Manager&quot;

I hop someon ansers :)</description>
		<content:encoded><![CDATA[<p>how do i configure monit to test a se if monit`s one &#8220;Monit Service Manager&#8221;<br />
is upp and running ..</p>
<p>The reason is that i hawe a nother prosess that hawe somting like the web &#8220;Monit Service Manager&#8221; running &#8230;..</p>
<p>and it do not hawe a pid file when it starts &#8230; linux somtimes kills tis prosess and then the web servise stops to ..</p>
<p>Hope you understand the qestion &#8230;. how do i configure monit to test a servese like its one &#8220;Monit Service Manager&#8221;</p>
<p>I hop someon ansers <img src='http://www.ubuntugeek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alfredo</title>
		<link>http://www.ubuntugeek.com/monitoring-ubuntu-services-using-monit.html/comment-page-1#comment-2038</link>
		<dc:creator>alfredo</dc:creator>
		<pubDate>Fri, 17 Aug 2007 11:59:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/monitoring-ubuntu-services-using-monit.html#comment-2038</guid>
		<description>Great tutorial! thanks for making this process easier.

The only problem I have is when I try to activate the mysql and apache2 services, it gives me a syntax error if I just copy/paste that excerpt from your base conf file.

/etc/monit/monitrc:213: Error: syntax error &#039;=&#039;

I now its probably me, but it would be great if you could give me some info on this.

Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Great tutorial! thanks for making this process easier.</p>
<p>The only problem I have is when I try to activate the mysql and apache2 services, it gives me a syntax error if I just copy/paste that excerpt from your base conf file.</p>
<p>/etc/monit/monitrc:213: Error: syntax error &#8216;=&#8217;</p>
<p>I now its probably me, but it would be great if you could give me some info on this.</p>
<p>Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rbm0307</title>
		<link>http://www.ubuntugeek.com/monitoring-ubuntu-services-using-monit.html/comment-page-1#comment-2037</link>
		<dc:creator>rbm0307</dc:creator>
		<pubDate>Thu, 16 Aug 2007 18:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/monitoring-ubuntu-services-using-monit.html#comment-2037</guid>
		<description>Hi,

Thanks for the tutorial about monit.  I found it very useful and immediately applicable.

I&#039;ve been experiencing random crashing of the mythtv-backend process on Ubuntu Feisty, mostly related to race conditions that upset the backend process. When the backend dies, it is not automatically restarted, resulting in lost scheduled recordings and a poor wife acceptance factor (WAF). Rather than spend the time trying to isolate and debug the crashing (since it happens so seldom), I decided to monitor the backend process to maintain its unattended operation.

Using the instructions above, I installed monit to perform the monitoring function. This is the clause for mythtv that appears in the /etc/monit/monitrc:

&lt;code&gt;
# Monitoring MythTV Service
check process mythtv with pidfile /var/run/mythtv/mythbackend.pid
start program = &quot;/etc/init.d/mythtv-backend restart&quot;
stop program = &quot;/etc/init.d/mythtv-backend stop&quot;
if failed port 6544 protocol http then restart
if 5 restarts within 5 cycles then timeout
group server
&lt;/code&gt;

Rather than check the port the backend listens on, I&#039;m monitoring the port the status reports on. This way, the mythtv backend status log does not fill up with unsuccessful connection error messages.

The mythtv-backend init script that comes with Ubuntu Feisty checks for the existence of a PID file during the start process. This added some complication to the monit clause because a backend crash would leave an orphaned PID file and the init script would not restart properly. Using the restart parameter on the command line for the &quot;start program&quot; fixed the complication.

In addition to monitoring mythtv-backend, I&#039;ve added ssh (for ensured access to the box) and mysql (to ensure that the backend&#039;s repository is also available) as per the above instructions.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for the tutorial about monit.  I found it very useful and immediately applicable.</p>
<p>I&#8217;ve been experiencing random crashing of the mythtv-backend process on Ubuntu Feisty, mostly related to race conditions that upset the backend process. When the backend dies, it is not automatically restarted, resulting in lost scheduled recordings and a poor wife acceptance factor (WAF). Rather than spend the time trying to isolate and debug the crashing (since it happens so seldom), I decided to monitor the backend process to maintain its unattended operation.</p>
<p>Using the instructions above, I installed monit to perform the monitoring function. This is the clause for mythtv that appears in the /etc/monit/monitrc:</p>
<p><code><br />
# Monitoring MythTV Service<br />
check process mythtv with pidfile /var/run/mythtv/mythbackend.pid<br />
start program = "/etc/init.d/mythtv-backend restart"<br />
stop program = "/etc/init.d/mythtv-backend stop"<br />
if failed port 6544 protocol http then restart<br />
if 5 restarts within 5 cycles then timeout<br />
group server<br />
</code></p>
<p>Rather than check the port the backend listens on, I&#8217;m monitoring the port the status reports on. This way, the mythtv backend status log does not fill up with unsuccessful connection error messages.</p>
<p>The mythtv-backend init script that comes with Ubuntu Feisty checks for the existence of a PID file during the start process. This added some complication to the monit clause because a backend crash would leave an orphaned PID file and the init script would not restart properly. Using the restart parameter on the command line for the &#8220;start program&#8221; fixed the complication.</p>
<p>In addition to monitoring mythtv-backend, I&#8217;ve added ssh (for ensured access to the box) and mysql (to ensure that the backend&#8217;s repository is also available) as per the above instructions.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

