Zorka 1.0.11 - "First BSH" returns, ZBX_NOTSUPPORTED

109 views
Skip to first unread message

Sd Neil

unread,
Feb 6, 2015, 4:46:41 PM2/6/15
to zorka...@googlegroups.com
I attempted to perform the steps listed at:  http://zorka.io/scripting/index.html
"First BSH script"

1)  I created the /conf directory in Zorka Home

2)  Zorka is allowing my zabbix-server to query some objects (so i believe the agent & security are ok).

shell
#  zabbix_get -s <my_jvm_ipaddress> -p 10055 -k 'agent.version'

shell_returns#  1.0.11


3)  I created the file, "$HOME/conf/trivial.bsh" and added:
os_arch() {
 
return zorka.jmx("java","java.lang:type=OperatingSystem","Arch");
}

4)  Querying from zabbix-server
shell_returns#   zabbix_get -s <my_jvm_ipaddress> -p 10055 -k 'os_arch[]'

shell_returns#   ZBX_NOTSUPPORTED


Please tell me what I can provide to help troubleshoot this.

Thanks
sdneil

Rafal Lewczuk

unread,
Feb 21, 2015, 3:49:39 PM2/21/15
to zorka...@googlegroups.com
Hello,

There were some bugs in both wiki documentation and that one on zorka.io. This has changed (now it is scripts/ instead of conf/) but change was not reflected in documentation. I'll fix docs in a moment ...

Regards,
rle

Reply all
Reply to author
Forward
0 new messages