I think that housekeeping maybe broke in 1.4.2 pre or maybe i missed some SQL updates?
When uppgraded fron 1.4.1 -> 1.4.2 pre my zabbix_server process dies with this ->
Seems like zabbix want to puts values (1580337496064.000000) in the trends table that has the definition ->
Is it my table structure thats outdated or does the housekeeper something wrong?
Cheers!
When uppgraded fron 1.4.1 -> 1.4.2 pre my zabbix_server process dies with this ->
60932:20070706:115819 Executing housekeeper
60915:20070706:115819 Query::insert into trends (clock,itemid,num,value_min,value_avg,value_max) values (1183712400,21278,1,1580337496064.000000,158033749 6064.000000,1580337496064.000000)
60915:20070706:115819 Query failed:PGRES_FATAL_ERROR:ERROR: numeric field overflow
DETAIL: A field with precision 16, scale 4 must round to an absolute value less than 10^12.
60915:20070706:115819 Query::update items set nextcheck=1183715918,prevvalue=lastvalue,lastvalue ='1580337496064',lastclock=1183715899 where itemid=21278
60915:20070706:115819 Query failed:PGRES_FATAL_ERROR:ERROR: current transaction is aborted, commands ignored until end of transaction block
60915:20070706:115819 Query::select distinct function,parameter,itemid,lastvalue from functions where itemid=21278
60915:20070706:115819 Query failed:PGRES_FATAL_ERROR:ERROR: current transaction is aborted, commands ignored until end of transaction block
60902:20070706:115819 One child process died. Exiting ...
60902:20070706:115821 ZABBIX Server stopped
60915:20070706:115819 Query::insert into trends (clock,itemid,num,value_min,value_avg,value_max) values (1183712400,21278,1,1580337496064.000000,158033749 6064.000000,1580337496064.000000)
60915:20070706:115819 Query failed:PGRES_FATAL_ERROR:ERROR: numeric field overflow
DETAIL: A field with precision 16, scale 4 must round to an absolute value less than 10^12.
60915:20070706:115819 Query::update items set nextcheck=1183715918,prevvalue=lastvalue,lastvalue ='1580337496064',lastclock=1183715899 where itemid=21278
60915:20070706:115819 Query failed:PGRES_FATAL_ERROR:ERROR: current transaction is aborted, commands ignored until end of transaction block
60915:20070706:115819 Query::select distinct function,parameter,itemid,lastvalue from functions where itemid=21278
60915:20070706:115819 Query failed:PGRES_FATAL_ERROR:ERROR: current transaction is aborted, commands ignored until end of transaction block
60902:20070706:115819 One child process died. Exiting ...
60902:20070706:115821 ZABBIX Server stopped
Code:
Column | Type | Modifiers -----------+---------------+---------------------------- itemid | bigint | not null default 0::bigint clock | integer | not null default 0 num | integer | not null default 0 value_min | numeric(16,4) | not null default 0.0000 value_avg | numeric(16,4) | not null default 0.0000 value_max | numeric(16,4) | not null default 0.0000 Indexes:
Cheers!
Comment