Reader small image

You're reading from  Monitoring Hadoop

Product typeBook
Published inApr 2015
Publisher
ISBN-139781783281558
Edition1st Edition
Tools
Right arrow
Author (1)
Aman Singh
Aman Singh
author image
Aman Singh

Gurmukh Singh is a seasoned technology professional with 14+ years of industry experience in infrastructure design, distributed systems, performance optimization, and networks. He has worked in big data domain for the last 5 years and provides consultancy and training on various technologies. He has worked with companies such as HP, JP Morgan, and Yahoo. He has authored Monitoring Hadoop by Packt Publishing
Read more about Aman Singh

Right arrow

Nagios master configuration


As discussed in earlier chapters, Nagios is a monitoring platform and works very well for the Hadoop monitoring needs. Let's see how to configure Nagios for Hadoop service checks.

On the Nagios server, called mnode, we need to set up service definitions, command definitions, and the host definition. All these plugins are available at the Nagios website and can be downloaded from there.

  • JobTracker health check: This is used to check the JobTracker status:

    define command{
      command_name check_jobtracker_health
      command_line $PATH$/check_hadoop_mapreduce_nodes.pl -H $HOSTADDRESS$ -P $PORT$
    }
    
    define host {
      
      use hadoop-server
      host_name jt1
      alias Remote
      Host address 192.168.0.1
      contact_groups admins
    }
    Service definition:
    
    define service {
      
      use generic-service
      service_description jobtracker
      contact_groups admins
      
      check_command check_jobtracker_health
    }
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Monitoring Hadoop
Published in: Apr 2015Publisher: ISBN-13: 9781783281558

Author (1)

author image
Aman Singh

Gurmukh Singh is a seasoned technology professional with 14+ years of industry experience in infrastructure design, distributed systems, performance optimization, and networks. He has worked in big data domain for the last 5 years and provides consultancy and training on various technologies. He has worked with companies such as HP, JP Morgan, and Yahoo. He has authored Monitoring Hadoop by Packt Publishing
Read more about Aman Singh