Ad Widget

Collapse

PATCH: Ability to use a custum divider

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zarath
    Junior Member
    • Jan 2006
    • 5

    #1

    PATCH: Ability to use a custum divider

    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.
    Attached Files
  • cameronsto
    Senior Member
    • Oct 2005
    • 148

    #2
    Unless I'm not understanding the issue, couldn't you have used a custom multiplier of 0.01 to achieve the same results?

    -cameron

    Comment

    • zarath
      Junior Member
      • Jan 2006
      • 5

      #3
      floating point multiplier

      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.
      Last edited by zarath; 23-01-2006, 21:46.

      Comment

      Working...