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
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
Applies toSAP ERP 2005
Redhat RHEL 5 on x86_64 Systems
SummaryThis 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(s): Pascal Bombardier
Company: BULL
Created on: 30 October 2008
Author BioPascal 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.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
Table of Contents1.Nagios Pre-requisites.....................................................................................................................................3
Setup the proxypear config-set http_proxy "http://proxy:8080"
Copy paste the command line from the browser to a shellpear install -o -f --alldeps DB DB_DataObject DB_DataObject_FormBuilder MDB2 Date Numbers_Roman Numbers_Words HTML_Common HTML_QuickForm HTML_QuickForm_advmultiselect HTML_Table Auth_SASL HTTP Image_Canvas Image_Color Image_Graph Image_GraphViz Mail Mail_Mime Net_SMTP Net_Socket Net_Traceroute Net_Ping Validate SOAP
Click on “Recheck”, all pear extensions should be OK.
Enter Centreon Database Name : centreon
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
Enter Centreon Data Storage Database Name : centstorage
Upload the Nagios configuration files from the server “/usr/local/nagios/etc” to the client PCnagios.cfgcgi.cfgresource.cfgobjects/*
In Centreon, goto “Configuration / Nagios / Import” and upload the nagios.cfg, cgi.cfg and resource.cfg files
Restarting Nagios from Centreon does not work# visudo
Comment the following line#Defaults requiretty
Configure service performance collection in nagios.cfgIn Centreon, goto “Configuration / Nagios / Nagios CFG” and setPerformance Data Processing Option YesService Performance Data Processing Command process-service-perfdataService Performance Data File /usr/local/nagios/var/service-perfdata
Start the ODS databasechkconfig –add odschkconfig ods onservice ods start
5.SAP plugins compilation
Get the following filessap-ccms-plugin-0.7.3.tar.gz
Installation of Centreon-Nagios-SAP-Plugins on RHEL5
Disclaimer and Liability NoticeThis document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com