on 04-03-2019 1:23 PM
Hello,
I am trying to send SNMP-Traps out of SOLMAN 7.2. I followed instructions of https://answers.sap.com/questions/349551/send-sap-solution-manager-72-alerts-as-snmp-traps.html and the guide (even if it is written for solman 7.1).
In slg1 I see errors at objekt E2E_ALERTING and ext. Identif. SNMP_TRAP*
The first row of the error message is: SEND_SNMP_TRAP failed to execute:; 91 r3maiAlertDescription: Value out of range (Value does not match DISPLAY-HINT :: {( > 0..128)});
It looks like the filed of AlertDescription is to long. I checked this, the description is 129 letters (and was cut there by SAP SOLMAN).
Now I am searching for the right place to change the format of r3maiAlertDescription.
Sending Traps with sm49 as described in the blog returns no errors, but I do not think SOLMAN uses it, because of configuation is done in ICF-applikation mai_snmp_trap_config.
The second issue: SAP configures SNMP Traps version 1. I would like to use v3 for security reasons, but I did not find any valueable documentation.
Best Regards
Andreas
Hello Andreas,
I found a work around for this issue. In file .../MIBS/SAP_R3_MIB.txt the length of r3maiAlertDescription is defined:
r3maiAlertDescription OBJECT-TYPE SYNTAX DisplayString(SIZE (0..128)) MAX-ACCESS read-only STATUS current DESCRIPTION "Represents the Description of the MAI Alert." ::= { r3maiAlertEntry 8 }
I changed the value (SIZE (0..128) to (SIZE (0..999) - now the error in SLG1 disappears and traps are send. The length is still limited to 128 signs.
Regards
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Luis,
I am using the standard and it should work. I have found new details that point to the longtext of the Alert Description. At my actual example it starts with:
r3maiAlertDescription s 'Die ABAP-Instanz hat nur begrenzte oder sogar keine Ressourcen mehr für die Dialogverarbeitung. Wenn diese Probleme nicht gelöst'
This are more then 128 letters. The description text is too long.
I am looking for this text in tables or messages.
Best Regards
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Andreas,
Find all relevant information about SNMP traps in KBA
2469194 - Understanding Alert Consumer BAdI Interface
It includes:
Wiki link to relevant setup guides
For 7.2, very important SAP Notes to make it work correctly
Guided answers to run troubleshooting.
To change parameters, you can access service /sap/bc/webdynpro/sap/mai_snmp_trap_config?sap-language=EN
This service is shown in setup guide for SNMP traps.
Regards,
Luis Salazar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.