Ticket #2218 (closed defect: Fixed)
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
Note: See
TracTickets for help on using
tickets.