Hello everyone,
I have been trying to configure the hadoop plugin with zabbix with little luck. I have followed the steps as described but no data is received by zabbix.
I had to re-write the -helper script for the hadoop namenode and now it is generating the correct data. If I run the script manually:
mikoomi-hadoop-namenode-plugin-helper.sh 1 *HOST* 50070 Hadoop_NameNode, it generates the correct files so after this if I run:
zabbix_sender -vv -z 127.0.0.1 -i /tmp/Hadoop_NameNode.txt,
the data is received by zabbix and I can see it on the graphs. I have isolated the problem to the data_collector item in zabbix which apparently is not running the scripts on the server. The interesting thing is that zabbix is actually "seeing" the scripts since if I change the name of the script in the item I get error that the script doesn't exist. I think zabbix is just not trying to run the item which is configured to be "external check".
For the item key I have tried all possibilities: with quotation marks, without, with comas in between the parameters, with dollar sign, without, and pretty much anything you can think including hardcoding the values:
mikoomi-hadoop-namenode-plugin.sh[{"1", "*namenode ip", "50070", "Hadoop_NameNode"].
Also I had added another value in the macros for the discarded value parameter which is required by the helper script to run. I have also tried to change the script in the key from mikoomi-hadoop-namenode-plugin.sh to mikoomi-hadoop-namenode-plugin-helper.sh and this also didn't produce any result.
Any help would be much appreciated
Thanks
I have been trying to configure the hadoop plugin with zabbix with little luck. I have followed the steps as described but no data is received by zabbix.
I had to re-write the -helper script for the hadoop namenode and now it is generating the correct data. If I run the script manually:
mikoomi-hadoop-namenode-plugin-helper.sh 1 *HOST* 50070 Hadoop_NameNode, it generates the correct files so after this if I run:
zabbix_sender -vv -z 127.0.0.1 -i /tmp/Hadoop_NameNode.txt,
the data is received by zabbix and I can see it on the graphs. I have isolated the problem to the data_collector item in zabbix which apparently is not running the scripts on the server. The interesting thing is that zabbix is actually "seeing" the scripts since if I change the name of the script in the item I get error that the script doesn't exist. I think zabbix is just not trying to run the item which is configured to be "external check".
For the item key I have tried all possibilities: with quotation marks, without, with comas in between the parameters, with dollar sign, without, and pretty much anything you can think including hardcoding the values:
mikoomi-hadoop-namenode-plugin.sh[{"1", "*namenode ip", "50070", "Hadoop_NameNode"].
Also I had added another value in the macros for the discarded value parameter which is required by the helper script to run. I have also tried to change the script in the key from mikoomi-hadoop-namenode-plugin.sh to mikoomi-hadoop-namenode-plugin-helper.sh and this also didn't produce any result.
Any help would be much appreciated
Thanks