Ad Widget

Collapse

Unable to get function value: function.lastvalue IS NULL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Firewire2002
    Junior Member
    • Sep 2008
    • 6

    #1

    Unable to get function value: function.lastvalue IS NULL

    Hello,

    i have two Zabbix 1.6.1 Servers running.
    But i get some errors in the log:
    Code:
      9945:20090114:185459 Expression [{100100000028537}=0 | {100100000028536}=1] cannot be evaluated [Unable to get function value: function.lastvalue IS NULL for functionid [100100000028537]]
      9945:20090114:185459 Expression [{100100000026705}=0 | {100100000026704}=1] cannot be evaluated [Unable to get function value: function.lastvalue IS NULL for functionid [100100000026705]]
      9945:20090114:185459 Expression [{100100000026973}=0 | {100100000026972}=1] cannot be evaluated [Unable to get function value: function.lastvalue IS NULL for functionid [100100000026973]]
      9945:20090114:185459 Expression [{100100000027231}=0 | {100100000027230}=1] cannot be evaluated [Unable to get function value: function.lastvalue IS NULL for functionid [100100000027231]]
      9945:20090114:185459 Expression [{100100000027475}=0 | {100100000027474}=1] cannot be evaluated [Unable to get function value: function.lastvalue IS NULL for functionid [100100000027475]]
    I searched one of the expressions in the database and get for example the following trigger:
    Code:
    {[URL="http://zabbix2.mon.int.fra/history.php?action=showgraph&itemid=100100000022193"]application.unix.extern.http:http[/URL].[B] sum([/B] 300[B] )[/B] }=0 | {[URL="http://zabbix2.mon.int.fra/history.php?action=showgraph&itemid=100100000022193"]application.unix.extern.http:http[/URL].[B] nodata([/B] 300[B] )[/B] }=1
    But what is wrong with that?

    Regards,

    Fire
  • holweg90
    Junior Member
    • Sep 2008
    • 2

    #2
    Problem to evalute Funktion

    Hi,
    I upgraded yesterday from 1.6 to 1.6.2. Today I noticed that the server was extremly swapping.
    The zabbix_server processes had allocated more then 3GB. One process 1.2GB swap space.
    Now I restartet the server. And all where starting only with som mb memory, but they began to grow again.

    In the server log I noticed only many/many messages like this:
    30461:20090118:150324 Expression [{13725}>0] for item [20363][cp-thales.buero-korb.de:ipReasmTimeout] cannot be evaluated: unable to get function value: lastvalue IS NULL for function [13725][cp-thales.buero-korb.de:ipReasmTimeout.delta(0)]

    happens for different items but every expression ends with delta(0). And it happens only for the linux servers. The Agents on the linux servers are 1.6.2. But on windows is the agent on the version 1.6.2 too. On the Seems to be a memory leak. And we have to restart the server proccess every 10h.

    Thanks in advance
    Holger

    Comment

    • holweg90
      Junior Member
      • Sep 2008
      • 2

      #3
      Memory Usage

      I removed the snmp2 template from all systems. Now the Memory usage is static again.
      Seems that the snmp2-template is connected to this memory leak.

      I will look for the function delta(0) later, as it seems to be the root cause.

      Holger

      Comment

      Working...