Ad Widget

Collapse

2 triggers on same key...causes "Unable to get value for functionid"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dp4
    Junior Member
    • Nov 2005
    • 13

    #1

    2 triggers on same key...causes "Unable to get value for functionid"

    1.1beta4

    "014758:20051222:191900 Expression [{11214}>10] cannot be evaluated [Unable to get value for functionid [11214]]"

    i have not read the code, but i got this error in the server log when i added a 2nd trigger on one of my keys for the same host. i looked at the data in functions and found duplicate itemids. i'm assuming that the code expects this to be a unique key (does mysql support unique keys?)

    anyway, i deleted the triggers and now the errors are gone and zabbix appears to be happy again.

    so is this a bug or is it by design?...that you cannot have 2 triggers on the same key?

    thanks
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    This is perfercly OK. You may have N triggers using the same key(s). Not sure what caused the problem though...
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...