Hi,
I have a test installation with 4 hosts. Those hosts are based on the same template with one simple item ( agent.ping ) and one trigger ( {tpl-monitored:agent.ping.nodata(60)}=1 ) where the item is an *active* check.
When I start an agent on on of the hosts, the trigger changes its status from UNKNOWN to FALSE which is ok. The problem is the transition from FALSE to TRUE after the timeout of 60 seconds which is never triggered.
While examinging the sever log I found the following log message:
The third last line says
which seems to be an error in type conversion ( takes place in zabbix_server/functions.c method update_triggers( zbx_uint64_t itemid ) line 290 ).
I executed the query from the last log line above and got no results.
Then I executed the same query but replaced the itemid with 17231 and got the following result:
That's what I've figured out so far - unfortunately I'm a bit stuck now.
It'd be great if someone could tell me what's wrong here
The system zabbix is running on is Ubuntu Linux 5.10 ( Breezy Badger ).
I attached the config.log file ( zipping was necessary due to the size of 191kb ).
Cheers,
micha
I have a test installation with 4 hosts. Those hosts are based on the same template with one simple item ( agent.ping ) and one trigger ( {tpl-monitored:agent.ping.nodata(60)}=1 ) where the item is an *active* check.
When I start an agent on on of the hosts, the trigger changes its status from UNKNOWN to FALSE which is ok. The problem is the transition from FALSE to TRUE after the timeout of 60 seconds which is never triggered.
While examinging the sever log I found the following log message:
Code:
15341:20070228:152202 In update_functions(17213) 15341:20070228:152202 Executing query:select distinct function,parameter,itemid,lastvalue from functions where itemid=17213 15341:20070228:152202 ItemId:17213 Evaluating nodata(134951547) 15341:20070228:152202 In evaluate_FUNCTION() Function [nodata] 15341:20070228:152202 In evaluate_FUNCTION() pre-7 15341:20070228:152202 In evaluate_FUNCTION() 7 Formula [1] 15341:20070228:152202 In evaluate_FUNCTION() 7 Value [1] 15341:20070228:152202 In evaluate_FUNCTION() 7 Units [] 15341:20070228:152202 In evaluate_FUNCTION() 7 Value [1] Units [] Formula [1] 15341:20070228:152202 End of evaluate_FUNCTION. Result [1] 15341:20070228:152202 Result of evaluate_FUNCTION [1] 15341:20070228:152202 Do not update functions, same value 15341:20070228:152202 In update_triggers [itemid:579504922043630397] 15341:20070228:152202 Executing query:select distinct t.triggerid,t.expression,t.status,t.dep_level,t.priority,t.value,t.description from triggers t,functions f,items i where i.status<>3 and i.itemid=f.itemid and t.status=0 and f.triggerid=t.triggerid and f.itemid=579504922043630397 15341:20070228:152202 End of update_triggers [17213]
Code:
15341:20070228:152202 In update_triggers [itemid:579504922043630397]
I executed the query from the last log line above and got no results.
Then I executed the same query but replaced the itemid with 17231 and got the following result:
Code:
triggerid expression status dep_level priority value description
12213 {11217}=1 0 0 5 2 Host {HOSTNAME} reachable
It'd be great if someone could tell me what's wrong here

The system zabbix is running on is Ubuntu Linux 5.10 ( Breezy Badger ).
I attached the config.log file ( zipping was necessary due to the size of 191kb ).
Cheers,
micha
Comment