Data history fields, parameters, rules and resolution
The TrueSight Middleware and Transaction Monitor (TMTM) history database stores raw (high-resolution) and summarized (low-resolution) values of attributes, where they are available for querying and generating reports. At 30-minute intervals, the History Service compresses the raw data into summarized data, in accordance with the associated history rule.
Data history fields and parameters
The following table lists the History compression parameters.
Parameter | Compressed values |
---|---|
Last | Saves the last value sampled during the one-hour interval (default). |
Total | Saves the sum of all sample values sampled during the one-hour interval (default). |
Count | Saves the number of sample values taken during the one-hour interval (default). |
Avg | Saves the average sample value during the one-hour interval (default). |
Min | Saves the minimum (lowest) sample value during the one-hour interval (default). |
Max | Saves the maximum (highest) sample value during the one-hour interval (default). |
Enable ProactiveNet | Enables data to be sent to a ProactiveNet server. See TMTM ProactiveNet Service for more information. |
Configuring history rule parameters
Configure the high-resolution storage duration by setting amount_of_hires_to_keep in services.cfg.
History rule errors
The following errors are possible when attaching objects to templates.
Error text | Solution |
---|---|
One or more selected objects have concrete history rules defined. Objects with concrete history rules cannot be associated with a template. | Remove the concrete rule from the object. See Removing a concrete history rule from an object. Reapply the template. Note: BMC does not recommend the use of concrete history and event rules. They have been deprecated in this release and support will be removed in the future. Instead, use the event rule and history rule templates to configure history gathering and event actions. |
One or more selected objects are already associated with another template | You cannot attach a template to an object that already has a template attached. Detach the template and try again. |
All selected instances are invalid. | Ensure you are attaching an object to a template of the same type. |
Data compression and history rules
The TMTM History Service distills summarized data from raw data by compressing data every 30 minutes in accordance with the attached history rule. 30 minutes is a non-configurable value.
History rules are essentially data compression rules. They can be created for the numerical properties of objects in the physical tree.
Example
CurrentGetRate is a property of a queue. Because it is a numeric property, it can be used in a history rule definition.
Compression parameters are accessible for each monitored object property in the History tab view pane. You can select more than one compression parameter for each property. Compression parameters are described in History fields and parameters.
The following examples illustrate how to use the compression parameters to create a history rule.
History rules and templates
A template is a rule holder that contains one rule for attachment to one or more monitored objects.
A template can be attached to one or more monitored objects while an object is attached to zero or one template. You can attempt to attach an object to more than one template but only the first attachment is valid.
Changes to a rule template are applied to all attached objects.
Note
Data resolution
Data resolution is a measure of the number of reported samples taken of the monitored data per unit time. The higher the data resolution, the more storage resources are used and the greater the network load. Resolution of reported data is set by the sample interval.
Sample interval
The sample interval is the time between data samples of the property being monitored.
agentpref.sh --set 'WebSphere MQ Monitor' SampleInterval 60
The default, configurable sample interval is 60 seconds.
Comments
Log in or register to comment.