48
WWW.ICINGA.ORG Icinga Camp Barcelona 27/02/2015 State of Icinga

Icinga Camp Barcelona - Current State of Icinga

  • Upload
    icinga

  • View
    4.235

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Icinga Camp Barcelona - Current State of Icinga

WWW.ICINGA.ORG

Icinga Camp Barcelona

27/02/2015 State of Icinga

Page 2: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

#icinga

Me

• Bernd Erk

• Working @NETWAYS

• Icinga responsibilities

– Project management

– Community

• In the Icinga game since 2009

• @gethash

[email protected]

Page 3: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

#icinga

Agenda

Page 4: Icinga Camp Barcelona - Current State of Icinga

ABOUT US

Page 5: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

#icinga

About us - People

Page 6: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

#icinga

About us - Teams

Team Core

Team Web

Team Packages & Tools

Team Community

Team Q&A & Docs

Page 7: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

#icinga

About us - Activity

30 Day Summary

• Commits: 400

• Contributers: 14

12 Month Summary

• Commits: 7012

• Contributers: 83

Page 8: Icinga Camp Barcelona - Current State of Icinga

THE COMMUNITY

Page 9: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

#icinga

The Community - Users

You?

Page 10: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

The Community - Icinga Camp San Francisco

#icinga

Page 11: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

#icinga

The Community - Icinga Camps 2015

Barcelona 2015

February 27th

Antwerp 2015

April 13rd

Kuala Lumpur 2015

June 9th

Portland 2015

October 10th

Page 12: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

#icinga

The Community - Icinga Exchange

Page 13: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

#icinga

The Community - Icinga Exchange - GitHub

Page 14: Icinga Camp Barcelona - Current State of Icinga

ICINGA 1

Page 15: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

#icinga

Icinga 1 - Changes

• Core

– Usability and security fixes

– Various IDO fixes for enhanced performance

• ClassicUI

– Improved downtime and comments view

– Enhanced filters for modified by attributes

– Support for compressed logfiles

• Icinga Web 1

– Rewritten session handling

– Updated ExtJS framework

Page 16: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

#icinga

Icinga 1 - Overview

• 36 releases until today

• We’ll keep it in maintenance!

Page 17: Icinga Camp Barcelona - Current State of Icinga

ICINGA 2 - INTRODUCTION

Page 18: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

#icinga

Icinga 2 - Overview

• Based on C++ and Boost

– Supports all major *NIX and Windows platforms

• Included cluster stack

• Powerful CLI

• Supports multiple backends

– MySQL

– PostgreSQL

• Livestatus support included

• Packages and Vagrant Box available now!

Page 19: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

#icinga

Icinga 2 - CLI - Overview

# icinga2

icinga2 - The Icinga 2 network monitoring daemon (version: v2.2)

Usage:icinga2 <command> [<arguments>]

Supported commands:* daemon (starts Icinga 2)* feature …* node …* object list (lists all objects)* pki …* repository …* variable get (gets a variable)* variable list (lists all variables)

Global options:-h [ --help ] show this help message-V [ --version ] show version information--color use VT100 color codes even when stdout is not a

terminal-D [ --define ] arg define a constant-l [ --library ] arg load a library-I [ --include ] arg add include search directory-x [ --log-level ] arg specify the log level for the console log

Command options:

Report bugs at <https://dev.icinga.org/>Icinga home page: <http://www.icinga.org/>

Page 20: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Icinga 2 - CLI - Demo

#icinga

Page 21: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Checker

Statusdat

Gelf

Perfdata Graphite

IDO

Compat

Livestatus

Icinga 2 - Architecture

#icinga

Page 22: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Livestatus

Icinga 2 - Enable Livestatus

#icinga

Page 23: Icinga Camp Barcelona - Current State of Icinga

ICINGA 2 - CONFIGURATION

Page 24: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Icinga 2 - Configuration

Join Michaels Talk

#icinga

Page 25: Icinga Camp Barcelona - Current State of Icinga

ICINGA 2 - CLUSTER

Page 26: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

CA Zones API

Icinga 2 - Cluster Overview

Cluster

#icinga

Page 27: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Icinga 2 - Cluster Architecture

• API communication using SSL

• Bidirectional connections supported

• Zone support for logic splits in the configuration

• Hash-based load distribution

• “binlog” like retention for monitoring events and messages

• Distributed components throughout the cluster

• Automatic redistribution

• Integrated health check

#icinga

Page 28: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Icinga 2 - Cluster Distribution

Checker

Perfdata IDO

IDO

Checker

Graphite

Livestatus Checker

Statusdat

#icinga

Page 29: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Icinga 2 - Cluster Zones

Checker

Perfdata IDO

IDO

Checker

Graphite

Livestatus Checker

Statusdat

Host Host

Host

Checker

Perfdata IDO

#icinga

Page 30: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Icinga 2 - Master setup

#icinga

Page 31: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Icinga 2 - Master setup - State

#icinga

Page 32: Icinga Camp Barcelona - Current State of Icinga

ICINGA 2 – REMOTE MONITORING

Page 33: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Icinga 2 - Remote nodes

• Challenges in remote monitoring

– Configuration format

– Different software stack and libraries

– Various platforms

– Deployment and configuration

– Used resources

– Insecure

#icinga

Page 34: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Icinga 2 – Core resources

0

100

200

300

400

500

600

700

800

0

500

1000

1500

2000

2500

3000

30.000 Services

CPU-Cycles Memory

Megabyte

Cycle

s in m

illio

ns

#icinga

Page 35: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Icinga 2 - Remote nodes

Checker

Perfdata IDO

Host

Checker

Perfdata IDO

Host Host

IDO

Checker

Graphite

#icinga

Page 36: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Icinga 2 - Remote node setup I

#icinga

Page 37: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Icinga 2 - Remote node setup II

#icinga

Page 38: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Icinga 2 - Remote node setup III

#icinga

Page 39: Icinga Camp Barcelona - Current State of Icinga

ICINGA WEB 2

Page 40: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Icinga Web 2

Join Erics Talk

#icinga

Page 41: Icinga Camp Barcelona - Current State of Icinga

CONCLUSION

Page 42: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Conclusion

• Download Icinga 2

– Use the packages

– Play with Vagrant and VirtualBox

– You can download the sources but we prefer the packages

• Rethink you configuration

– You can use the migration, but it is time for a change

• Install Icinga Web 2 and play with it

• Give us feedback

– dev.icinga.org

– IRC

– Twitter

#icinga

Page 43: Icinga Camp Barcelona - Current State of Icinga

VISION

Page 44: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

You want to Graphite or InfluxDB?

Vision - Graphite

#icinga

icinga2 feature enable graphite

Page 45: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

You want to use Graylog or Logstash?

Vision – Logstash or Graylog

#icinga

icinga2 feature enable gelf

Page 46: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

You want to use Livestatus?

Vision – Livestatus

#icinga

icinga2 feature enable livestatusLivestatus

Page 47: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

Vision

• No enterprise edition

• Enterprise integration

#icinga

Page 48: Icinga Camp Barcelona - Current State of Icinga

DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG

#icinga

Questions & Answers

Web www.icinga.org

Git git.icinga.org

Development dev.icinga.org

Wiki wiki.icinga.org

Support support.icinga.org

Twitter twitter.com/icinga

Facebook facebook.com/icinga Get support

Get involved

Get heard