13. 02. 2012
NetEye, Unified Monitoring
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.
-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
The SOURCE RPM to be recompiled on different plattforms than RHEL 5 i386:
Latest posts by Patrick Zambelli