PDA

View Full Version : PATCH: Ability to use a custum divider


zarath
23-01-2006, 12:07
I attached a patch against zabbix-1.1beta5 for applying a custum divider to values.

I need this, cause one of my routers has timeticks in 1/100s. Now I'm able to
view the correct uptime.

cameronsto
23-01-2006, 16:46
Unless I'm not understanding the issue, couldn't you have used a custom multiplier of 0.01 to achieve the same results?

-cameron

zarath
23-01-2006, 21:29
It would be possible with floating point multiplier, but then you need additional type conversations. At the moment (1.1beta5) the multiplier is defined as integer datatype in database definition.
I even don't know how accurate a conversation from 64bit int to
float and back would be.

Ah, I see, there is the possibility to use float multipliers in cvs tree.