Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Monitoring Hadoop

You're reading from  Monitoring Hadoop

Product type Book
Published in Apr 2015
Publisher
ISBN-13 9781783281558
Pages 100 pages
Edition 1st Edition
Languages
Author (1):
Aman Singh Aman Singh
Profile icon Aman Singh
Toc

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
    }

    Note

    For further information, refer to

    http://exchange.nagios.org/directory/Plugins/Clustering...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime