23
Monitoring with Icinga Marius Ducea Promet Solutions SF Bay Area #LSPE July 21, 2011

Monitoring with Icinga @ SF Bay Area LSPE meetup

  • Upload
    mdxp

  • View
    18.424

  • Download
    5

Embed Size (px)

Citation preview

Page 1: Monitoring with Icinga @ SF Bay Area LSPE meetup

Monitoring with������

Icinga

Marius Ducea Promet Solutions

SF Bay Area #LSPE

July 21, 2011

Page 2: Monitoring with Icinga @ SF Bay Area LSPE meetup

whoami

•  System Administrator •  Web Operations Engineer •  Consultant

Page 3: Monitoring with Icinga @ SF Bay Area LSPE meetup
Page 4: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: intro

It’s a Zulu word, meaning: • look around • browse • search for, examine

How to pronounce it correctly? • however you like...

What does the word icinga mean?

Page 5: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: intro

Fork of Nagios (backwards compatible) Open Source monitoring system: • monitor • notify • report Actively maintained GPL v2

What is icinga?

Page 6: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: intro

Frustrations among Nagios contributors Core nagios developer = 1 person Very few suggestions and patches from community made it into nagios As we all know nagios has not evolved much in many years

Why a fork?

Page 7: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: history

• May 2009 – icinga is announced –  v0.8, first beta is released

• December 2009 – v1.0 first ���stable version released

• 17 releases so far • Today – v1.4.2

Changelog

Page 8: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: architecture

Icinga Core Icinga Web Icinga API Icinga Reporting IDOutils Icinga Mobile

Icinga components

Page 9: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: architecture

• manages monitoring tasks • receives check results from various plugins • communicates check results to IDODB

Icinga core

Page 10: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: architecture

• fetches information (like check results) from the core, through the IDODB

• PHP based, with no dependencies on other libraries or frameworks

• data collected from the IDODB by the API is then presented in the Icinga Web

Icinga API

Page 11: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: architecture

• online portal to view Icinga monitoring results • send commands to Icinga Core • Ajax based, supports dragging and dropping of various screen components

• flexible • customizable

Icinga Web

Page 12: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: architecture / Classic Web

Page 13: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: architecture / Web

Page 14: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: architecture / Web

Page 15: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: architecture

• reporting addon • based on Jasper Reports • visualization of SLAs • capacity planning • format of reports PDF, HTML, Excel, CSV, RTF • predefined templates

Icinga Reporting

Page 16: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: architecture / Reporting

Page 17: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: architecture

Icinga Mobile

Page 18: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga vs Nagios

Page 19: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga vs Nagios

Page 20: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: tips

• Source install –  tar.gz from sourceforge –  git clone git://git.icinga.org/icinga-core.git

• Packages available –  included in debian/ubuntu, 3rd party rpms available also

• Chef users? you can use my icinga cookbook –  https://community.opscode.com/cookbooks/icinga –  https://github.com/mdxp/icinga-cookbook

How To install icinga

Page 21: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: tips

• ’s/nagios/icinga/g’ ? • you can reuse your existing objects (commands.cfg, services.cfg, hosts.cfg, etc)

• nagios.cfg becomes icinga.cfg • you can even compile icinga with nagios user, group, path, etc.

How To migrate from nagios

Page 22: Monitoring with Icinga @ SF Bay Area LSPE meetup

Icinga: help

• www.icinga.org • wiki.icinga.org • IRC: #icinga on freenode • mailing lists, forums, twitter ⋯

Support

Page 23: Monitoring with Icinga @ SF Bay Area LSPE meetup

Questions?

Marius Ducea [email protected] @mariusducea

github.com/mdxp blog: www.ducea.com site: promethost.com

slides: slideshare.net/mdxp