<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Monit. Файловая система. отправка на почту]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=26068&amp;type=atom" />
	<updated>2013-01-16T19:56:22Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=26068</id>
		<entry>
			<title type="html"><![CDATA[Re: Monit. Файловая система. отправка на почту]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=321109#p321109" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>rayden8 пишет:</cite><blockquote><p>захотелось контролировать место на жестком диске под линуксом на почту.</p></blockquote></div><p>а для чего тогда настраивать web доступ для просмотра?<br />можно сделать по другому: <br /></p><div class="codebox"><pre><code>echo &quot;Отчет ФС: &quot; `df -h`| mailx -s &quot;Отчет ФС:&quot; root@localhost</code></pre></div><p>добавить в crontab запуск в определенное время.</p>]]></content>
			<author>
				<name><![CDATA[XELFAER]]></name>
				<uri>https://linuxforum.ru/profile.php?id=648</uri>
			</author>
			<updated>2013-01-16T19:56:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=321109#p321109</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Monit. Файловая система. отправка на почту]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=321022#p321022" />
			<content type="html"><![CDATA[<p>эх. спасибо за внимание. жаль, что никто не знает</p>]]></content>
			<author>
				<name><![CDATA[rayden8]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25938</uri>
			</author>
			<updated>2013-01-16T12:49:26Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=321022#p321022</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Monit. Файловая система. отправка на почту]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=320830#p320830" />
			<content type="html"><![CDATA[<p>Добрый день. захотелось контролировать место на жестком диске под линуксом на почту. пытаюсь настроить MONIT. Настроил веб доступ к нему. Настраиваю доступ к жесткому и контроль файловой системы, но к&nbsp; сожалению статус в вебе стоит &quot;Data access error&quot;. </p><div class="codebox"><pre><code>[root@ports]# fdisk -l

Disk /dev/sda: 17.1 GB, 17179869184 bytes
255 heads, 63 sectors/track, 2088 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        2088    16667437+  8e  Linux LVM</code></pre></div><div class="codebox"><pre><code>check device datafs with path /dev/sda
    start program  = &quot;/bin/mount /home&quot;
    stop program  = &quot;/bin/umount /home&quot;
    if failed permission 660 then unmonitor
    if failed uid root then unmonitor
   if failed gid disk then unmonitor
  if space usage &gt; 80% for 5 times within 15 cycles then alert
   if space usage &gt; 99% then stop
    if inode usage &gt; 30000 then alert
    if inode usage &gt; 99% then stop
    group server</code></pre></div><br /><p>Что вообще эта ошибка обозначает в MONIT ? не хватку доступа к ресурсам? не хватки данных в файловой системе? или он не поддерживает LVM архитектуру?</p>]]></content>
			<author>
				<name><![CDATA[rayden8]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25938</uri>
			</author>
			<updated>2013-01-15T13:00:13Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=320830#p320830</id>
		</entry>
</feed>
