Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Hi,
The nagios alert for Namenode process reports error , if NN port is changed from default 8020 to example 54310.
more /etc/nagios/objects/hadoop-services.cfg
define service {
host_name linuxhdp
use hadoop-service
service_description NAMENODE::NameNode process on linuxhdp
servicegroups HDFS
check_command check_tcp!8020!-w 1 -c 1
normal_check_interval 0.5
retry_check_interval 0.25
max_check_attempts 3
}
It should either be configurable or should take the value from core-site.xml based on value of below param.
<property>
<name>fs.defaultFS</name>
<value>hdfs://linuxhdp:54310</value>
</property>
If we change /etc/nagios/objects/hadoop-services.cfg it is getting overwritten by Ambari.