zabbix_get Error in UtilFnProcessor

125 views
Skip to first unread message

Sebastiano Pilla

unread,
Mar 21, 2014, 6:08:50 AM3/21/14
to zorka...@googlegroups.com
I'm trying the Zorka agent attached to a JBoss 5.1.2 instance running under JDK 1.6.0_38, the agent loads correctly but I get the following error in the log:

2014-03-21 11:03:28 ERROR UtilFnProcessor Cannot process value null: must be of type Long.
2014-03-21 11:03:28 ERROR UtilFnProcessor Cannot process value null: must be of type Long.
...
(repeated hundreds of times).

The query that I'm trying is:

zabbix_get -s 192.168.1.152 -p 11055 -k 'zorka.jmx["java","jboss.system:type=ServerInfo","FreeMemory"]'

Any query returns the same result, even those mentioned in the Zorka documentation:

zabbix_get -s 192.168.1.152 -p 11055 -k 'zorka.ls["java", "java.lang:*"]'
zabbix_get -s 192.168.1.152 -p 11055 -k zorka.jmx["java","java.lang:type=OperatingSystem","Arch"]

I'm probably doing something wrong here, but I cannot see what. Any ideas?

Rafal Lewczuk

unread,
Mar 22, 2014, 1:32:26 AM3/22/14
to zorka...@googlegroups.com
Hi,

This is not related to JMX but rather this has to do with logging HTTP/EJB/SQL errors to local files. Do you have such functionalities enabled (http.slow = yes etc.)  ? 

I suppose this message is (mostly) harmless. You can try fixing this by adding one line to scripts/apache/catalina.bsh script (see below) or just safely ignore this and wait for bugfix as I'm planning to release 1.0.1 at the end of March.


--------------------------------------- scripts/apache/catalina.bsh (fragment) ----------------------------------
  spy.add(spy.instrument("CATALINA_HTTP")

....

      http._congestion ? spy.zorkaStats("java", http._mbean, "stats", "ALL", "T", null, spy.ACTION_ENTER) : null)
    .onReturn(spy.put("ERR", ""))
    .onError(spy.fetchError("EX"), spy.format("ERR", "${EX}"),
      spy.strTime("TIME"),
      http._trace ? spy.subchain(
        http._uriQualifier,
        http._error_chain,
        tracer.flags(tracer.SUBMIT_TRACE),
        tracer.attr("ERR", "ERR")
        ) : null)

...

-----------------------------------------------------------------------------------

Regards,
rle


Stephan Groenewold

unread,
Sep 23, 2016, 3:08:31 AM9/23/16
to Zorka Users
I am experiencing this exact issue using v1.0.15 with my Tomcat 8.0.36 installation. Just keeps spamming this line in my logs ~10 times per second. Any ideas what causes this?
zorka.properties
Reply all
Reply to author
Forward
0 new messages