Ad Widget

Collapse

Zapcat and calculated items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Inc0
    Member
    • Dec 2010
    • 36

    #1

    Zapcat and calculated items

    Hello,

    I'm trying to graph the data from a Zapcat item so I created a new item (tomcat.bw.in), type calculated, with key
    Code:
    last(machine-name:jmx[Catalina:type=GlobalRequestProcessor,name="ajp-apr-8009"][bytesReceived])
    but it doesn't work.
    The error reported in logs is
    Code:
    Item [ITEM_NAME:tomcat.bw.in] error: Cannot evaluate function [last(name="ajp-apr-8009"][bytesReceived])]: item [machine-name:jmx[Catalina:type=GlobalRequestProcessor] not found
    Can someone help me to solve this?


    Thx
  • untergeek
    Senior Member
    Zabbix Certified Specialist
    • Jun 2009
    • 512

    #2
    What version of Zabbix and the UI are you using. Zapcat has had issues because of atypical item names, but most of those have been resolved in 1.8.5+, I think.

    Comment

    • Inc0
      Member
      • Dec 2010
      • 36

      #3
      We have tested zabbix 1.8.4 and now we are using zabbix 1.8.6
      We have the same problem with both versions.

      The problem seems to be related to those keys that have "': is there a way to escape double quotes?
      Last edited by Inc0; 10-08-2011, 10:17.

      Comment

      • untergeek
        Senior Member
        Zabbix Certified Specialist
        • Jun 2009
        • 512

        #4
        I have not found an effective way to do that from within Zabbix.

        Comment

        Working...