icingacamp stockholm - how to make your monitoring shut up

34
How to make your monitoring shut up Observations on what to monitor and when to alert

Upload: icinga

Post on 17-Feb-2017

81 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: IcingaCamp Stockholm - How to make your monitoring shut up

How to make your monitoring shut up

Observations on what to monitor and when to alert

Page 2: IcingaCamp Stockholm - How to make your monitoring shut up

Hello!

@moegyver@EttLejon(tho I hardly use twitter…)(easier to find me as lejonet @Freenode/OFTC IRC)

Page 3: IcingaCamp Stockholm - How to make your monitoring shut up

What is your name?Ops/DevOps

What is your quest?A healthy and functioning server

environment

What is… your favourite time to be woken up by an alert?Erh.. Never.. Erh office hou

aaaaaaaaaah!

Page 4: IcingaCamp Stockholm - How to make your monitoring shut up

Example Checklist for monitoring vs alerting

1. What am I actually monitoring, service or details of part of a service (hardware, connectivity, etc)?

If the answer isn’t a service, then it might not be fit for alerting

2. Will I get fired for not responding directly to this? (aka is it business critical)

If the answer to that is yes, maybe its fit for alerting

3. Is what I want to check possibly covered by another alert or monitoring check? E.g.

connectivity is also answered by a check for if / in the webroot can be requested, in combination with answering if the webserver is properly configured

Page 5: IcingaCamp Stockholm - How to make your monitoring shut up

And for the love of all that is compiling, keep all the monitoring and alerting in _ONE_ system!

(if you need/want to use more than one, atleast aggregate the end result to _ONE_ system)

Page 6: IcingaCamp Stockholm - How to make your monitoring shut up

Arguing about how to monitor/alert or with what takes away from the fact that you’re

not that interested in that the monitoring is done but what information it gives you.

AKA

Even someone pressing F5 in their browser to verify that the site is up is more

informative than: Server has 1337 MB RAM free, / is 42% free and there is 1 (management ;) ) zombie process

Page 7: IcingaCamp Stockholm - How to make your monitoring shut up

Alerting

Page 8: IcingaCamp Stockholm - How to make your monitoring shut up

alert(“a service wants attention”)

Page 9: IcingaCamp Stockholm - How to make your monitoring shut up

TMI!

DISK CRITICAL - free space: / 7002 MB (9% inode 60%): /data 16273093 MB (26% inode 99%)

Page 10: IcingaCamp Stockholm - How to make your monitoring shut up

???

DISK CRITICAL - free space: / down to 9%

Page 11: IcingaCamp Stockholm - How to make your monitoring shut up

DISK CRITICAL - root will be out of space in 2 h

Page 12: IcingaCamp Stockholm - How to make your monitoring shut up

Define sane SLOs

Page 13: IcingaCamp Stockholm - How to make your monitoring shut up
Page 14: IcingaCamp Stockholm - How to make your monitoring shut up
Page 15: IcingaCamp Stockholm - How to make your monitoring shut up
Page 16: IcingaCamp Stockholm - How to make your monitoring shut up
Page 17: IcingaCamp Stockholm - How to make your monitoring shut up

Always fix your alerts!

Page 18: IcingaCamp Stockholm - How to make your monitoring shut up
Page 19: IcingaCamp Stockholm - How to make your monitoring shut up
Page 20: IcingaCamp Stockholm - How to make your monitoring shut up

A bad fix is better than no fix

Page 21: IcingaCamp Stockholm - How to make your monitoring shut up
Page 22: IcingaCamp Stockholm - How to make your monitoring shut up

Once upon a time...

Page 23: IcingaCamp Stockholm - How to make your monitoring shut up

License:CC BY-ND 2.0, Wisconsin Department of Natural Resources

Page 24: IcingaCamp Stockholm - How to make your monitoring shut up
Page 25: IcingaCamp Stockholm - How to make your monitoring shut up

How did we get there?

Page 26: IcingaCamp Stockholm - How to make your monitoring shut up

Let’s do this!

Page 27: IcingaCamp Stockholm - How to make your monitoring shut up

Let’s do this!

Page 28: IcingaCamp Stockholm - How to make your monitoring shut up

Let’s do this!

Page 29: IcingaCamp Stockholm - How to make your monitoring shut up
Page 30: IcingaCamp Stockholm - How to make your monitoring shut up
Page 31: IcingaCamp Stockholm - How to make your monitoring shut up

License: CC-SA, Marco Mayer

2 years and counting...

Page 32: IcingaCamp Stockholm - How to make your monitoring shut up

You are never done done

Page 33: IcingaCamp Stockholm - How to make your monitoring shut up
Page 34: IcingaCamp Stockholm - How to make your monitoring shut up

Qs?