Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-4555

Nagios alert for NN process fails if Port is changed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • 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.

      Attachments

        1. AMBARI-4555.patch
          2 kB
          Andrew Onischuk

        Activity

          People

            aonishuk Andrew Onischuk
            aonishuk Andrew Onischuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: