Nicole Neumann - Let’s Monitor All The Things

Post on 14-Apr-2017

230 views 0 download

Transcript of Nicole Neumann - Let’s Monitor All The Things

Let’s Monitor All The ThingsA Presentation by: Nicole Neumann

Systems Administrator - University Housing Technology (ResNET)University of Wisconsin - Whitewater

Key Topics and Points

• What is Icinga 2 and why should we use it?

• My relationship with Icinga 2

• How Icinga 2 works

• Icinga 2 appearance

• Live Demonstration

• So much potential

What is Icinga 2?

https://pbs.twimg.com/media/BxRv8CvCQAACJGy.jpg:large

What is Icinga 2?• Monitoring solutions and what they do

• Individual systems• Network infrastructure• Applications and processes• anything that can return a value via command line

• Open source• Nagios and the Icinga fork• Extensible and scalable

My relationship with Icinga 2

• Replacement for outdated web application

• Proof of Concept through Icinga 2 beta

• Configuration and development

• Enjoyed quiet evenings together

Fantastic! ...how does it work?

How does Icinga 2 work?• Command line interface (CLI) configuration• Hosts, Templates, Groups, Services, &

Commands• plugins and check commands• Monitoring Plugins Library

• snmp, http, nrpe, and more• hostalive checks through pinging• options, so many plugins

• write your own plugin• bash, python, php, perl, etc.• adapt a plugin

What does it look like?

Configuration Samples

# lab printers. put em here.

object Host "Benson Lab Printer" { import "printer" address = /*insert DNS/IP address*/

vars.type = “Lab Printer”}

template Host "generic-host" { max_check_attempts = 3 check_interval = 1m retry_interval = 30s

check_command = "hostalive"}

Host Template

★ “generic-host” template is one of the default Icinga2 templates

Dashboard

Host and Service Details

Charts and Graphs

Let’s Log In

Let’s Log In

The possibilities…

What possibilities do we have?• Graphing perf data and

trends• pnp4nagios• graphite, InfluxDB,

OpenTSDB• Visualization• Clusters• VMWare ESX• Windows

For more information, see the Icinga 2 Documentation at:docs.icinga.org/icinga2

Visualization Example with Grafana

Currently in the works...

https://grafana.org/assets/img/docs/nice_dashboard.png

“The Internet of Things”

image courtesy of : https://i.ytimg.com/vi/n_5e-_r65yQ/maxresdefault.jpg

https://www.youtube.com/watch?v=n_5e-_r65yQ

Wrap-up● What is Icinga 2 and why

should we use it?● My relationship with Icinga 2● How Icinga 2 works● Icinga 2 appearance● Live Demonstration● So much potential

Thank You.

https://s-media-cache-ak0.pinimg.com/736x/be/aa/ca/beaaca5a40821d347750b64bd9ed73a9.jpg

Valuable Resources:

The Icinga website: www.icinga.org Icinga 2 Docs: http://docs.icinga.org/icinga2 Icinga Exchange: https://exchange.icinga.org/