Good afternoon! I'm new to Pandora FMS and I have a doubt in which I have not found solution. I have an agent that collects information that the link is online (1) or not (0), however, when the chart is generated appear some different values of 0 and 1, eg, 0.5, 0.66. Could someone explain to me why will not appear only 0 and 1? thanks in advance.
Graph with different values collected by the agent
aprado · 30 ene 2014, 22:34 · 16 mensajes · 52 visitas
- Inicio del debate
Hi It's possible that the information that referred to are the averages values. In Setup > Visual Styles you can configure the graphics resolution. Possibly the default value you have setting is 5. Try to set 20 and check the graph. If appear the same graph, check your data values.... Regards
thanks for your reply. I changed the display resolution and the graphics really has changed, but the data are still not 0 or 1, as shown in the attached picture. In another case, I saw values saved as 0.5 on the database, but the data type is generic_proc. Boolean value should theoretically be 0 (wrong) or 1 (right) as shown in Pandora FMS documentation. Could you explain to me why float value( 0.5 , 0.25) can be saved? Regards
[

](//pandorafms.com/community/media/forum/0/16348=615-chart.png)
Can you show me a screenshot of http://X.X.X.X/pandora\_console/index.php?sec=gsetup&sec2=godmode/setup/setup§ion=perf ?
Ok
[

](//pandorafms.com/community/media/forum/0/16352=616-Imagem.png)
Ok You are using Pandora FMS 4.1, right? Do you have enabled data compaction?
Yes for both questions!
I'm afraid that the problem can be data compaction. I will review it in our testing systems to see if we can replicate the problem. It seems as if compacting the Boolean data as numeric data. When compacted, gets X data depending on the compaction level set, and takes the average of the data, changing the value of the X data, by a numerical value...
Yes, this is the problem. Now to see them correctly you should disable data compaction or upgrade to version 5.0.1, when available, where this bug will be corrected. Thank you very much for the contribution
Hellow Mario, Did you know when we ll have the 5.01 version ? Thx
You are Welcome. Thx Mario for your replies. We are waiting for the 5.01 version!
Hi Mario, I was thinking about this problem and i have one question... After fixing this bug, my old data is shown in graph properly or only data after the update will be correct? Thanks you
Hi ppereira The data was compacting in the database and this not will change with the upgrade. Regards
Hi Mario, The question is: The data was compacting WRONG in database. Or The data was compacting OK in database. If the problem only occurs upon decompression, so I'll have all my historic corrected. Otherwise only the data recorded after correction will be fixed .. Reggards
Hi The data was compacting WRONG in database. When we'll update the version, and introduce this change, all data will be compacted properly. Until then, you need to disable data compaction, to not create, new false data to produce these erroneous graphs. Regards
Ok, Thanks you :)
Entra en tu cuenta para publicar.


