zabbixActive.discovery problem

127 views
Skip to first unread message

Eve

unread,
Feb 16, 2015, 12:12:24 PM2/16/15
to zorka...@googlegroups.com
Hello,

After intergrating zorka agent with zabbix server, i get those errors in zorka.log :


java.util.concurrent.ExecutionException: com.jitlogic.zorka.deps.bsh.EvalError: Sourced file: inline evaluation of: ``zabbixActive.discovery("pmi", "WebSphere:type=SessionManager,*", "name", "proces . . . '' : Attempt to resolve method: discovery() on undefined variable or class name: zabbixActive : at Line: 1 : in file: inline evaluation of: ``zabbixActive.discovery("pmi", "WebSphere:type=SessionManager,*", "name", "proces . . . '' : zabbixActive .discovery ( "pmi" , "WebSphere:type=SessionManager,*" , "name" , "process" , "platform" , "node" , "version" , "type" , "mbeanIdentifier" , "cell" , "spec" )

        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:244)
        at java.util.concurrent.FutureTask.get(FutureTask.java:103)
        at com.jitlogic.zorka.core.ZorkaBshWorker.run(ZorkaBshWorker.java:95)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:898)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:920)
        at java.lang.Thread.run(Thread.java:736)
Caused by: com.jitlogic.zorka.deps.bsh.EvalError: Sourced file: inline evaluation of: ``zabbixActive.discovery("pmi", "WebSphere:type=SessionManager,*", "name", "proces . . . '' : Attempt to resolve method: discovery() on undefined variable or class name: zabbixActive : at Line: 1 : in file: inline evaluation of: ``zabbixActive.discovery("pmi", "WebSphere:type=SessionManager,*", "name", "proces . . . '' : zabbixActive .discovery ( "pmi" , "WebSphere:type=SessionManager,*" , "name" , "process" , "platform" , "node" , "version" , "type" , "mbeanIdentifier" , "cell" , "spec" )

        at com.jitlogic.zorka.deps.bsh.UtilEvalError.toEvalError(UtilEvalError.java:82)
        at com.jitlogic.zorka.deps.bsh.UtilEvalError.toEvalError(UtilEvalError.java:87)
        at com.jitlogic.zorka.deps.bsh.interpreter.BshEvaluatingVisitor.visit(BshEvaluatingVisitor.java:1453)
        at com.jitlogic.zorka.deps.bsh.ast.BSHMethodInvocation.accept(BSHMethodInvocation.java:46)
        at com.jitlogic.zorka.deps.bsh.interpreter.BshEvaluatingVisitor.evalPrimaryExpr(BshEvaluatingVisitor.java:1521)
        at com.jitlogic.zorka.deps.bsh.interpreter.BshEvaluatingVisitor.visit(BshEvaluatingVisitor.java:1540)
        at com.jitlogic.zorka.deps.bsh.ast.BSHPrimaryExpression.accept(BSHPrimaryExpression.java:36)
        at com.jitlogic.zorka.deps.bsh.Interpreter.eval(Interpreter.java:663)
        at com.jitlogic.zorka.deps.bsh.Interpreter.eval(Interpreter.java:757)
        at com.jitlogic.zorka.deps.bsh.Interpreter.eval(Interpreter.java:746)
        at com.jitlogic.zorka.core.ZorkaBshAgent.eval(ZorkaBshAgent.java:138)
        at com.jitlogic.zorka.core.ZorkaBshWorker$1.call(ZorkaBshWorker.java:87)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)
        at java.util.concurrent.FutureTask.run(FutureTask.java:150)
        ... 3 more
Caused by: com.jitlogic.zorka.deps.bsh.UtilEvalError: Attempt to resolve method: discovery() on undefined variable or class name: zabbixActive
        at com.jitlogic.zorka.deps.bsh.Name.invokeMethod(Name.java:824)
        at com.jitlogic.zorka.deps.bsh.interpreter.BshEvaluatingVisitor.visit(BshEvaluatingVisitor.java:1429)
        ... 14 more


Thanks in advance.

Rafal Lewczuk

unread,
Mar 8, 2015, 4:11:58 PM3/8/15
to zorka...@googlegroups.com
Hello,

Possibly there should be 'zabbix.discovery[]' instead of 'zabbixActive.discovery[]'.

I'm investigating this issue ...

Regards,
rle

Eve

unread,
May 7, 2015, 6:35:35 AM5/7/15
to zorka...@googlegroups.com
Hello,

Thanks for replying.
I've switched to active zabbix mode, and the problem was resolved.
so i think it should be 'zabbix.discovery[]' for non active mode as you say.

Regards.
Reply all
Reply to author
Forward
0 new messages