Hi Alexei.
I discovered an error in the function "evaluate_function" in the file "evalfunc.c" from zabbix_server 1.3.4. This error is also mentioned hier.
The return value of the "diff" functions with integer values (lines 1050-1059) is wrong. It should be like this:
Hth,
Frank
I discovered an error in the function "evaluate_function" in the file "evalfunc.c" from zabbix_server 1.3.4. This error is also mentioned hier.
The return value of the "diff" functions with integer values (lines 1050-1059) is wrong. It should be like this:
Code:
case ITEM_VALUE_TYPE_UINT64:
if(item->lastvalue_uint64 == item->prevvalue_uint64)
{
strcpy(value,"0");
}
else
{
strcpy(value,"1");
}
break;
Frank
Comment