Changeset 1d9338a in nscp for docs/Configuration


Ignore:
Timestamp:
05/23/05 21:24:32 (8 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2, stable
Children:
6654022
Parents:
af5bc4b
Message:

2005-05-23 MickeM

+ Added obfuscated password support
+ Added some more debug info on commands (returncode, and input args)
+ Added some more comments ot the NSC.ini
+ Added central password "override"
+ Added central "host override"
+ Fixed bug with external commands always getting WARNING state

2005-05-22 MickeM

+ Added debug outout for command
+ Added timestamps for log-to-file (date_mask to configure format)
+ Added support for "no password" with check_nt
+ Added log of bad password on NSClient requests.

  • Some threading issues fixed (I hate threading :)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/Configuration/index.html

    re655f61 r1d9338a  
    33<head> 
    44<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 
     5<meta http-equiv="Content-Language" content="en-us"> 
    56<title>Configuration</title> 
    67<link rel="stylesheet" type="text/css" href="../nscplus.css"> 
     
    2324  has a lot of examples and comments so make sure you change this before you use  
    2425  NSClient++ as some of the examples might be potential security issues.</p> 
     26  <h2>[Settings]</h2> 
     27  <p>This section has options for how logging is performed. First off notice that  
     28  for logging to make sense you need to enable the “FileLogger.dll” module that  
     29  logs all log data to a text file in the same directory as the NSClient++ binary  
     30  if you don’t enable any logging module nothing will be logged.</p> 
     31  <p>The options you have available here are</p> 
     32  <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" id="table21"> 
     33    <tr> 
     34      <td valign="top">Option</td> 
     35      <td valign="top">Default value</td> 
     36      <td valign="top">Description</td> 
     37    </tr> 
     38    <tr> 
     39      <td valign="top">obfuscated_password</td> 
     40      <td valign="top">...</td> 
     41      <td valign="top">An obfuscated version of password. For more details  
     42      refer to the password option below.</td> 
     43    </tr> 
     44    <tr> 
     45      <td valign="top">password</td> 
     46      <td valign="top">...</td> 
     47      <td valign="top">The password used by various (presently only  
     48      NSClient) daemons. If no password is set everyone will be able to  
     49      use this service remotely.</td> 
     50    </tr> 
     51    <tr> 
     52      <td valign="top">allowed_hosts</td> 
     53      <td valign="top">127.0.0.1</td> 
     54      <td valign="top">A list (comma separated) with hosts that are  
     55      allowed to connect and query data. If this is empty all hosts will  
     56      be allowed to query data.</td> 
     57    </tr> 
     58  </table> 
    2559  <h2>[Log]</h2> 
    2660  <p>This section has options for how logging is performed. First off notice that  
     
    4781      this is relative to the NSClient++ binary.</td> 
    4882    </tr> 
     83    <tr> 
     84      <td valign="top">date_mask</td> 
     85      <td valign="top">%Y-%m-%d %H:%M:%S</td> 
     86      <td valign="top">The date format used when logging to a file</td> 
     87    </tr> 
    4988  </table> 
    5089  <h2>[Systray]</h2> 
     
    79118    </tr> 
    80119    <tr> 
     120      <td valign="top">obfuscated_password</td> 
     121      <td valign="top">&nbsp;</td> 
     122      <td valign="top">An obfuscated version of password. For more details  
     123      refer to the password option below. </td> 
     124    </tr> 
     125    <tr> 
    81126      <td valign="top">password</td> 
    82127      <td valign="top">&nbsp;</td> 
    83128      <td valign="top">The password that incoming client needs to authorize  
    84       themselves by.</td> 
     129      themselves by. This option will replace the one found under Settings  
     130      for NSClient. If this is blank the option found under Settings will  
     131      be used. If both are blank everyone will be granted access.</td> 
    85132    </tr> 
    86133    <tr> 
     
    88135      <td valign="top">&nbsp;</td> 
    89136      <td valign="top">A list (coma separated) with hosts that are allowed  
    90       to poll information from NSClient++</td> 
    91     </tr> 
    92     <tr> 
    93       <td valign="top">use_ssl</td> 
    94       <td valign="top">0</td> 
    95       <td valign="top">Boolean value to toggle SSL encryption. This is not  
    96       yet supported in any client I know of but as the underlying structure  
    97       (NRPE) supports it I thought Id might add it if someone wants to update  
    98       check_nt to support SSL.<b>Not implemented in this version</b></td> 
    99     </tr> 
    100   </table> 
     137      to poll information from NSClient++. This will replace the one found  
     138      under Setting for NSClient if present. If not present the same  
     139      option found under Settings will be used. If both are blank all  
     140      hosts will be allowed to access the system</td> 
     141    </tr> 
     142    </table> 
    101143  <h2>[NRPE]</h2> 
    102144  <p>This is configuration for the NRPE module that controls how the NRPE listener  
     
    117159      <td valign="top">&nbsp;</td> 
    118160      <td valign="top">A list (coma separated) with hosts that are allowed  
    119       to poll information from NSClient++</td> 
     161      to poll information from NRPE. This will replace the one found under  
     162      Setting for NRPE if present. If not present the same option found  
     163      under Settings will be used. If both are blank all hosts will be  
     164      allowed to access the system</td> 
    120165    </tr> 
    121166    <tr> 
     
    129174      <td valign="top">60</td> 
    130175      <td valign="top">The maximum time in seconds that a command can execute.  
    131       (if more then this execution will be aborted).<b>NOTICE</b> this only  
     176      (if more then this execution will be aborted).<b> NOTICE</b> this only  
    132177      affects external commands not internal ones.</td> 
    133178    </tr> 
     
    156201  The latter is the preferred way as it is shorter.</p> 
    157202  <h2>[Check System]</h2> 
    158   <p>Here you can set various options to configure the Syetem Check module.</p> 
     203  <p>Here you can set various options to configure the System Check module.</p> 
    159204  <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" id="table20"> 
    160205    <tr> 
     
    179224    <tr> 
    180225      <td valign="top">CounterPageLimit</td> 
    181       <td valign="top">\\\\.\\Memory\\Commit Limit</td> 
     226      <td valign="top">\Memory\Commit Limit</td> 
    182227      <td valign="top">Counter to use to check upper memory limit.</td> 
    183228    </tr> 
    184229    <tr> 
    185230      <td valign="top">CounterPage</td> 
    186       <td valign="top">\\\\.\\Memory\\Committed Bytes</td> 
     231      <td valign="top">\Memory\Committed Bytes</td> 
    187232      <td valign="top">Counter to use to check current memory usage.</td> 
    188233    </tr> 
    189234    <tr> 
    190235      <td valign="top">CounterUptime</td> 
    191       <td valign="top">\\\\.\\System\\System Up Time</td> 
     236      <td valign="top">\System\System Up Time</td> 
    192237      <td valign="top">Counter to use to check the uptime of the system.</td> 
    193238    </tr> 
    194239    <tr> 
    195240      <td valign="top">CounterCPU</td> 
    196       <td valign="top">\\\\.\\Processor(_total)\\% Processor Time</td> 
    197       <td valign="top">Counter to use for CPU load.</td> 
     241      <td valign="top">\Processor(_total)\% Processor Time</td> 
     242      <td valign="top">Counter to use for CPU load. For NT4 this has to be  
     243      altered to &quot;\System\% Total Processor Time&quot; as PDH definitions have changed.</td> 
    198244    </tr> 
    199245  </table> 
Note: See TracChangeset for help on using the changeset viewer.