[
https://issues.apache.org/jira/browse/AMBARI-4555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Onischuk resolved AMBARI-4555.
-------------------------------------
Resolution: Fixed
committed to trunk
> Nagios alert for NN process fails if Port is changed
> ----------------------------------------------------
>
> Key: AMBARI-4555
> URL: https://issues.apache.org/jira/browse/AMBARI-4555
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 1.5.0
>
> Attachments: AMBARI-4555.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)