Hello,
Is it a bug, a feature, or am i only idiot ?
I've made several scripts to get data on remote hosts by ssh, and all seems to work, except one thing: Integer data sometimes become decimal.
I have a "count processus" data input, and when I watch the base and the graphs, i find values like "minimum: 5.15 ", "maximum: 15.90".
This is strange, because my values input are all integers like it is shown in the log and in the cron printout:
/home/rv/rdf.sh exploit prew3.nosy.fr /var => 3660 931339
/home/rv/rmemstat.sh exploit prew3.nosy.fr => 55350 380600 25605 51496 1803
/home/rv/rcountproc.sh exploit prew3.nosy.fr httpd => 40
Could it be a problem with the time compensation of rrdtool (i have seen that rrdtool could adjust the values of counter with the time delay)...all this sources are "gauges".
Do you have an idea ?
Last, i encountered a weird bug with input that were wrong if the last parameter is directly followed by a carriage return:
123 412\n =>Bad value 412
123 412 \n => Ok
Is this problem frequently encountered ?
Thanks for helping,
Robin
Strange Decimal figures where Integer expected
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 3 guests