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