Ticket #2218 (closed defect: Fixed)

Opened 14 months ago

Last modified 8 weeks ago

Handle long values passed to ZenHub's writeRRD via XML-RPC

Reported by: chris Owned by: edahl
Priority: 3 - Medium Milestone: zenoss-2.2
Component: All Version: 2.1.0
Keywords: zenoss-2.1.1-patched Cc:
Community Patch Attached: Deployed @ Customer:
Installer: Maintenance Target:
Specific ZenPack: Maintenance Status:
Documentation Note?: Not required Regression:

Description

The XML-RPC standard does not support passing long values. There are many times where we're going to need to pass long values to writeRRD (in the "value" parameter). This often appears in ZenJMX when reporting values for CPU ticks that Java has made.

We should update ZenHub's RRDImpl to convert the value to a long if the datapoint type is a counter or derive. Then XML-RPC clients can safely pass the long value as a String, double, float, or some other variant that has sufficient precision to represent such a long value.

Change History

Changed 14 months ago by chris

  • status changed from new to closed
  • resolution set to fixed

(In [7243]) fixes #2218: convert the value to a long if the rrd data type is a
counter or a derive. should we also convert on absolute?

Changed 14 months ago by chris

(In [7244]) refs #2218: pass integer based datapoint values as strings

Changed 14 months ago by chris

  • milestone changed from zenoss-2.1.1 to zenoss-2.2

Changed 14 months ago by chris

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 13 months ago by marc

  • status changed from reopened to closed
  • resolution set to fixed

r7446 Patches r7243 r7244 to 2.1.x branch

Changed 13 months ago by marc

  • keywords zenoss-2.1.1-patched added; zenoss-2.1.1 removed

Changed 8 weeks ago by bbibeault

  • documentation set to Not required
  • reviewed set to 1
Note: See TracTickets for help on using tickets.