Ccms alert auto-reaction writing unix File

Hello,
I configured Automatic Alert Notification in RZ21 to send mail and SMS alerts when alerts are occured in RZ20 (CCMS_OnAlert_Email : frequence dump, lock oracle, process long running ,...)
Now I would replace mail/sms Alert notification by writing file in Unix directory.
How to generate an alert in Unix files?
Best regards,
Robi

Hi,
If I am not wrong DB6ALRTCT is the table which holds the Alert details, you need to write an ABAP program to get these details and write to a file in Unix.
thanks...
Sukarna...

Similar Messages

  • CCMS alert stays in ACTION_REQUIRED status auto reaction is not triggered

    Hello,
    We have configured central monitoring infrastructure via Soluton Manager. So we could assign auto reaction methods in RZ21(CEN) to get e-mail notification if an alert occured in satellite systems.
    Most of the assigned MTEs trigger mail notification but our problem is that certain MTEs don't trigger the assigned auto reaction and they are stucked in ACTION_REQUIRED status.
    All of the application servers have running and connected CCMS agent.
    I have read all of the similar forum threads but I couldn't find any relevant answer:
    Notes what I have read but didn't help:
    note 543414
    note 546981
    note 176492
    I think the basic configuration should be correct as most of the MTEs can trigger and send out e-mail notification from satelite systems.
    Thanks in advance,
    Peter
    Edited by: Peter Kalmar on Mar 12, 2010 4:21 PM

    Hi Peter,
    by any chance were your auto reactions based on alerts that were related to GRMG type availability checks. I've been setting up some monitors with auto reactions and have found that the alerts based on the systems that have the SAPCCM4X,SAPCCMSR type agents supplying the RZ20 data for the systems seem to work ok. The alerts when triggered get the emails sent out via SAPCONNECT and out to the internet mail recipient that was defined in the central system auto reaction method.
    However, I'm having a problem getting the GRMG based alerts to go out, they stick in the alert monitor with status "ACTION_REQUIRED" and only send the emails after the manual task of initiating the auto-reaction method in the alert monitor is performed. They use the same auto-reaction method as the others which are working ok, so I'm still trying to figure out why these GRMG based alerts are failing to run the auto reaction method unattended.
    Regards,
    Brian.

  • SETUP FOR AUTO-REACTION CCMS ALERTS

    E-AMIL CONFIGURATION CHECKING
    - Check User setting: (SU01) User has Admin Rights
       PROFILE:    SAP_ALL, S_A.SCON
       E-MAIL:      user @ company.com
       COMM. METH: Remote Mail
    - Check Background job: (SCOT) works fine
      JOB NAME: SendMail
      PROGRAM: RSCONN01
      PROGRAM TYPE: ABAP
      VARIANT: SAP& CONNECTINT
      SCH.TIME: 5 Munts:
    - Check E-mail send/rec. (SOST)
    -=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    1. RZ21 - Copyed CCMS_OnAlert_Eamil to NDV_CCMS_OnAlert_Eamil
    2. Configure NDV_CCMS_OnAlert_Email
       EXECUTION TAB: select: Any Server
       CONTROL TAB: Automatic. in dialog process (short-running program)
       Checked mark Execute method immediately after monitoring segment start
       PARAMATERS TAB:
       SENDER: userID
       RECIPIENT: user @ company.com
       RECIPIENT - TYPEID: U
    3. RELEASE TAB: (Checked mark auto-reaction method)
    -=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    IN RZ20 - Select MTE
    1. SAP CCMS Monitor Templates
         Entire System
            Application server
               Oracle
                  Space Management
                     Tablespace
                         Fullest tablespace
    2. selected and goto Properties
       In Methods TAB click Method assignment
       In Auto-reaction TAB: Method name:  NDV_CCMS_OnAlert_Email   (and saved entry)
       Go back MTE and refresh screen
       NOW!!! fullest tablespace alert shows with RED color [ 1 Alert ]
    3. Menu Extra and Activited
    4. Select fullest tablespace and click "Display Alert"
    5. In Alert Display Screen shows "Status" "ACTIVE"
    I keep refreshing nothing happend!!!
    Is anyone can tell me where I am getting mistake ???
    and How may I trace this error!
    Thanks in Advanced

    Hi,
    1. SAP CCMS Monitor Templates
    Entire System
    Application server
    Oracle
    Space Management
    Tablespace
    Fullest tablespace
    2. selected and goto Properties
    In General Tab, what did you give the value for the option "Do not  trigger alerts within the first XX seconds"? and for the option "In the absence of values deactivate after xx seconds"?
    did you put the default values? or have you changed them?
    Moreover, In the Methods tab, you might see that under Method Execution, "Start data collection method every ... seconds" ...
    This specifies the wait time until the data collection method runs. Once the method triggers and starts collecting the data, the values are compared with thresholds and the alerts are triggered accordingly.
    Also please check that you have done this from 000.
    Regards,
    Srihari

  • CCMS auto reaction methode

    Hi guys,
    can anybody explain me how I get an email for every alert within the same MTE (ccms)
    Auto reaction method is CCMS_ON_ALERT_EMAIL
    Thanks
    Christian

    Hi
    Very simple>
    set up transaction SCOT
    Set up tr. rz20 and rz21
    Check this web page
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/elearning/nw/configuring%20the%20sending%20of%20e-mails%20as%20an%20auto-reaction.sim
    this is sim file you need SAP Player installed to be able to see it.
    and also check this document>
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f03a64de-1427-2e10-3a9c-f88ab4829623?quicklink=index&overridelayout=true
    Best regards,
    Peter
    Edited by: Peter Nechala on Sep 13, 2011 9:30 AM

  • CCMS Auto-Reaction Method Disappearing?

    Bonjour a tous et a toutes!
    Is anyone has their CCMS Auto-Reaction Method Disappearing?
    We are in an HA configuration (3 nodes: <b>#1:</b>SCSASCSdb <b>#2:</b> CI +DI <b>#3:</b>CI only)
    For some (i.e.: queue blocking) CCMS MTE, we have configured the <i>ZCCMS_Send_Alert_to_ALM_V2</i> auto-reaction method.
    So, with the proper (XI/CCMS) configurations, we get alerted when queues are blocking.
    But … for some unknown (as least to me) raison, the <i>ZCCMS_Send_Alert_to_ALM_V2</i> auto-reaction method disappeared when (either we gracefully swith from node #1 to node #2) and-or we crash a node (node #2 or node #3).
    Anyone have seen this ?
    Thank in advance !

    help help !
    Anyone have had this error ?

  • CCMS Auto Reaction Methods in XI AlertFrameWork

    Team,
    I have setup my XI box to report all CCMS errors to the ALM framework. The scot tcode has been also setup to receive email.
    With MBA (Message Base Alert), such as mapping error, receiver not found, etc, I have access to a list of "containers variable" to report detail about the error.
    How can I do the same with all errors I get in CCMS ? The errors get replicated to my ALM framework (and thus can be seen in the AlertInbox), but I have no handle on variables container ...
    Thank in advance !
    A+

    Hi Jose,
    yes i have tried to changed to P and to whatever you can imagine but no success, could it be because im trying to do this on IDES?
    a bit summarizing of what have I done till now.
    I have created in client 000 a shared folder called CCMS_ALERTS, I have configured in RZ20 in menu SAP CCMS Monitor Templates --> Syslog --> Security in this way
    Everything has been done in client 000
    In General Tab i have:
    Message Class: RT
    Message Number: 079
    Severity of alerts to be triggered: 255
    Maximum numbers of alerts kept: 10
    Which alerts should be kept: ALL
    In Log Attribute Tab i have:
    Maximum alerts
    Always
    As many as possible
    In Filter Tab I have:
    System log message is selected (ticked)
    the i have filter
    from ID - US1 to ID US1 at Red (ticked) with severity 255
    In the method tab i have:
    My Own method that i have created and here it is:
    Method (rz21)
    Execution Tab:
    as Functional module - SALO_EMAIL_IN_CASE_OF_ALERT
    on any server
    Table fo several MTEs
    Control Tab:
    Periodically in dialog process (short running program)
    Parameter Tab:
    SENDER: my user (existing in any of the clients with administrator rights)
    RECIPIENT: CCMS_ALERTS
    RECIPIENT-TYPEID
    Release Tab:
    Auto-Reaction Method
    Please advice what have I done wrongly
    Vladi,

  • How to format CCMS auto-reaction email ?

    Hi,
    I have setup CCMS auto-reaction with solution manager. Please advise whether i can formatted the email more nicely because the standard email format is very basic.
    Thank you and best Regads
    Fernand

    Hi Fernand,
    when using the "classic" mailing method, you can not change very much, especially the header leaves unchanged.
    But - before changing any function modules - have a look at the delivered method CCMS_OnAlert_Email_V2.
    There you have various possibilities for changing the header directly in method definition (RZ21). The way ahead looks like this:
    1.) copy CCMS_OnAlert_Email_V2 to Z_MailTest01 (or whatever you like ..--))
    2.) Customize your copy, have a look at the parameters SUBJECT_ALERT and SUBJECT_ALERT_CONT. Here you can place your own header text.
    3.) Extending the header text by variables: the method supports dynamic values for several MTEs, e.g. $SID, $NODENAME
    Further possibilities:
    4.) Having done 1-3, you have mails from the same sender (the CEN system). Here you can copy the method and change the sender...
    5.) If you want to change the body, you need to create your own alert messages. The effort doing this is little, the effect is great!
    Have a look at SE91 and create your own message class (example: Z_CCMS).
    And all this without any change in standard coding. Enjoy CCMS!!
    Any further questions? Just post!
    Hope this helps you!
    Kind regards,
    Dirk

  • Two auto-reaction methods for one alert

    Hi,
    I wonder if it is possible to trigger 2 auto-reaction methods for one alert.
    The 2 methods  (tc RZ21) we want to use are :
    1) Trigger a SNMP trap with method : CCMS_OnAlert_SNMP_TRAP
    2) Trigger a Mail with method : ccms_send_alert_to_alm_ccms_container_v4
    Those 2 templates are working fine if we use them separately.
    I want to use them both for the same alert.
    Are there methods, function module, reports,... available to handle this?
    Hope somebody can help.
    Regards
    Paul Van Daele

    Found the solution :
    Note 727584 - CCMS : Triggering several auto-reaction methods for an alert

  • Setting the UNIX file permissions after writing the file to a directory

    Hi Experts,
    Can we set the UNIX file permissions after writing the file to a directory using Receiver File Adpater in SAP PI 7.1 ?
    Thanks in Advance.
    Regards,
    Jyoti

    Hi
    you can use the option "Run Operatiing system Command after File Processing" in the file adapter.
    Thanks
    Rinku Gangwani

  • CCMS AUTO REACTION METHOD

    hi all,
    i hope u all r fine and in the best of ur health.
    i have a problem regarding CCMS Auto reaction method , i want to use my own copy of this method
    SALO_EMAIL_IN_CASE_OF_ALERT_V2 , but i am recieving a fatal error when ever i try to execute
    auto reaction method manualy in RZ21.The reason that i am using this custom copy of this funtion module is that i want to display my own data when ever i recieve the email.
    if any body could help me in this regard, thanks in advance.
    regards,
    Umer Malik
    Edited by: Umer Masood Malik on May 19, 2009 1:10 PM

    hi Sean / Bhudev,
    i have done that but was not working . but later on i find the answer and the solution.
    actualy i am working in 100 client and data supplier program was running though in 100 cleint but
    the select statement used in was reffering the 100 client tables so thats why when i used the select
    cleint specified statement in my report and then tried again , the data collection method was running properly but was not having the data because earlier it was reflection towards the 100 cleint, but now
    its pointing to the 000 cleint so its running....
    any way thankssss alott for such help...
    regards,
    umer

  • XI:Concerns regarding CCMS alerts,IDOC,JDBC,FILE,PROXY

    Dear Experts,
    I have some doubts regarding below listed points.Please,help Me to find thesuitable answer for these.
    *1.if multiple messages to be sent(IDOC) through same JDBC adapter,how we'll do it(THROUGH SAME jdbc Aadpter,in same config scenario)?*
    *2.in receiver determination,if we have to send to multiple receivers according to payload content(conditional passing to receiver depends on payload),**how we'll acheive it?*
    *3.what is file content conversion?*
    *4.why proxy is known as adpterless scenario?*
    *5.in case of idoc/proxy why sender side no communication channel but in receiver side we are using communication channel?*
    **6.what is CCMS alert?
    *7.in a file2file scenario,if we want to convert one file content to other file content in a different form(as x->1,y>2),*
    *how we'll acheive it?*
    *7.if lots of data checkings are there in case of SAP R/3,by whcih way we'll go?(idoc/proxy/rfc)
    *8.how we'll decide whether to go for SOAP scenario?*
    *9.what is adapter module?whan we'll go for different adapter modules other than standard?*
    *how we can develop our own adapter modules?*
    *10. how to map one field to other field,when they are present in different noad with respect to source and target strucrture?*
    Eagerly waiting for youyr valuable opinion.
    Regards,
    Rasmiraj Tripathy

    Do a search in SDN first for these questions.
    You will find the answers to the most.
    Else post specific questions

  • CCMSPING and auto-reaction alert

    Hi,
    helppppp....pleasee.....
    We have use our solution manager system as the central monitoring system (CEN) for the satellite system In this case, the ccmsping agent is running on the CEN. If the satellite system becomes unavailable, the CEN will automatically send out an email to the support team. How to configure this ? 
    Thanks,
    Mina
    Message was edited by: Mina Wirama

    Hi Mina,
    Have you gone though all the configuration of:
    -  Registering ccmsping to CEN
    -  Configuring via RZ21 >> Technical Infrastructure >> Availability Monitoring >> Configure CCMSPING Monitoring and then add the satellite system (See pdf below)
    -  Don't forget to add the Destination of Responsible CCMSPING on the bottom i.e. CCMSPING.<CEN host>.00
    If you have done this correctly you should see values in RZ20 >> SAP CCMS Monitoring Templates >> Availability and Performance Overview >> Availability.
    Then you assign a LOCAL auto-reaction method. A little confusing but it makes sense that availability monitoring is local on CEN. If the satellite system dies it can't say "I'm dead" so the ping is from CEN and therefore local.
    Also see http://service.sap.com/monitoring >> Monitoring in detail >> Availability Monitoring and Agent CCMSPING.

  • URGENT : Writing to UNIX file problem !

    Hi friends,
    I am stuck at a crucial point while uploading a UNIX file from ABAP program.
    I am using open dataset & then transfer to...the file path.
    But when I go and check the UNIX file it is split into 2 lines (it is supposed to be a
    record with 1 line with 1500 characters) ! It shows a maximum of 255 chars in one line.Moreover,while I download to a text file via Txn CG3Y,some data are missing or truncated etc.
    Please suggest how can I create a record with 1500 characters in UNIX and download it successfully with full data or how can I ensure proper data has been transferred as the record display is truncated.I checked the program its fine,only after transferring I get the problem.
    Thanks,
    Sandip.

    The files would not get truncated. The file actually exists in App. server but you will be able to see only uptil 255 characters. You can check the same by downloading it onto Pres. server by specifying  file type as BIN when you are downloading through CG3Y

  • Writing a symbol to UNIX file.

    Hi,
    I have requirement to hard code a small square like symbol
    to UNIX file of format MNL.Can we write the above symbol to
    UNIX file? If yes please give the procedure to do so.
    thanks in advance.
    Regards,
    ILam.

    I hope the ZZKTEX field is getting populated. Also check if the segment is crossing 1000 char and segment is released.

  • CCMS Auto-Reaction for custom Local Monitor Set in RZ20

    Since I am not able to modify any SAP made monitor sets I have had to make a copy of them and place them under a new heading and then I can add the systems I want to monitor.
    Once I make that copy though, I want to add an auto-reaction to the set but once I hit properties it uses my RFC connections and takes me to that system. It is unlike the SAP made ones were once I click Properties it stays within the Solution Manager system and allows me to choose an auto-reaction that I have setup.
    Either one of these will work for me, can I add systems to the SAP made sets or can I set an auto-reaction within Solution Manager to a copied set?
    Thanks.

    Hi,
    You can go to t-code RZ21-> Technical Infrastructure and disable the Central Monitoring. Also you can assign auto-reaction methods to your own monitor sets.
    Let me know which method you want to copy and I will send you the steps.
    Thanks and regards,
    Rinkal
    Edited by: Rinkal Salia on Dec 29, 2009 7:58 AM

Maybe you are looking for