Hello all:
I have successfully compiled the zabbix agent for armV7 target, I had to hack the configure script to remove the "long long" check, this seemed to be the only cross-compiler problem I have. I installed the agentd and configured to talk to our zabbix server, and viola! I have the agent returning values as expected.
Now the next step, I would like to use the zabbix_get to return some system values in a script, the following works on the arm target:
/usr/bin/zabbix_get -s 127.0.0.1 -p 10050 -V
Zabbix Get v1.8.13 (revision 27486) (11 May 2012)
Compilation time: Jun 7 2012 11:45:58
The following does not:
/usr/bin/zabbix_get -s 172.0.0.1 -p 10050 -k agent.version
Just a blank carriage return echoed to the console. If I run this command from the zabbix server however it works:
/usr/bin/zabbix_get -s <ip removed> -p 10050 -k agent.version
1.8.13
Any ideas why the arm-compiled zabbix_get does not work for returning values from zabbix_agentd? Thanks!
I have successfully compiled the zabbix agent for armV7 target, I had to hack the configure script to remove the "long long" check, this seemed to be the only cross-compiler problem I have. I installed the agentd and configured to talk to our zabbix server, and viola! I have the agent returning values as expected.
Now the next step, I would like to use the zabbix_get to return some system values in a script, the following works on the arm target:
/usr/bin/zabbix_get -s 127.0.0.1 -p 10050 -V
Zabbix Get v1.8.13 (revision 27486) (11 May 2012)
Compilation time: Jun 7 2012 11:45:58
The following does not:
/usr/bin/zabbix_get -s 172.0.0.1 -p 10050 -k agent.version
Just a blank carriage return echoed to the console. If I run this command from the zabbix server however it works:
/usr/bin/zabbix_get -s <ip removed> -p 10050 -k agent.version
1.8.13
Any ideas why the arm-compiled zabbix_get does not work for returning values from zabbix_agentd? Thanks!
Comment