Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Automated and Adaptive Infrastructure Monitorin...

Automated and Adaptive Infrastructure Monitoring using Chef, Nagios and Graphite

pratima_singh

May 28, 2012
Tweet

Other Decks in Technology

Transcript

  1. CHEF… Overview v  Configuration Management Tool written in Ruby v Client

    Server setup v Manage nodes using code (Cookbooks) v Perform specialized searches (search) v Create scalable infrastructure
  2. v Central distribution point for cookbooks v Management and authentication of nodes

    v Enabling search v Components ² API service ² Management webui (http://chef-server-fqdn:4040) ² Search indexer ² Request queuing server ² Datastore CHEF… Chef-Server
  3. CHEF… Chef-Client v Nodes registered with the Chef server. v Compiles and

    executes cookbooks set it its run list. Node-name.json
  4. CHEF… Cookbooks v Fundamental units of distribution. v Execute resources. v Cookbooks contain

    ² Attributes ² Libraries ² Files ² Templates ² Recipes ² Metadata ² Definitions
  5. CHEF… Roles v Enable setting up nodes based on functionality. v Consist

    of attributes and run_list. v run_list includes the cookbooks required to create a node with the functionality that the role is set to achieve.
  6. NAGIOS… Overview v Scalable infrastructure monitoring. v Consolidated, Central Visibility via dashboard.

    v Outage detection based on custom warning and critical levels. v Outage alerts. v Problem acknowledgement. v Alert Escalations.
  7. NAGIOS… Configuration v Nagios reads its configuration data from text files.

    v These files are located in /etc/nagios directory. v The primary config file is the nagios.cfg file. v Specific configuration files are located under /etc/nagios/objects which include v commands.cfg v contacts.cfg v hosts.cfg v localhost.cfg v services.cfg v timeperiods.cfg v templates.cfg
  8. NAGIOS… NRPE v Nagios Remote Plugin Executor. v Retrieve status of remote

    services. v Consists of chef_nrpe plugin and NRPE daemon. v Config file is stored at /etc/nrpe
  9. Graphite… Overview v Real-time graphing server. v Frontend : Webapp. v Backend :

    Storage application (Carbon). ² Carbon-agent.py ² Carbon-cache.py ² Carbon-persister.py