Changeset 6654022 in nscp for docs/CheckDisk/index.html


Ignore:
Timestamp:
05/29/05 20:58:08 (8 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2, stable
Children:
e26cfe0
Parents:
1d9338a
Message:
  • Fixed PROCSTATE and SERVICESTATE return state. + Added support for individual size in CheckDriveSize and CheckFileSize (size has to be specified before a drive/path)
  • Fixed performance data for drives (and possibly other places)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/CheckDisk/index.html

    r1d9338a r6654022  
    3333  <h2>CheckFileSize</h2> 
    3434  <p>This check does a recursive size calculation of the directory (or file) specified.  
    35   A request has one or more options described in the table below. </p> 
     35  A request has one or more options described in the table below. The order  
     36  only matter in that the size has to be specified before the File option  
     37  this becous you can change the size for each drive by specifying multiple  
     38  Size options.</p> 
    3639  <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" id="table5"> 
    3740    <tr> 
     
    127130      </div> 
    128131      </li> 
     132      <li> 
     133      <p><b>Sample of using individual size for multiple files.:</b></p> 
     134      <p><code>CheckFileSize MaxWarn=2G MaxCrit=4G File=c:\\pagefile.sys MaxWarn=1K MaxCrit=512 File=c:\\boot.ini</code></p> 
     135      <p><code>OK all file sizes are within bounds.</code></p> 
     136      <div class="config"> 
     137        <p>define command { </p> 
     138        <p>&nbsp;&nbsp;&nbsp; command_name CheckMyFiles </p> 
     139        <p>&nbsp;&nbsp;&nbsp; command_line check_nrpe -H $HOSTADDRESS$ -p  
     140        5666 -c CheckFileSize -a MaxWarn=2G MaxCrit=4G File=c:\\pagefile.sys MaxWarn=1K MaxCrit=512 File=c:\\boot.ini</p> 
     141        <p>}</p> 
     142        <p>&nbsp;&nbsp;&nbsp; check_command CheckMyFiles</p> 
     143      </div> 
     144      </li> 
    129145    </ul> 
    130146  </div> 
    131147  <h2>CheckDriveSize</h2> 
     148  <p>This check verifies the size of various drives specified on the command  
     149  line.  
     150  A request has one or more options described in the table below. The order  
     151  only matter in that the size has to be specified before the Drive option  
     152  this becous you can change the size for each drive by specifying multiple  
     153  Size options.</p> 
    132154  <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" id="table6"> 
    133155    <tr> 
Note: See TracChangeset for help on using the changeset viewer.