cancel
Showing results for 
Search instead for 
Did you mean: 

Sending SNMP Traps from SOLMAN 7.2 SP08

andreas_zigann
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

tom_emmerich
Discoverer
0 Kudos

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

andreas_zigann
Active Participant
0 Kudos

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

tom_emmerich
Discoverer
0 Kudos

Hello Andreas,

We are facing the same issue - have you found a solution?

Regards

Thomas

luis_salazarzahonero
Product and Topic Expert
Product and Topic Expert
0 Kudos

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