nagios conference 2014 - anna-sofia lejman - the experience of inheriting a nagios monitored...

32
The experience of inheriting a Nagios monitored environment Anna-Sofia Lejman [email protected]

Upload: nagios

Post on 02-Jul-2015

94 views

Category:

Documents


0 download

DESCRIPTION

Anna-Sofia Lejman's presentation on The Experience of Inheriting a Nagios Monitored Environment. The presentation was given during the Nagios World Conference North America held Oct 13th - Oct 16th, 2014 in Saint Paul, MN. For more information on the conference (including photos and videos), visit: http://go.nagios.com/conference

TRANSCRIPT

Page 1: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

The experience of inheriting a Nagios monitored environment

Anna-Sofia Lejman

[email protected]

Page 2: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

About me

From Sweden

Been into IT since 1999

Works at VIX Technology

Supporter of Nordic Garrison

CRazy cat lady

Page 3: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Starter Kit

Page 4: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Agenda

Page 5: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Agenda

Implementing Nagios

Conclusions

Tips and tricks

Questions

Page 6: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Implementing Nagios

-The background

Page 7: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Vix Technology

Page 8: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Ticket validation

Current Range of iValTM Devices

Processor Boards– Viper Processor Board

Bus Computers– DC Range (Driver Console)– TP Range (Ticket Processor)– EB Range (Bus Computer)

Patron Devices– CP Range (Card Processor)– CR Range (Card Reader)– V Range (Combination Validator)– ST Range (Platform Validator)– PCP Range (Platform Validator)

Page 9: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Why Nagios?

Automation

of manual checks

Measuring

service uptime

Monitoring 24/7

Automatic

incident Creation

Page 10: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Implementing Nagios

-The Project

Page 11: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Implementation

Developing

testing

Implementing

Into

production

Oops!

Page 12: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

What happened next?

Page 13: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Ok, not that bad

errors in Checks

Errors in

Specs

Thresholds

too low

Incidents!

Page 14: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

What to do?

Troubleshoot

Call the developer

Request help

from developer teams

Manager

Page 15: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

OK NOW What?

Servicedesk hero

Incident

levels Down

Access To

A developer

Page 16: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Fixed it - all good nao

GOT IT Working!

happily everafter!

Set &Forget

Or…???

Page 17: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

maintenance

Page 18: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Conclusions

Page 19: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

What did we Learn?

START with firewall ports / VPN connections.

access to a test environment

experienced tester.

Test thoroughly.

Page 20: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Think the checks through

very clear specifications

Remember:

Every 5 minutes

Page 21: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

More lessions learned

A good programmer

Plan for THE aftermath,

log book &

Script Repository

Plan for improvements

Page 22: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

But

most important

of all

Page 23: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

No 1

Page 24: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Tips & tricks

Page 25: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Basic troubleshooting

Run check locally on host( In solaris : as nagios USER + root )

RUN “Test check command” in console

Check HOST config files

Solaris: /etc/nagios/nrpe.cfgWindows: C:\Program Files\NSClient++\NSC.ini

Check HOST logs

Solaris: /var/adm/nrpeWindows: C:\Program Files\NSClient++\nsclient.log

/etc/nagios/nrpe.cfg/etc/nagios/nrpe.cfg

Page 26: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Heeelp!!!

where to find info as a beginner:

FAQs

Nagios Library

NSClient++

Page 27: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

FAQ

Nagios FAQs

http://support.nagios.com/knowledgebase/faqs/

Page 28: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

The Library

Nagios XI Library http://library.nagios.com/library/products/nagiosxi

Nagios support forum

Nagios Documentation

User and Administrator

manuals

Page 29: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Nsclient++

NSClient++ http://www.nsclient.org/

Page 30: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

The internetz

Google is your friend

( just doublecheck the Nagios version )

Page 31: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Questions?

All typo:s are attributed to lolcat lingo!

Page 32: Nagios Conference 2014 - Anna-Sofia Lejman - The Experience of Inheriting a Nagios Monitored Environment

Thank you!

Anna-Sofia Lejman

[email protected]