mickem / nscp

NSClient++
http://nsclient.org
GNU General Public License v2.0
239 stars 94 forks source link

check_pdh using RRD question #705

Open mdollemore opened 3 years ago

mdollemore commented 3 years ago

In the config it is possible to have the following config, which as I understand it will sample the named performance counter and store the data in RRD. This in turn allows us to use the time= option in check_pdh to return the average value of the counter over the specified time period.

[/settings/system/windows/counters/ProcTime] collection strategy=rrd counter=\Processor(_total)\% Processor Time

This all appears to work well, however I need some more detail which is missing from the documentation;

  1. What is the default sample period and can this be specified/set.
  2. Where is the RRD data stored (in memory, on disk?).
  3. What is the retention period for RRD data, ie This impacts the maximum allowed value for time option
  4. What is the behaviour when the check first runs and RRD data for the time period or only a small portion of the time period exists.

Can anyone answer these questions, they are important to know when using this feature

Thanks

Mark