Skip to Content
0

OS command adapter

Oct 10, 2016 at 02:22 PM

65

avatar image

HI All,


I have requirement to integrate solution manager and Tivoli. and wanted to store alerts to a log file in linux. SO i have to create a external command in sm49 to it can store the alerts to a log file in Linux

Can any one pls help to create an external OS command to create a log file at OS level.

Regards,
Reddy

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Tom Cenens
Oct 14, 2016 at 07:05 AM
1

Hi Reddy

This guide gives you all the details you need to use OS Command Adapter:

https://wiki.scn.sap.com/wiki/download/attachments/290979852/HOW-TO+GUIDE+OS+Command+Adapter.pdf

In SM49, you would have an external command, let's name it "ZTIVOLI" which points to a specific script on OS level /path/send_alert_to_tivoli.ksh

The OS Command Adapter passes the variables along (table is in PDF of which variables you can use) and you should then make sure the script can interpret (or adapt) these so you get the currect output in the end to import into Tivoli.

Best regards

Tom

Share
10 |10000 characters needed characters left characters exceeded