In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Environment: centos6.7 | zabbix3.2.4 | hadoop2.6.0
Main monitoring process: journalnode | namenode | zkfc | datanode
Monitoring script: hadoop.sh
#! / bin/bashserver=$1case $server in journalnode) / etc/init.d/hadoop-hdfs-journalnode status > > / dev/null 2 > & 1 echo $?; namenode) / etc/init.d/hadoop-hdfs-namenode status > > / dev/null 2 > & 1 echo $? Zkfc) / etc/init.d/zookeeper-server status > > / dev/null 2 > & 1 echo $?; datanode) / etc/init.d/hadoop-hdfs-datanode status > > / dev/null 2 > & 1 echo $?;; esac
Zabbix client added profile
/ usr/local/zabbix/etc/zabbix_agentd.conf.d/hadoop.confUserParameter=hadoop.server [*], / usr/local/sbin/zabbix/hadoop.sh $1
Add hadoop.sh executable permissions and zabbix user groups
Zabbix WEB page configuration host
Add a monitoring item
Mapping value addition
Trigger add
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.