Opened 2 years ago

Last modified 16 months ago

#1193 accepted defect

Please document DERIVE and COUNTER operates on integer numbers only

Reported by: cbiedl Owned by: ssm
Priority: normal Milestone: Munin 2.0.0
Component: documentation Version: 1.4.6
Severity: normal Keywords:
Cc:

Description

Regarding wiki:fieldname.type:

Somewhat surprising but due to limitations of rrdtool, values of fields with the type DERIVE or COUNTER only take integer values as an argument. Please document that since at the moment, a generated graph contains only -NaN while the error message like

[ERROR] In RRD: Error updating /var/lib/munin/(...)/(...)-d.rrd: /var/lib/munin/(.../(...)-d.rrd: not a simple signed integer: '0.5'

is well hidden in the in the update log.

I'd take the opportunity to enhance wiki:protocol-config to update the description of {fieldname}.value into something like:

Output must be integer number for fields of type DERIVE and COUNTER, additionally a decimal number or in scientific notation for GAUGE.

(ABSOLUTE needs checking.)

See also:
Debian bug report #543631: rrdupdate does not support floating point values with DERIVE, COUNTER

Change History (1)

comment:1 Changed 16 months ago by ssm

  • Owner changed from nobody to ssm
  • Status changed from new to accepted
Note: See TracTickets for help on using tickets.