Send Alert in Tablespace
Hi Experts,
I need to monitor ORACLE Tablespaces through CCMS alert configuartion.There are 3 categories in the Monitoring node.Take Example PSAPSR3 as the tablespace.
Free Space
Used Space
Status
How to set the threshold value for the used space?I mean to say that if I need that above 95 % of used space system should send alert then how will I do that??
That information is widely available.
Read the documentation.
Do research before posting
Read the "Rules of Engagement"
Regards
Juan
Similar Messages
-
How to send alerts to DBA in RAC?
Hi All,
I have a 2-node 10gR2 RAC. How can we configure/setup to send alerts to DBA's when any tablespaces reached 99% or if there any problem?
Can anybody please help me?
Thanks,
Praveen.You can run this sql to get the tablespace which is greater then and equal to 98%
set pages 0
set serveroutput on
column tablespace_name format a30
column free_space format 9999999999
column used_space format 9999999999
column percent_used format 9999999999
SELECT Total.name "TABLESPACE_NAME",
Free_space,
(total_space-Free_space) Used_space,
total_space,
round(((Total_space-Free_space)/total_space)*100,2) percent_used
FROM
(select tablespace_name, sum(bytes/1024/1024) Free_Space
from sys.dba_free_space
group by tablespace_name
) Free,
(select b.name, sum(bytes/1024/1024) TOTAL_SPACE
from sys.v_$datafile a, sys.v_$tablespace B
where a.ts# = b.ts#
group by b.name
) Total
WHERE Free.Tablespace_name = Total.name
and round(((Total_space-Free_space)/total_space)*100,2) >= 98
order by round(((Total_space-Free_space)/total_space)*100,2) desc; -
Send Alerts(e-mail) for errors in SXMB_MONI(message mapping exceptions)
Good afternoon !
I´m configuring SAP Netweaver PI 7.0(SP13) to use Alert Framework to send Alerts when errors occurs in the interfaces processing.
I just achieved configure to send alerts when errors ocurrs in the Adapter Framework but, I can´t configure correctly to send alerts when errors ocurred only in SXMB_MONI(for example, message mapping exception in asyncronous interface).
I just followed the instructions at Michal Krawczyk
weblog(/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step) and, initially, this was not sufficient to start to send alert when errors occurs only on SXMB_MONI, so, I researched and found some configurations to do in CCMS(started from here: http://help.sap.com/saphelp_nw70/helpdata/en/e3/bf3b7a8ccb8040b638ff732c551aeb/content.htm), jobs to start events collectors, etc, and after this, I could see a mail for an message mapping exception. BUT, this message, sent from CCMS to ALM, doesn´t carry out all the message parameters, like message Id, sender(service, interface), receiver(service, interface), that is very important to help to find the message with errors to be solved.
There is somebody here that already done the Alert configuration to send messages for errors found only in SXMB_MONI(Monitor for processed XML Messages) ?
There is a better way to achieve this ?
Thank you for your attention,
Wilson Rodrigo dos Santos
SAP Netweaver XI/PI ConsultantHi
Go through these links and follow it.
ALERTS CONFIG AND STUFF
http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
XI: Alerts - Step by step
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
http://help.sap.com/saphelp_nw04s/helpdata/en/d0/d4b54020c6792ae10000000a155106/frameset.htm
Triggering by Calling a Function Module Directly.
/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
Alerts with variables from the messages payload (XI) u2013 UPDATED
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
Simple Steps to Get Descriptive Alerts from BPM in XI
/people/community.user/blog/2006/10/16/simple-steps-to-get-descriptive-alerts-from-bpm-in-xi
Triggering XI Alerts from a User Defined Function
/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
Throwing Smart Exceptions in XI Graphical Mapping
/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
/people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
/people/sravya.talanki2/blog/2006/11/22/error-handling-framework-xiout-of-the-box-episode-1
/people/ginger.gatling/blog/2005/06/16/integrating-alerts-into-uwl--its-no-problem
/people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3
/people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2
/people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1
http://help.sap.com/saphelp_nw2004s/helpdata/en/56/d5b54020c6792ae10000000a155106/content.ht
http://help.sap.com/saphelp_nw04/helpdata/en/2c/abb2e7ff6311d194c000a0c93033f7/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
check this links.
https://www.sdn.sap.com/irj/sdn/forums
Trouble shooting Alert configuration:
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
Alert Inbox
http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
Alert Notification Step-by-Step
http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
Defining Alert Classifications
http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
Triggering Alerts
http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
Setting up alerts
Setting up alerts in RZ20
Alert Management
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e04141e8-0f11-2a10-adaa-9d97b062c2df
Alert Notification
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90f449a8-a6db-2910-a386-d2b5999f5751
/people/matt.kangas/blog/2006/06/27/personalized-alert-delivery
Thanks
Saiyog -
Sending alert, gives an error but.......
Hi,
I'm sending an alert with the code bellow which was taken from the sample. I tested it and it did works ONCE but now for an unknown reason I get an error. First here's the code I'm using
I'm seinding to 3 recipients in the collection.
private static string _SendAlert(string Subject, string Body, string ColumnName, int ObjectType, string ObjectKey, SAPbobsCOM.Company oCompany, System.Collections.Generic.List<string> Recipients)
SAPbobsCOM.CompanyService oCmpSrv = null;
MessagesService oMessageService = null;
SAPbobsCOM.Message oMessage = null;
MessageDataColumns pMessageDataColumns = null;
MessageDataColumn pMessageDataColumn = null;
MessageDataLines oLines = null;
MessageDataLine oLine = null;
RecipientCollection oRecipientCollection = null;
try
oCmpSrv = oCompany.GetCompanyService();
oMessageService = ((SAPbobsCOM.MessagesService)(oCmpSrv.GetBusinessService(ServiceTypes.MessagesService)));
oMessage = ((SAPbobsCOM.Message)(oMessageService.GetDataInterface(MessagesServiceDataInterfaces.msdiMessage)));
oMessage.Subject = Subject;
oMessage.Text = Body;
oRecipientCollection = oMessage.RecipientCollection;
foreach (string RecipientName in Recipients)
oRecipientCollection.Add();
oRecipientCollection.Item(oRecipientCollection.Count - 1).SendInternal = BoYesNoEnum.tYES;
oRecipientCollection.Item(oRecipientCollection.Count - 1).UserCode = GetUserCode(RecipientName, oCompany);
// Don't add a document link if we pass -1 as parameter.
if (ObjectType != -1)
// get columns data
pMessageDataColumns = oMessage.MessageDataColumns;
// get column
pMessageDataColumn = pMessageDataColumns.Add();
// set column name
pMessageDataColumn.ColumnName = ColumnName;
// set link to a real object in the application
pMessageDataColumn.Link = BoYesNoEnum.tYES;
// get lines
oLines = pMessageDataColumn.MessageDataLines;
// add new line
oLine = oLines.Add();
// set the line value
oLine.Value = ObjectKey;
// set the link to BusinessPartner (the object type for Bp is 2)
oLine.Object = ObjectType.ToString();
// set the Bp code
oLine.ObjectKey = ObjectKey;
// send the message
oMessageService.SendMessage(oMessage);
return "";
catch (Exception ex)
return ex.Message;
The error message is :
This entry already exists in the following tables (ODBC - 2035)
[(----) 131-183]
Sorry but I don't know how to decode this error message to know which table and also I don't understand the ALERT system and why am I receiving this error and of course I don't know what to do to prevent this according to the code above or something else I don't understand.Hi,
Surprisingly, I indeed look in those table when I saw it in the HELP CENTER
and there was no entry in there. The tale was empty. But
I was sending alerts to 3 people, I deleted the 2 others that wasn't me ME means manager currently logged in SAP and when I did send an alert just to manager, it was working.
Maybe there's another table that have entry for the 2 other users I was sending an alert ?
Well, Seems that sending an alert just to manager was working. I will try to send to manager an another user then the 2 I was sending previously to see if it's because I'm trying to send to multiple recipient. -
Sending Alert Messages to File System
Hi,
I am trying to implement a scenario in PI which automatically processes alert message generated by the Alert Framework (the messages are processed in a message mapping). Therefore I am sending alerts via mail and receive these mails afterwards with an integration scenario PI. As this does not work if the mail server is offline I am searching for a possibility to send alert messages directly to the file system. Is there a way to do this? Or do you have any other suggestions how I could handle this problem?
Regards,
ChristianHI Christian,
The other option to get the alerts is to regster for SMS alerts to your mibile, in addition to the mail alerts.
Regards
Venkat -
Send alert as email to user in ECC
Hi Guys,
I have to send the alert as email to a user in ECC.
I do not have that user in PI, so how do I define the recipients?
Regards,
TejaHi Teja,
To send an alert email we should have atleast one communication user in PI. Please see the below discussion.
Sending alert email to non-PI user
Regards,
Priyanka -
Hello All,
I am working on sending alerts from PC, I followed below steps.
1. Go to ALRTCATDEF
2. Select classification "Process Chains"
3. Click on display/change
4. Double-click on "error in a process of a process chain"
5. Click on "fixed recipients"
6. Write in your username (you have to maintain your e-mail address in SU01 for that to work)
7. Save
8. Go to your process chain (rspc)
9. Go into edit mode
10. From the menu, select Process chain -> attributes -> alerting
11. Check "send alerts if errors occur".
I can see my message in Sost, The status is green but itu2019s not getting forwarded to my inbox.
Please let me know how to push the alert to my id.
Thanks,
Rakesh.Hi,
Check in SO01 whether you can send simple email message. if not than You have to set smtp address and profile parameters in
transaction SCOT in order to send email alert via process chains. Then right click on the last process in process chain and select send message to make an email alert message.
Hope it helps. -
Using Function module SALRT_CREATE_API i am sending alerts ..
Hi gurus,
i am using the Function Module SALRT_CREATE_API to send alerts.
i run the same F.M. in se37 with same input alert id is generated and in SOST i checked them.
but after using the F. M in program , alert id is generated, but in SOST i didn't find anything.
using alert id where i have to check those mails , kindly suggest me ..
Thanks & Regrads
kalyan.Hi,
Check the bellow thread as per your requirement.
How to use function module SALRT_CREATE_API to trigger alert in XI?
Regards,
Goutam Kolluru. -
Function module for sending alerts
Hi experts,
We are working on SRM 7.0 ,my problem is for RFX documnet,alerts are getting triggered for standard event but with same configuartion alerts are not getting triggered for RFX response when it gets submitted by the bidder.I have planned to implement Badi BBP_ALERTING but i dont know which FM to use for sending alerts.please help me out.
Regards
sonikaHi experts,
We are working on SRM 7.0 ,my problem is for RFX documnet,alerts are getting triggered for standard event but with same configuartion alerts are not getting triggered for RFX response when it gets submitted by the bidder.I have planned to implement Badi BBP_ALERTING but i dont know which FM to use for sending alerts.please help me out.
Regards
sonika -
How to send alerts to Pager/Fax
Hi all,
How to send alerts to Pager/Fax......
I know that this can be done by checking the checkbox SMS,FAX in alert inbox.
For receiving the Alert through Email,We define the Receipents in TCode ALRTCATDEF under fixed receipents.
Where does we provide the Pager number/Fax number /Mob number so that I can receive Alerts Even trough Pager and SMS.
Thanks,
SrinivasaGo to RWB->Alert Inbox->Personalize->Check SMS,
Go to SU01->UserId->Change->Give mobile number & Fax Number in Communication Area
G to SCOT -> Check weather SMS/Pager/Fax is configured or not
( It need to be Configured , Otherwise there is no medum to send the alerts to mobile,page,FaX ( Manditory))
Check out SAP Connect (SCOT).
http://help.sap.com/saphelp_me21sp2/helpdata/en/2b/d927734b8a11d1894c0000e8323c4f/frameset.htm
SAPconnect provides a standard interface for external communication, which supports sending with telecommunication services, such as FAX, text message (pager/SMS), Internet mail, and X.400, as well as sending to printers and between different SAP systems. It enables external communication components to be connected to the SAP system.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6d59590-0201-0010-5f9d-adb9f6b14d80 -
Failed to send Alert Message to Browser
We are gettign this problem intermittently when user click End or Hangup button. We are not triggering any alert on these events. Once the user get this problem, he /she has to reboot the system in order to come out of this error. I was looking SND forum and another place many people have reported the same problem and it it surprising that no one have clear idea why this problem happening. I would appreciate if someone have this problem and fixed it. I could not find any note related to this.
So I have already checked the SDN forun
Re: CRM 2007-IC Web Interface Message - Failed to send Alert Message to BrowserUnfortunately, we were unable to replicate and SAP was unable to investigate because of this. They did provide a bit of information in their response of Aug 6 I have included below. Hopefully that may help your situation reWgarding this message.
Our message expired (confirmed automatically) on Sep 20th. I have not had another report of this from our call centre since we applied the Support Packs (3,4,5) on August 16th.
2009-08-06 - 01:08:48 MST - Reply by SAP
Hello Donna,
Thanks for understanding the problem. Yes we know some customer getting
the message but when this error will come is very clear on the below
scenarios.
1. the customer uses https protocol and if the ssl is not correctly
configured then when they send an alert message / broadcast message the
message will appear.
2. Always when they a alert message is to be displayed/ or when sending
a broadcasting message / while clicking on the END button.
But this will happen always but not randomly.
So we will hope that the message will not come after you do an
upgrade.
Regards,
Kiruthika
2009-08-05 - 12:24:19 MST - Info for SAP by Donna Jackson
Unfortunately, we don't know how to reproduce this issue so it will be
very difficult to move forward until we understand what is causing it.
I was hoping the message might be familiar to someone at SAP Support
and SAP might provide some clues on what could be causing it.
We will be applying Support Packs 3, 4 and 5 in our Production
Environment in a couple of weeks and maybe that will make a difference
and this message will not appear again after that.
Thank you for your time and effort - you can put the message back in
our court after you read this and I will let it expire on the auto
close date - on the off chance that the issue pops up again after our
go-live with Support Packs, I will supply further info if I can prior
to the auto close date if we have reoccurence of the message. -
Sql Express Edition R2 can we send alert mail
Hi There,
We are using SQL 2008 Express edition R2. Can we send alert mail using sql services in SQL 2008 Express edition R2Hello,
Database Mail is not supported in the Express Edition; see
Features Supported by the Editions of SQL Server 2012
Olaf Helper
[ Blog] [ Xing] [ MVP] -
We have a program called Audit Wizard that we used with Windows 2003 that monitored all clients and alerted my department when a program was installed/uininstalled. since upgrading to windows server 2008R2, the program no longer works correctly.
So we are wondering if it is possible for Windows 2008R2 Domain Controllers, running at a 2008R2 forest and domain level) to be able to audit when a programs are installed/uninstalled on clients and send alerts to our Admins?
If so, How?
Thanks in advance for your help!
Pete MaciasHi Pete,
>>So we are wondering if it is possible for Windows 2008R2 Domain Controllers, running at a 2008R2 forest and domain level) to be able to audit when a programs are installed/uninstalled on clients and send alerts to our Admins?
As far as I know, group policy can't help us do this. If you are interested, we can take a look at System Center Operation Manager and ask for suggestions in the following SCOM forum.
Operations Guide for System Center 2012 - Operations Manager
https://technet.microsoft.com/en-us/library/hh212887.aspx
System Center Operation Manager
https://social.technet.microsoft.com/Forums/systemcenter/en-US/home?category=systemcenteroperationsmanager
Best regards,
Frank Shen
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Monitoring JMS and Sending Alerts
I am currently using OEM 10.2.0.5 to monitor an Oracle Service Bus (OSB) instance. That OSB instance contains a JMS Server, which is used to receive JMS messages at various queues. I would like to be able to monitor the message input on these queues. For example, I would like to know if I don't receive any messages over a certain period of time.
In the OEM admin console, I select the Oracle WebLogic Managed Server, then I select "Metrics and Policy Settings". I don't see any options to set threshold values for anything JMS related. However, if I select "All Metics", I see JMS Server related metrics, but they don't have threshold levels set.
How do I set threshold values for JMS related metrics so I can send alerts?
-TJAm in the same boat man. Using WebLogic 10.1.
What I found from Oracle was that JMS metrics are NON-THRESHOLDABLE. I was like...what the **#@$$ ?!?!
What is the point in collecting so much metrics data when you cannot put thresholds on them and map them to notification rules.
For management & monitoring of middleware components like WebLogic, OSB/ALSB, ALDSP,etc EM 10g sucks man.
Cheers-
Amit -
Hi All,
I am sending alert email in case of failure using component based alerting. My requirement is to send alert user through SMS. I have got SMS service provider how has given API for sending message.
How to use achieve the functionality. please suggest.
Thanks in advance.Hi Gagandeep,
I am not using alert framework but using component based message alerting. When i tried opening personalize alert it is giving error
The following error text was processed in the system:
BSP exception: Application sap/alertpersonalize_rules cannot be started. Create an application node using Transaction SICF.
And in SICF, service alertpersonalize_rules is not there.
Thanks
Maybe you are looking for
-
Did you know: Photoshop and Keynote
I never knew this, maybe you have....maybe you have not. So here I go: I always converted my Photoshop designs to JPG or PNG by using the export options in Photoshop. Not only did that require more work and time, it also poluted my system with lots o
-
How to handle the more than once from the same jsp files
Hi, i have a one jsp file with three buttons.each one having for different functionalities. like one for cancel, second for edit the values and third for save the values in databse. so i want to handle all these 3 buttons. how can test that which but
-
Oracle Developer Tools Stored Procedures with input parameters.
I have created packages with stored procedures that contain input parameters. Am I required to write my own VB code in visual studio .net to define input parameters and their values in using these packages or am I able to drag and drop the packages a
-
Declaration of constant errors
I'm having a bit of a problem here. I just changed my variables into constants, and I'm getting errors on it. I can't pin point the problem can someone help me out. public class MazeException extends Exception final String message; final Thro
-
Permissions problem on network computer
Hi, I changed the preferences on my laptop, so that the itunes library it should be looking for is on another pc which is on the same wireless network. That PC is where I am keeping all my music. I have the library shared in iTunes, and also have the