SAP base monitor check

sap monitoring tool

A small monitoring tool to check sap base health.

The tool reads the SAP CCMS values and check it to your defined thresholds.

The exit codes are best uses with Icinga / Nagios Monitoring.

It based on the SAP RFC SDK 7.50 for the SAP communication.

first download and configure SAP RFC SDK

Than use simple "make" for comipling.

Here is also a "sap authorization role" transport for the SAP system.

Simple import the transport request to use minimum permisions for the sap_mon monitoring user.

execute command:

sap_mon -show = show all available SAP monitors according to RZ20

example: sap_mon -show -username= -password=> -hostname= -sid= -sysnum= -client=

sap_mon -check = checks the CCMS Performance Attribute from the given monitor

example: sap_mon -check -username= -password=> -hostname= -sid= -sysnum= -client= -monitor='RZ20 Monitor Propertie Name' -warn= -critical=

sap_mon -aborted-job = See the last aborted background jobs in the system

sap_mon -aborted-job -username= -password=> -hostname= -sid= -sysnum= -client=

sap_mon -abap-dump = Shows the last ABAP dumps

sap_mon -abap-dump -username= -password=> -hostname= -sid= -sysnum= -client=

if you have any question or suggestions don't hesitate to contact me