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

After configuring NNHA, nn process alerts don't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • ambari-agent
    • None

    Description

      1) Configure NN HA
      2) stack 2.0.6 (but check stack 2.1 as well)
      3) Two alerts show" check_tcp: Port must be a positive integer"

      NameNode process on c6401.ambari.apache.org
      NameNode process on c6402.ambari.apache.org

      4) Looked at /etc/nagios/objects/hadoop-services.cfg
      5) Saw:

      define service {
              host_name               c6401.ambari.apache.org
              use                     hadoop-service
              service_description     NAMENODE::NameNode process on c6401.ambari.apache.org
              servicegroups           HDFS
              check_command           check_tcp_wrapper!//test!-w 1 -c 1
              normal_check_interval   0.5
              retry_check_interval    0.25
              max_check_attempts      3
      }
      define service {
              host_name               c6402.ambari.apache.org
              use                     hadoop-service
              service_description     NAMENODE::NameNode process on c6402.ambari.apache.org
              servicegroups           HDFS
              check_command           check_tcp_wrapper!//test!-w 1 -c 1
              normal_check_interval   0.5
              retry_check_interval    0.25
              max_check_attempts      3
      }
      

      Notice in the above //test is the name of my nameservice.

      Attaching screen shot of my config. So looks like it's grabbing port from the wrong prop.

      Attachments

        1. AMBARI-4954.patch
          3 kB
          Vitaly Brodetskyi

        Issue Links

          Activity

            People

              vbrodetskyi Vitaly Brodetskyi
              vbrodetskyi Vitaly Brodetskyi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: