Hi,
I have been using zabbix-2.0.5 from tarball installation. It works perfectly for local and remote monitoring.
Recently, i started to use mikoomi's apache hadoop plugin with instruction given in their website.
Mikoomi installation steps i have done:
---------------------------------------
1. Imported Template_Hadoop_Namenode.xml with all options enabled.
2. Added three macros as per instruction
{$HADOOP_NAMENODE_HOST} --> localhost
{$HADOOP_NAMENODE_METRICS_PORT} --> 50070
{$ZABBIX_NAME} --> Namenode
When i view the graph for Namenode, it says no data. At first i thought it may be due to permission problem.
I have enabled external scripts in zabbix_server.conf and gave execution permission for all shell scripts in that folder. I have even changed the ownership to zabbix user using "sudo chown -R zabbix:zabbix /usr/local/zabbix/externalscripts".
Note:
-----
I am using hadoop 0.20.2. I have enabled web monitoring for zabbix and used it to check hadoop namenode page (http://localhost:50070/) which returns success.
One more thing, i have executed the shell script as
$ sh mikoomi-hadoop-namenode-plugin-helper.sh 0 localhost 50070 Namenode
mikoomi-hadoop-namenode-plugin-helper.sh: 185: [[: not found
but it returns Namenode text file in /tmp folder with requested data in it and the Namenode.log contains Error in executing mikoomi-hadoop-namenode-plugin-helper.sh 0 localhost 50070 Namenode.
What should i do to make zabbix receive data from hadoop namenode for monitoring.
I have been using zabbix-2.0.5 from tarball installation. It works perfectly for local and remote monitoring.
Recently, i started to use mikoomi's apache hadoop plugin with instruction given in their website.
Mikoomi installation steps i have done:
---------------------------------------
1. Imported Template_Hadoop_Namenode.xml with all options enabled.
2. Added three macros as per instruction
{$HADOOP_NAMENODE_HOST} --> localhost
{$HADOOP_NAMENODE_METRICS_PORT} --> 50070
{$ZABBIX_NAME} --> Namenode
When i view the graph for Namenode, it says no data. At first i thought it may be due to permission problem.
I have enabled external scripts in zabbix_server.conf and gave execution permission for all shell scripts in that folder. I have even changed the ownership to zabbix user using "sudo chown -R zabbix:zabbix /usr/local/zabbix/externalscripts".
Note:
-----
I am using hadoop 0.20.2. I have enabled web monitoring for zabbix and used it to check hadoop namenode page (http://localhost:50070/) which returns success.
One more thing, i have executed the shell script as
$ sh mikoomi-hadoop-namenode-plugin-helper.sh 0 localhost 50070 Namenode
mikoomi-hadoop-namenode-plugin-helper.sh: 185: [[: not found
but it returns Namenode text file in /tmp folder with requested data in it and the Namenode.log contains Error in executing mikoomi-hadoop-namenode-plugin-helper.sh 0 localhost 50070 Namenode.
What should i do to make zabbix receive data from hadoop namenode for monitoring.
Comment