nagios conference 2014 - luis contreras - monitoring sap system with nagios core

25
Monitoring SAP System with Nagios Core Luis Contreras [email protected]

Upload: nagios

Post on 19-Dec-2014

93 views

Category:

Technology


3 download

DESCRIPTION

Luis Contreras's presentation on Monitoring SAP System with Nagios Core. 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 - Luis Contreras - Monitoring SAP System with Nagios Core

Monitoring SAP System with Nagios Core

Luis Contreras

[email protected]

Page 2: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Introduction & Agenda

• Who am I ?• SAP Stuff• SAP Concepts• Let’s rock with Nagios Core

Page 3: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Who am I ?

Me ;-)• Nagios Independent Contractor• Nagios Community Leader• Nagios Speaker• SAP Basis & SAP Hana DB

Administrator• Python Dev• New Stuff Tester• Bike Rider ;-)

Page 4: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

SAP Stuff

SAP• One of the biggest ERP in the Market• Many modules on it FR, HR, etc.• Multi-platform / diversity of databases• Windows / Linux / Unix• While bigger more complex• BI / Portal

Page 5: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

SAP Stuff

Page 6: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

SAP Concepts

SAP GUI

WindowsJavaHTML

Page 7: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

SAP Concepts

SAP GUI

SAP Server Definition

Page 8: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

SAP Concepts

• Dispatcher• Work Process• Dialog Work Process• Update Work Process• Background Work Process• Spool Work Process• Enqueue Work Process• Message Server• Gateway• Transactions

Page 9: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

SAP Concepts

12

3 4 5 6 7

8

9

10

Page 10: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Let’s rock with Nagios Core

SAP Enviroment• SAP Netweaver 7.0 ABAP• MaxDB Database 7.x / Oracle DB 10g Ent• Windows 2003 Server Enterprise

Page 11: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Let’s rock with Nagios Core

Situation:

A SAP Basis wants to monitor Message Server, Application Server (Processes and Services), SAP Ports, others services, but he/she doesn’t want to install any SAP plugin on a SAP System.

Page 12: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Let’s rock with Nagios Core

Define SAP Server on windows.cfg

Page 13: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Let’s rock with Nagios CoreDefine Ports to monitor on file windows.cfg

Dispatcher

Gateway

Msg Server

Internet Transaction Services

Page 14: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Let’s rock with Nagios Coredispwork.bat script for checking disp+work.exe process

Page 15: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Let’s rock with Nagios Coremsg_server.bat script for checking disp+work.exe process

Page 16: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Let’s rock with Nagios CoreDefine processes to monitor on file windows.cfg

Page 17: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Let’s rock with Nagios Core

SAP Management Control

Page 18: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Let’s rock with Nagios Coresapnsp_00.bat script for checking SAPNSP_00 Service

Page 19: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Let’s rock with Nagios CoreDefine services to monitor SAP Instance on file windows.cfg

Page 20: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Let’s rock with Nagios Core

SAP Management Control

Page 21: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Let’s rock with Nagios Core

NSC.ini file

…….[External Scripts]check_dispwork=scripts\dispwork.batcheck_msg_server=scripts\msg_server.batcheck_sapnsp_00=scripts\sapnsp_00.bat……..

Page 22: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Let’s rock with Nagios Core

Nagios Web Interface

Page 23: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Conclusion

We’ve seen:• How SAP works• How Nagios could help you monitoring your

SAP environment• These steps could be accomplish on Nagios XI

too, with some minimum changes.

Page 24: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

Questions?

Any questions?

Thanks!

Page 25: Nagios Conference 2014 - Luis Contreras - Monitoring SAP System with Nagios Core

The End

Luis Contreras

[email protected]