<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Control WebPanel Wiki &#187; services monitoring</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/services-monitoring/feed" rel="self" type="application/rss+xml" />
	<link>https://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>Services Monitor</title>
		<link>https://wiki.centos-webpanel.com/services-monitor</link>
		<comments>https://wiki.centos-webpanel.com/services-monitor#comments</comments>
		<pubDate>Tue, 26 Jan 2016 00:21:21 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[services monitoring]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=483</guid>
		<description><![CDATA[CWP Service monitor is monitoring and restarting selected services on your server. Service will be restared only if exit status shows error. If the service was shutdown and it is showing the status stopped then service monitor will NOT restart it. Example of service when it will NOT be restarted: # service mysqld status mysqld [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>CWP Service monitor is monitoring and restarting selected services on your server.</strong></p>
<p>Service will be restared only if exit status shows error.<br />
If the service was shutdown and it is showing the status stopped then service monitor will NOT restart it.</p>
<p><strong>Example of service when it will NOT be restarted:</strong></p>
<pre># service mysqld status
mysqld is stopped</pre>
<p><strong>Example of service error when it will be restarted:</strong></p>
<pre># service mysqld status
mysqld dead but subsys locked</pre>
<p><strong><br />
To add a new service on the monitoring list, you can use this command:</strong></p>
<pre>
chkconfig SERVICE-NAME on
chkconfig mysqld on</pre>
<p><strong>Services are listed in the CWP.admin </strong><br />
LeftMenu --> Service Config -->Services Monitor</p>
<p>http://IP:2030/index.php?module=servicesMonitor</p>
<p>Service will be restarted if the exit status is 1 or 2.</p>
<p>To check the exit status of your service, you can use this example</p>
<pre># service mysqld status
mysqld dead but subsys locked
echo $?
</pre>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/services-monitor/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
