Skip to main content
Version: 2024.07

SAP Syslog Monitor

Overview

Monitoring of Syslog entries. Shows how many syslog entries have occurred per application instance

ExecutableSAP_Syslog_Monitor.exe
Connection methodHTTP
Ports
  • 5$$13 (http)
  • 5$$14 (https) ($$ = instance number)

Default parameters

Parameter namePossible valuesDefaultDescription
Host<ip> | <hostname> | <fqdn>emptyHostname or IP of the target system. If you use a virtual hostname on your SAP servers, please use also the virtual host to connect.
SAPInstancenumber (2) | 00 - 99emptyInstance number of the SAP system
OSUsernamestringempty<sidadm>-user
OSPasswordstringemptyPassword of the <sidadm>-user

Sensor-specific parameters

Parameter namePossible valuesDefaultDescription
Minutesnumber | 1 - n10Past minutes to check
ErrorCodes<code1>,<code2>,<code3>,... | FILE:<filename>FILE:Default.preset

Error Codes to search for.

There are two possible ways to maintain this parameter:

  • Using custom set of error codes Syntax: <code1>,<code2>,<code3>,...
  • Using custom set of error codes from file in SAP_Syslog_Monitor folder Syntax: FILE:<filename>
  • Using predefined set of error codes from file in SAP_Syslog_Monitor folder Syntax: FILE:<filename>
Users <Username1>,<Username2>,...*

Only count Syslog entries with the given users.

Use * as wildcard.

Protocolhttp | httpshttpUsed protocol for the connection to sapstartsrv

Presets

File nameDescription
Default.presetDefault set of error codes which are relevant for SAP Basis.
Security.presetSet of security depending error codes. (E.g. abusing debugging function or audit errors)
info

If you want to customize a preset, please copy the file and maintain it under your own name. Otherwise your changes will be overwritten with the next Scansor update.

Channels

Channel nameDescriptionLookup file
ServerName - EntriesEntries total
ServerName - InformationEntries marked as "Information"
ServerName - WarningEntries marked as "Warning"
ServerName - HighPrioEntries marked as "HighPrio"
ServerName - VeryHighPrioEntries marked as "VeryHighPrio"
ServerName - Found CodesEntries which are searched by "Error Codes"

Troubleshooting

SymptomPossible solution
Receiving error message There is an error in XML document (2, 4542627)

This probably occurs due to a known SAP bug, which is described here: Support SAP. You could now use the parameter rslg/max_diskspace/local to see how large the log file (parameter rslg/local/file) may become, to estimate when the file will be regenerated. You could save the results of ReadABAPSyslog in an xml and check, whether a special character is causing the problem:

sapcontrol -nr <nr> -function ReadABAPSyslog

Important notes

warning

Please check the limits if they fit for your alerting.

Changelog

VersionChanges
2023.09Added parameter to use https for sapstartsrv connection
2022.08
  • Added preset for Security and transferred default value for parameter "ErrorCodes" to Default.preset
  • Added filter for users to only read entries depending on one or more specified users
1.4.0.3Fixed wrong counting by ErrorCode
1.4.0.1Rebuild for new signature of AddChannel method
1.4.0.0Build for installer 1.4.0
1.3.6.0First stable release