Professional Documents
Culture Documents
Applies to
SAP ERP 2005
Redhat RHEL 5 on x86_64 Systems
Summary
This paper describes the steps to install a monitoring solution based on Nagios.
SAP CCMS monitors can be uploaded and monitored from within this application.
Author Bio
Pascal Bombardier has 10 years of experience in ERP consulting, integration and
development. His competences ranges from Operating systems to ERP software, from
functional analysis to implementation and development. He is working for BULL company and
currently joined the SAP Linuxlab as a hardware partner, where he certifies SAP software
components on Bull hardware.
© 2007 SAP AG 1
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
Table of Contents
1.Nagios Pre-requisites.....................................................................................................................................3
2.Nagios installation..........................................................................................................................................3
3.Centreon Pre-requisites.................................................................................................................................4
4.Centreon Installation......................................................................................................................................4
5.SAP plugins compilation................................................................................................................................5
6.Configuration Example...................................................................................................................................6
7.Application Views...........................................................................................................................................7
© 2007 SAP AG 2
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
1.Nagios Pre-requisites
Check that the following packages are installed :
yum install httpd
yum install gcc
yum install glibc glibc-common
yum install gd gd-devel
2.Nagios installation
Nagios QuickStart
http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html
© 2007 SAP AG 3
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
3.Centreon Pre-requisites
Install rrdtool from EPEL website
wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-
3.noarch.rpm
rpm -Uvh epel-release-5-3.noarch.rpm
yum install rrdtool
Start Mysql
chkconfig mysqld on
service mysqld start
4.Centreon Installation
tar xvf centreon-1.4.2.7.tar.gz
./install.sh
...
Where is installed RRD perl modules [RRDs.pm] ?
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
Goto http://SERVER/centreon/
php pear extensions failed
© 2007 SAP AG 4
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
Upload the Nagios configuration files from the server “/usr/local/nagios/etc” to the client PC
nagios.cfg
cgi.cfg
resource.cfg
objects/*
In Centreon, goto “Configuration / Nagios / Import” and upload the nagios.cfg, cgi.cfg and
resource.cfg files
© 2007 SAP AG 5
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
Installation
# cp sap_moni.so /lib64
# cp check_sap check_sap_cons check_sap_instance check_sap_instance_cons
check_sap_multiple check_sap_mult_no_thr check_sap_system
check_sap_system_cons /usr/local/nagios/libexec/
# chown apache:nagios /usr/local/nagios/libexec/*
# cp -a config /etc/sapmon
6.Configuration Example
[TEMPLATE_105]
MONI_SET_NAME="SAP CCMS Monitor Templates"
MONI_NAME="Dialog Overview"
PATTERN_0="*UsersLoggedIn"
[TEMPLATE_110]
MONI_SET_NAME="SAP CCMS Monitor Templates"
MONI_NAME="Entire System"
PATTERN_0="*EsAct"
[TEMPLATE_200]
MONI_SET_NAME="SAP CCMS Monitor Templates"
MONI_NAME="Database"
PATTERN_0="*Fullest tablespace"
[TEMPLATE_210]
MONI_SET_NAME="SAP CCMS Monitor Templates"
MONI_NAME="Entire System"
PATTERN_0="*DBRequestTime"
[TEMPLATE_300]
MONI_SET_NAME="SAP CCMS Monitor Templates"
MONI_NAME="Operating System"
PATTERN_0="*5minLoadAverage"
[TEMPLATE_999]
MONI_SET_NAME="SAP CCMS Monitor Templates"
© 2007 SAP AG 6
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
MONI_NAME="Entire System"
PATTERN_0="*"
7.Application Views
Welcome screen
© 2007 SAP AG 7
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
Service View
© 2007 SAP AG 8
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
Hosts View
© 2007 SAP AG 9
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
Reporting Screen
© 2007 SAP AG 10
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
Host Graphics
© 2007 SAP AG 11
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
© 2007 SAP AG 12
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
© 2007 SAP AG 13
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
© 2007 SAP AG 14
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
© 2007 SAP AG 15
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
Related Content
Please include at least three references to SDN documents or web pages.
SAP on Linux
• https://www.sdn.sap.com/irj/sdn/linux
Supported Platforms
• https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/792dd957-0d01-0010-319b-
e1211e5c66b0
SAP on Linux Forum
• https://www.sdn.sap.com/irj/sdn/forum?forumID=189
© 2007 SAP AG 16
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
© 2007 SAP AG 17