<br><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 10:57 AM, Shailesh Paudyal <span dir="ltr"><<a href="mailto:shailesh.paudyal@gmail.com">shailesh.paudyal@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

OS is ............... Red Hat Linux 5.4<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 9:51 AM, Steve Holmes <span dir="ltr"><<a href="mailto:sholmes42@mac.com" target="_blank">sholmes42@mac.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<br><div><div><div></div><div><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 10:43 AM, Shailesh Paudyal <span dir="ltr"><<a href="mailto:shailesh.paudyal@gmail.com" target="_blank">shailesh.paudyal@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">

<p>All,</p><p>Please see below, there is a problem with disk monitoring on one of the server. Can some one tell me if I did something wrong?</p><p><br></p><p>
W]d Jul 28 10:34:31 EDT 2010 - Filesystems NOT ok</p>

<p> </p>

<p><span> </span>7% / (8816628% used)
has reached the PANIC level (95%)</p>

<p><span> </span>38% /u01 (90371708%
used) has reached the PANIC level (95%)</p>

<p><span> </span>2% /tmp (9254468%
used) has reached the PANIC level (95%)</p>

<p><span> </span>34% /usr (6261556%
used) has reached the PANIC level (95%)</p>

<p><span> </span>18% /opt (7775588%
used) has reached the PANIC level (95%)</p>

<p><span> </span>4% /var (13653064%
used) has reached the PANIC level (95%)</p>

<p><span> </span>3% /home (27514896%
used) has reached the PANIC level (95%)</p>

<p><span> </span>30% /boot (67864%
used) has reached the PANIC level (95%)</p>

<p><span> </span>14% /u02 (1697518148%
used) has reached the PANIC level (95%)</p>

<p><span> </span>94% /u03 (136865636%
used) has reached the PANIC level (95%)</p>

<p> </p>

<p>Filesystem<span>         </span>10</p>

<p>4-b]ocks<span>      </span>Used
Available Capacity Mounted on</p>

<p>/dev/sda9<span>             
</span>9920592<span>    </span>591896<span>   </span>8816628<span>      
</span>7% /</p>

<p>/dev/sda10<span>          
</span>152435112<span>  </span>54195172<span>  </span>90371708<span>     
</span>38% /u01</p>

<p>/dev/sda8<span>             
</span>9920592<span>    </span>154056<span>   </span>9254468<span>      
</span>2% /tmp</p>

<p>/dev/sda7<span>             
</span>9920592<span>   </span>3146968<span>   </span>6261556<span>     
</span>34% /usr</p>

<p>/dev/sda6<span>             
</span>9920592<span>   </span>1632936<span>   </span>7775588<span>     
</span>18% /opt</p>

<p>/dev/sda5<span>            
</span>14877060<span>    </span>456092<span>  </span>13653064<span>      
</span>4% /var</p>

<p>/dev/sda3<span>            
</span>29753588<span>    </span>702880<span>  </span>27514896<span>      
</span>3% /home</p>

<p>/dev/sda1<span>              
</span>101086<span>     </span>28003<span>     </span>67864<span>     
</span>30% /boot</p>

<p>/dev/mapper/VolGroup02-u02 2064204960 261831260
1697518148<span>      </span>14% /u02</p>

<p>/dev/mapper/VolGroup03-u03 2064204960 1822483772
136865636<span>      </span>94% /u03</p><br><font color="#888888">-- <br>Shailesh K. Paudyal<br><a href="mailto:shailesh.paudyal@gmail.com" target="_blank">shailesh.paudyal@gmail.com</a><br>
</font></blockquote></div><br><br clear="all"></div></div>Which OS?</div><div>Steve<br>-- <br><br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Shailesh K. Paudyal<br><a href="mailto:shailesh.paudyal@gmail.com" target="_blank">shailesh.paudyal@gmail.com</a><br>
</div></div></blockquote></div><br>It appears that Xymon has slipped one field to the left in parsing the df output. The string at the beginning of each of the lines before the actual df ouput should be the name of the filesystem (plus an icon, but we'll ignore that for now). Then it is using the available number as the percent used, which, of course, is huge. <div>

<br></div><div>I don't know if this is causing the problem but there is some funkiness with the first line of the df output. It is broken between the 10 and the 4 and there is a ']' instead of an 'l' in the word "blocks". Maybe this is a cut/paste error, but if not, it is certainly not right.</div>

<div><br></div><div>I think it should read something like</div><div><br></div><div>Filesystem          1K-blocks            Used   Available  Use%    Mounted on</div><div><br></div><div>If your df actually outputs a broken first line I think that should be fixed first, then see if Xymon parses the output correctly. </div>

<div><br></div><div>Steve<br><div><br>-- <br>The test of a democracy is not the magnificence of buildings or the speed of automobiles or the efficiency of air transportation, but rather the care given to the welfare of all the people. -Helen Adams Keller, lecturer and author (1880-1968)<br>

<br>Truth never damages a cause that is just. -Mohandas Karamchand Gandhi (1869-1948) <br>
</div></div>