You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Summary

NMIS8 uses the RRDTool time series database tool for data storage and graphing. When RRDTool has to represent very small or very large numbers, it will use units instead of showing many decimal places.  The following table summarises those units.

UnitNameDecimal Places
aatto-18
ffemto-15
ppico-12
nnano-9
µmicro-6
mmilli-3
 (no unit)0
kkilo3
Mmega6
Ggiga9
Ttera12
Ppeta15
Eexa18

Example

So in the chart below the little m in this case is 100m to 900m milliseconds is in fact 0.1 to 0.9 milliseconds.

Customization

If you find this feature undesirable you can adjust the relevant graph definitions to NOT use unit autoscaling. Find the graph file you want to adjust in /usr/local/nmis8/models, and open it with an editor. Locate the options section, and add the "--unit-exponent" setting to both standard and small graph definitions, like in the example below:

# ... header lines
%hash = (
# ...
   'option' => {
       'standard' => [
           '--units-exponent','0',
           'DEF:ifInUcastPkts=$database:ifInUcastPkts:AVERAGE',
# ... lots of graph definition statement lines
		],
        'small' => [
            '--units-exponent','0',
            'DEF:ifInUcastPkts=$database:ifInUcastPkts:AVERAGE',
# ...
  • No labels