Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

59
“If you think technology can solve your security problems, then you don't understand the problems and you don't understand the technology” Bruce Schneier

description

Dorance Martinez Cortes' presentation on customizing Nagios. 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 of Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Page 1: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

“If you think technology can solve your security problems, then you don't understand the problems and you don't understand the technology” Bruce Schneier

Page 2: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Customizing Nagios

Dorancé Martínez Cortés

[email protected]

@dorancemc

Page 3: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Agenda

• About me• Good practices• Monitoring tools• Why nagios?• Work with IT• Nagios for >300 host >2500 services• Strategy• Capacity planning• Conclusion• Questions

Page 4: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

About me

>10 Years: Linux, Windows, HPUX, AIX, Mac.

Tecnoquímicas

Alert Logic

In free time: camping

And full-time: husband and father

Page 5: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Tecnoquímicas

Tecnoquímicas • Health• Personal care and household

cleaning• Processed foods• Agricultural and veterinary

products

Page 6: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Best practices

• If you can't be measured, you can't control it

• If you can't control, you can't manage

• If you can't manage, you can't improve it

Page 7: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Lowest incident

Page 8: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

More information

Page 9: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

bigger incident?

Page 10: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

users

Page 11: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Feeling the incident

Page 12: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Best practices

• If you can't be measured, you can't control it

• If you can't control, you can't manage

• If you can't manage, you can't improve it

Page 13: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Monitoring Tool

Page 14: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Monitoring Tool• Views

• Alerts

• Prevention

• Compatibility

• Visibility network and infrastructure not controlled.

• Flexibility

• Reports

• ROI

Page 15: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Decision

CPUMEM

DISK SPACEDISK I/OTCP/UDP

NIC

Page 16: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Decision

Page 17: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Decision

Page 18: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Decision

Page 19: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Decision

Page 20: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

IT

Infrastructure and development

Infrastructure, network

and communicati

ons

Development

Financials Sales Manufa

cturing

Services

Help Desk

IT

Page 21: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Responsabilities

• Application Administration• Database Administration • Script development• User support (level2)• Training• New projects• Contact with suppliers• Internet Support • Software updates• AntiVirus updates• Network speed• Backups• SLA compliance • Best practices• Infrastructure improvement

Page 22: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Incidents

• Slowness problems• Failures in the database• Users with little training• Urgent projects• Failures in Internet• Virus in the system• Recovery of Backups• Incidents• Breach of SLA

Page 23: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

HP IBM DELL

Hardware

Page 24: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

HP

HPUX

IBM

XEN

GNU/Linux

DELL

MS HyperV

Microsoft

ORACLEVM

GNU/Linux

Operative System

Page 25: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

HP

HPUX

Oracle

IBM

XENGNU/Linux

Oracle Apache MySQL +

DELL

Oracle VM

GNU/Linux

Oracle

Apach

e

MySQL +

MS HyperV

Microsoft

MSExchange

MSSQL

ActiveDirectory

+ +

Software

Page 26: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Network

StorageHP

HPUX

Oracle

IBM

XEN

GNU/Linux

Oracle Apache MySQL +

DELL

Oracle VM

GNU/Linux

Oracle Apache MySQL +

MS HyperV

Microsoft

MSExchange MSSQL Active

Directory + +

Network & Storage

Page 27: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Hardware

Page 28: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Hardware

Page 29: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Software

Page 30: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios
Page 31: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Network & Storage

Network

StorageHP

HPUX

Oracle

IBM

XEN

GNU/Linux

Oracle Apache MySQL +

DELL

Oracle VM

GNU/Linux

Oracle Apache MySQL +

MS HyperV

Microsoft

MSExchange MSSQL ActiveDirectory + +

Page 32: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

StrategyMinimum Requirements

SoftwareHardware

Make connections• P

hysical• Virtual• Storage• Network

Solutions• C

ritical

• Warning

• Normal -> Statistics

Page 33: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Software

Page 34: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

StrategyMinimum Requirements

SoftwareHardware

Make connections• P

hysical• Virtual• Storage• Network

Solutions• C

ritical

• Warning

• Normal -> Statistics

Page 35: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Software

Page 36: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Software

Page 37: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Software

Page 38: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

StrategyMinimum Requirements

SoftwareHardware

Make connections• P

hysical• Virtual• Storage• Network

Solutions• C

ritical

• Warning

• Normal -> Statistics

Page 39: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Software

Page 40: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Software

Page 41: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Running…

Page 42: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Software

Page 43: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Services groups

Page 44: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Services groups

Page 45: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Host groups

Page 46: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

infrastructure

Page 47: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

performance

Page 48: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Statistics

2013 2014

Page 49: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Statistics

1 2 3 4 5 6 7 8 90.965

0.97

0.975

0.98

0.985

0.99

0.995

1

1.005

ok status 2013ok status 2014

Page 50: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Capacity planning

Page 51: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Capacity planning

Page 52: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Capacity planning

Page 53: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Software

0.99

0.01

Hosts

DonePending

0.89

0.11

Services

DonePending

Page 54: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Monitoring Tool• Views

• Alerts

• Prevention

• Compatibility

• Visibility network and infrastructure not controlled.

• Flexibility

• Reports

• ROI

Page 55: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Conclusion

• There is no tool or universal solution

• Monitoring tools should point to the prediction and prevention

• Monitoring tools are not used at 100%: unknowledge of the tool and methods of analysis

• The company should have a monitoring strategy

Page 56: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Conclusion

People

Strategy

Tools

Page 57: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Conclusion

• Monitoring strategy

• Good teamwork

• Great tools

If you think technology can solve your security problems, then you don't understand the problems and you don't understand the technology. “Bruce Schneier”

Page 58: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Questions?

Page 59: Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios

Dorancé Martínez Cortés

[email protected]

THANKS!

@dorancemc