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

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

Dec 14, 2015

Download

Documents

Kaya Cheak
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

Monitoring SAP System with Nagios Core

Luis Contreras

[email protected]

Page 2: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

Introduction & Agenda

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

Page 3: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

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: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

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: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

SAP Stuff

Page 6: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

SAP Concepts

SAP GUI

WindowsJavaHTML

Page 7: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

SAP Concepts

SAP GUI

SAP Server Definition

Page 8: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

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: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

SAP Concepts

12

3 4 5 6 7

8

9

10

Page 10: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

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: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

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: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

Let’s rock with Nagios Core

Define SAP Server on windows.cfg

Page 13: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

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

Dispatcher

Gateway

Msg Server

Internet Transaction Services

Page 14: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

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

Page 15: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

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

Page 16: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

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

Page 17: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

Let’s rock with Nagios Core

SAP Management Control

Page 18: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

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

Page 19: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

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

Page 20: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

Let’s rock with Nagios Core

SAP Management Control

Page 21: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

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: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

Let’s rock with Nagios Core

Nagios Web Interface

Page 23: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

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: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

Questions?

Any questions?

Thanks!

Page 25: Monitoring SAP System with Nagios Core Luis Contreras lcontreras@nagios.com.

The End

Luis Contreras

[email protected]