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]
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)
Undefined index: expression [api/classes/class.ctriggerexpression.php:17]
Code:
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.
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)
Comment