Ticket #162 (closed enhancement: fixed)
Improve some rrdupdate error messages
| Reported by: | human | Owned by: | oetiker |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | rrd_update | Version: | |
| Keywords: | improve error messages | Cc: | he@… |
Description
I've written a tool which uses rrdtool, and it uses stdout to send updates to an rrdupdate process which is started once per "go".
Sometimes I get "illegal attempt to update using time..." error messages. However, that message doesn't say which rrd archive this applies to, and because of the buffering of stdio, the message may appear long after the offending update has been written.
Therefore, it would be beneficial if rrdupdate included the file name of the impacted RRD database in the error messages. I'll attach below two diffs, one to 1.2.27, one to 1.3.0, where the latter is a bit clunky due to restructuring done between the two versions.
Attachments
Change History
Changed 4 years ago by human
-
attachment
patch-am-1.2.27
added



Patch against 1.2.27