PDA

View Full Version : Bug? b7 No triggers, evaluation bad


DiedX
10-03-2006, 13:01
Hi there!

I got Zabbix running with several hosts, 1 template-host, and some triggers. The monitoring works perfect, although the messaging does not work.

The error-log states:

023854:20060310:115510 Expression [({11292})=0] cannot be evaluated [Unable to get value for functionid [11292]]
023854:20060310:115510 Evaluation of expression [({11298})=0] failed [Unable to get value for functionid [11298]]
023854:20060310:115510 Expression [({11298})=0] cannot be evaluated [Unable to get value for functionid [11298]]
023854:20060310:115510 Evaluation of expression [({11287})=0] failed [Unable to get value for functionid [11287]]
023854:20060310:115510 Expression [({11287})=0] cannot be evaluated [Unable to get value for functionid [11287]]
023854:20060310:115510 Evaluation of expression [({11293})=0] failed [Unable to get value for functionid [11293]]
023854:20060310:115510 Expression [({11293})=0] cannot be evaluated [Unable to get value for functionid [11293]]
023854:20060310:115510 Evaluation of expression [({11299})=0] failed [Unable to get value for functionid [11299]]
023854:20060310:115510 Expression [({11299})=0] cannot be evaluated [Unable to get value for functionid [11299]]
023854:20060310:115510 Evaluation of expression [({11305})=0] failed [Unable to get value for functionid [11305]]
023854:20060310:115510 Expression [({11305})=0] cannot be evaluated [Unable to get value for functionid [11305]]
023854:20060310:115510 Evaluation of expression [({11294})=0] failed [Unable to get value for functionid [11294]]
023854:20060310:115510 Expression [({11294})=0] cannot be evaluated [Unable to get value for functionid [11294]]
023854:20060310:115515 Evaluation of expression [({11300})=0] failed [Unable to get value for functionid [11300]]
023854:20060310:115515 Expression [({11300})=0] cannot be evaluated [Unable to get value for functionid [11300]]
023854:20060310:115515 Evaluation of expression [({11306})=0] failed [Unable to get value for functionid [11306]]
023854:20060310:115515 Expression [({11306})=0] cannot be evaluated [Unable to get value for functionid [11306]]
023854:20060310:115515 Evaluation of expression [({11273})=0] failed [Unable to get value for functionid [11273]]
023854:20060310:115515 Expression [({11273})=0] cannot be evaluated [Unable to get value for functionid [11273]]
023854:20060310:115515 Evaluation of expression [({11295})=0] failed [Unable to get value for functionid [11295]]
023854:20060310:115515 Expression [({11295})=0] cannot be evaluated [Unable to get value for functionid [11295]]
023854:20060310:115515 Evaluation of expression [({11301})=0] failed [Unable to get value for functionid [11301]]
023854:20060310:115515 Expression [({11301})=0] cannot be evaluated [Unable to get value for functionid [11301]]
023854:20060310:115515 Evaluation of expression [({11307})=0] failed [Unable to get value for functionid [11307]]
023854:20060310:115515 Expression [({11307})=0] cannot be evaluated [Unable to get value for functionid [11307]]
023854:20060310:115515 Evaluation of expression [({11274})=0] failed [Unable to get value for functionid [11274]]
023854:20060310:115515 Expression [({11274})=0] cannot be evaluated [Unable to get value for functionid [11274]]

If I delete all triggers from the template, and create them manually on the host, the triggers seem to work. Is this a bug that I can't find, or what?

Data:

Host template:
tpl_lb

Linked host:
/tpl_Lb/1060
IP: 213.193.214.152
Linked with Template: tpl_lb
Has Group: Lb

Item for 1060:
tpl_Lb:FTP (and more)

Trigger for 1060:
tpl_Lb:FTP Down ( ({1060:ftp.max(300)})=0 )

Action:
Host group = "group_lb"
Send message to: Usergroup Lb.

DiedX
12-03-2006, 16:26
nobody? Otherwise I'll drop the database, and check again

DiedX
12-03-2006, 17:52
Ok,

I'm checking this issue more further. There seems to be a bug in the system, so when a template has a trigger, it gives a non-evaluated bug. However, my original problem (non-working of triggers) still isn't solved. To be continued.

DiedX
12-03-2006, 18:27
Ok,

Something is wrong here, probably with the templating-system. If I use the Last() function, everything works. If I use max() of min() of avg(), it horribly fails.

I'm kinda stuck here. For hostname http://zabbix.diedx.nl, the username is Admin, password fixed. If someone sees the problem, it would be great, but at this moment, I think I've might hit a bug.

DiedX
12-03-2006, 18:46
http://www.zabbix.com/forum/showthread.php?t=2246 did the trick!