Ad Widget

Collapse

Can't use 'Check Now' on calculated item.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emmanuel.losier
    Junior Member
    • Feb 2020
    • 3

    #1

    Can't use 'Check Now' on calculated item.


    We created a calculated item from an item with the "vfs.dir.size[DIRPATH]" key (that item has un update interval of 0 and a scheduled interval of h5):
    ITEM #1 - Zabbix Agent :
    Code:
    vfs.dir.size[DIRPATH]
    Upade interval 0, scheduled interval h5
    ITEM #2 - Calculated
    Code:
    last("vfs.dir.size[DIRPATH]",#1)/last("vfs.dir.size[DIRPATH]",#2)*100
    update interval 0, scheduled interval h5m5

    When we try to do a 'Check Now' on the ITEM #2 (calculated), we get the "Request sent successfully" message in the GUI, but, the proxy server on which the host is get the following message in the logs and there's no new value in 'Latest Data':
    5156:20231016:074500.882 cannot perform check now for itemid [573333]: item is not in cache
    If I do a 'Check Now' on ITEM #1, it works as expected and we see a new value in 'Latest Data'
    A quick check in DB confirms that 573333 is items #2.

    Current ConfigFrequency value on this proxy is 600.
    Doing a config_cache_reload or even a restart of the proxy server does not help with this issue.

    Latest data on ITEM #2 shows that it is being calculated at the scheduled interval (but never when a 'check now' is performed).

    Anybody can help shed some light on what is going on?​
  • emmanuel.losier
    Junior Member
    • Feb 2020
    • 3

    #2
    Forgot to mention that this is on Zabbix 4.0.14.

    Comment

    Working...