|
Statistics Channel Properties |
Top Previous Next |
|
This article cover properties of a single statistical channel. Source Data Expression The Expression property defines what data is the base of statistics. It is evaluated on every change of variable that the channel is built upon. The expression must evaluate to a number (integer of floating point). If the expression evaluates to any other data type, the system tries to convert it to a number and skips the value if conversion fails. If the expression evaluates to NULL, the system applies NULL Value Handling method to it (see below).
Key Fields A channel may include one or more Datasets for a single context variable. Multiple Datasets can be created for tabular variables. In this case each row in the variable is identified by unique string key (Dataset name). See Working With Key section for further explanation. Values Post-Processing Statistics channel provides several options for post-processing values returned by channel Expression:
NULL Value Processing This setting defines that should the channel do when its Expression was evaluated to NULL. There are two options:
Out Of Range Value Processing Specifies how to process the values that are less than Minimum Value or greater than Maximum Value. The following choices are available:
Minimal Value and Maximal Value These numbers define discarding/normalization thresholds, as specified by Out Of Range Value Processing option.
Statistics Storage Basically, statistical data may be stored in files and memory. File-based storage is persistent, while data of memory-based channels is discarded when server is restarted. Storage Storage property defines statistics storage type. There are three options:
Memory based storage guarantees maximum performance, but it doesn't preserve data between server restarts and, therefore, has very limited uses. Here are some guidelines for making a choice between standard files and memory-mapped files:
Channel Type The channel Type setting defines how are subsequent source values processed to form Primary Data Points for the channel. See Channel Types for details. Statistics module use Aggregation Functions (AF) to convert Primary Data Points into Consolidated Data Points (see RRD Technology for details). There are siz aggregation functions that may be individually enabled/disabled for a channel:
Data aggregation functions are applied to all Archives enabled for the channel. For example, if Average aggregation function is enabled, the system keeps Minutely, Hourly and other averages. Average This function calculates an average of Primary Data Points to form a Consolidated Data Point. This is an average of values themselves (for Gauge channel) or value change rates (for Counter and other channel types). Minimum This function takes finds minimal Primary Data Point to use as a Consolidated Data Point. This is minimal value itself (for Gauge channel) or minimal value change rate (for Counter and other channel types). Maximum Similar to Minimum. Total This function sums all Primary Data Points to form a Consolidated Data Point. This is a sum of values themselves (for Gauge channel) or value change rates (for Counter and other channel types). First This function takes first Primary Data Point as the value for a Consolidated Data Point. Last This function takes last Primary Data Point as the value for a Consolidated Data Point. Archives Each channel can have all or some of the following Archives enabled:
Length of each archive, i.e. number of Consolidated Data Points in it, is configurable.
Step Granularity interval for the channel, see RRD Techology for details. The Step should not be changed in most cases.
XFiles Factor The XFiles Factor defines what part of a consolidation interval may be made up from "Unknown" Data Points while the consolidated value is still regarded as known. It is given as the ratio of allowed "Unknown" Primary Data Points to the number of PDPs in the interval. Thus, it ranges from 0 to 1 (exclusive).
The default value is 0.9, meaning that 90% of initial samples may be missing. To ensure more reliable statistical values, decrease this value. The typical setting is 0.5. Show In Status Defines whether this channel's brief statistics should be shown in the status of container (i.e. device or tracker). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||