Ad Widget

Collapse

Custom miltiplier and big values problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • slenz
    Junior Member
    • May 2006
    • 2

    #1

    Custom miltiplier and big values problem

    I want to monitor disk read/write speed and created an item with key vfs.dev.read[scsi/host1/bus0/target1/lun0/disc,sectors].
    To convert number of sectors to bytes I use custom multiplier 512 and store value as 'Delta (speed per second)'.
    All is OK, but when system counters goes high I get weird values on the graph (about 500MB/s and higher).
    Below the line from my /proc/partitions file:
    8 16 117246528 scsi/host1/bus0/target1/lun0/disc 40293393 222252041 2094244576 32778853 7088180 50961501 452825678 24382145 0 16900442 14253006

    I try to set Type of information as 'Integer 64 bit' and as 'Integer (float)' but don't get correct results. As I see at the source, multiplier has moved from frontend to server process and values stored in the database already multiplied. May be value overrun occurred somewhere?

    I'm use Linux kernel 2.4.x and Zabbix 1.1beta8.
  • slenz
    Junior Member
    • May 2006
    • 2

    #2
    Seems problem was in database schema

    I keep investigating my problem and found that field 'prevorgvalue' of 'items' table have insufficient length for store such big values and value stored as 999999999999.9999. When I changed it's type from double(16,4) to double(20,4) my problem has gone away.

    Comment

    Working...