Ad Widget

Collapse

1.1beta9: Strange Errors in zabbix_server.log

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dcrandall
    Member
    • Apr 2006
    • 59

    #1

    1.1beta9: Strange Errors in zabbix_server.log

    Hi,

    I am getting a lot of errors like this in my zabbix_server.log:
    034431:20060517:223206 Expression [({12439}>89)&({12440}<96)] cannot be evaluated [Unable to get value for functionid [12439]]

    Well, I recognize [({12439}>89)&({12440}<96)] as one of my trigger expressions:
    ({Host.Unix:fs.root.pct.last(0)}>89)&({Host.Unix:f s.root.pct.last(0)}>96)

    Here is what mysql has for that functionid...
    mysql> select * from functions where functionid=12439\G;
    *************************** 1. row ***************************
    functionid: 12439
    itemid: 18630
    triggerid: 12823
    lastvalue: NULL
    function: last
    parameter: 0

    Why does it think it can't evaluate the expression? I have verified that the trigger actually works: if I modify the expression and change 89 to 9, the trigger turns on. It's weird too because I have a similar trigger expression but with >79 in the first part and <90 in the second part and this version is not producing errors.

    Also, I tried simplifying the expression to ({Host.Unix:fs.root.pct.last(0)}>89) but it produces the same error. I do have two sepparate triggers with this type of expression defined, but only one of them generates the error - which is just weird.

    Anybody have any insight?

    Thanks
    Daniel
    Last edited by dcrandall; 18-05-2006, 08:28.
  • dcrandall
    Member
    • Apr 2006
    • 59

    #2
    Ok, it seems these errors happen when I have two sepparate triggers with similar expressions, such as:
    ({Host.Unix:fs.root.pct.last(0)}>79)
    ({Host.Unix:fs.root.pct.last(0)}>89)

    Whichever one I added second generates the errors.
    If I delete either of them, the errors stop.

    So maybe there is something about configuring triggers that I don't understand?
    Is there something wrong with defining two triggers with the same Host:key.function(param) combination?

    If so, what is the proper way to trigger "warning" when the value is >79, "Average" at >89, and "High" at >97, etc.?

    Comment

    Working...