13. 02. 2012 Patrick Zambelli Nagios-Plugins, NetEye

Integration of SAP solution manager – CCMS

The monitoring of SAP environments requires the application of a specific strategy to access and verify key monitoring variables. SAP provides for this purpose a dedicated data interface – the CCMS interface. This is an open data-exchange interface allowing to communicate through an external source with the SAP-environment.

For NetEye we have adapted the opensource sap-ccms-plugin ( http://sourceforge.net/projects/nagios-sap-ccms/ ). Fixed a few formatting and output particularities for Nagios, the scripts are now able to query multiple monitoring objects from the remote SAP system and giving a structured output separted by Check result details and performance data. Packed within a ready-to use RPM for RedHat EL5 i386 the package is ready for further depolyment on the current NetEye configurations.

After the redhat’s standard rpm installation ( rpm -ivh neteye-sap-ccms-0.8.0-1.i386.rpm ) the package places two configuration files within the /etc/sapmon/ folder: login.cfg and agent.cfg

The first is used for the configuration of the credentials towards the sap system and the second for the configuration of the SAP monitoring objects.

SAP CCMS pluing example configuration

Let’s define the login.cfg by defining a Login_<login_name>  item.
[LOGIN_QAS]
-d <SID> -u <user> -p <passwd> -c <mandant> -h <hostname/ip> -s <system-id>

A subsequent monitoring object definition would look like this to check for tablespace usage:

That’s it! Now we define a check_sap providing 2 arguments: The template and the login ID. All together defined in Nagios, the configuration and the output would look like this:

Activated in Nagios the check results and the tablespace free resources performance graphs would  look like:

NetEye SAP plugin Download RPM

neteye-sap-ccms-0.8.0-1.i386.rpm.tar

The SOURCE RPM to be recompiled on different plattforms than RHEL 5 i386:

neteye-sap-ccms-0.8.0-1.src.rpm.tar

Patrick Zambelli

Patrick Zambelli

Product Manager at Würth Phoenix
After my graduation in Applied Computer Science at the Free University of Bolzano I decided to start my professional career outside the province. With a bit of good timing and good luck I went into the booming IT-Dept. of Geox in the shoe district of Montebelluna, where I realized how a big IT infrastructure has to grow and adapt to quickly changing requirements. During this experience I had also the nice possibility to travel the world, while setting up the various production and retail areas of this company. Arrived at Würth Phoenix I started developing on our monitoring solution NetEye. Today, in my position as Product Manager, I aim to continuously improve our solutions and to adapt them to actual market requirements.

Author

Patrick Zambelli

After my graduation in Applied Computer Science at the Free University of Bolzano I decided to start my professional career outside the province. With a bit of good timing and good luck I went into the booming IT-Dept. of Geox in the shoe district of Montebelluna, where I realized how a big IT infrastructure has to grow and adapt to quickly changing requirements. During this experience I had also the nice possibility to travel the world, while setting up the various production and retail areas of this company. Arrived at Würth Phoenix I started developing on our monitoring solution NetEye. Today, in my position as Product Manager, I aim to continuously improve our solutions and to adapt them to actual market requirements.

Leave a Reply

Your email address will not be published. Required fields are marked *

Archive