How to execute SAP Debug script

How to execute SAP Debug script

1. Steps to execute troubleshooting script SAPDebug.bat/sh:
  1. Open command prompt/terminal with administrator privileges.
  2. Navigate to <AppManager_home>\bin\troubleshooting folder.
  3. Execute the script file SAPDebug.bat or SAPDebug.sh
Usage:
SAPDebug.bat  [HostName/IP] [System number] [Client] [Username] [Password]
Optional: [Language]
Optional: [Router string] - Language is mandatory, if Router String is needed.

[HostName/IP] - SAP Instance name
[System number] - Instance Number
[Client] - Logon Client Number
[Username] - SAP Logon User
[Password] - Password
[Language] - Language(Optional). Default 'EN' 
[Router string] - Router String. 
Note: The usage is same for SAPDebug.sh file as well.

          • Related Articles

          • No Data in SAP Server monitor/ Unable to add SAP monitor

            Problem:  In Appmanager_home/logs/nms/stdout.txt , the error message "SAPDataCollector : Host information not found for server" is found. Solution:  Add entry for IP Address and SAP Instance name in etc/hosts file of Applications Manager server and ...
          • Execute Program action - Enterprise Admin server behavior & Known limitation

            Behavior in Enterprise Admin server In case of Enterprise Admin users, following is the behavior of Execute Program action: All Host in the selected Monitor Group option is not supported Auto Select Host option is partially supported. Since the host ...
          • Script Monitor FAQs

            Common queries, errors and troubleshooting: 1. To execute scripts other than .bat /.vbs  in Windows and .sh / .bash in Linux: It is better to execute the script in the form of a command. Eg. To execute python script, you can use command py ...
          • Frequently asked questions - SAP monitor

            1. SAP monitor's Health is always critical/warning state along with "System Error occurred" alert message. What should I do? These alerts are triggered when Applications manager receives Alerts from the SAP server itself. The same can be viewed under ...
          • SAP Alerts displaying incorrect time

            Problem :The time shown for SAP Alerts under Alarms tab in SAP monitor is incorrect. Solution : Enter the time difference (in hours) in <AppManager_Home>\conf\SAP.properties file am.sap.alerttime.offset key. For example, in the above screenshot the ...