PDA

View Full Version : Adding a dependency gives me an error message


frater
14-11-2011, 17:28
Adding a dependency for a trigger in a template always gives me an error message in the status window.

Undefined index: expression [api/classes/class.ctriggerexpression.php:17]


Trigger "Site {HOST.CONN} has minor packetloss ({ITEM.LASTVALUE1}) - {HOSTNAME}:{Template_Standalone:packetloss[{HOST.CONN1}].last(0)}>1" updated.
Undefined index: expression [api/classes/class.ctriggerexpression.php:17]
Trigger "Site {HOST.CONN} has minor packetloss ({ITEM.LASTVALUE1}) - {HOSTNAME}:{xx.xxy.nl:packetloss[{HOST.CONN1}].last(0)}>1" updated.
Trigger "Site {HOST.CONN} has minor packetloss ({ITEM.LASTVALUE1}) - {HOSTNAME}:{xx.xxx.nl:packetloss[{HOST.CONN1}].last(0)}>1" updated.

It seems to do this only for the template itself.
I did this on one of my own keys, but it does so for all of them.

This wasn't the case in beta1 (now running 1.9.7 beta2)

richlv
15-11-2011, 13:07
i believe this is currently being fixed as https://support.zabbix.com/browse/ZBX-4282