No Values Updating in DB02 Alert Monitor
Dear Experts,
I have an issue with my ECC6 system that in DB02 Transaction > Alert Monitor > Performance . The values for IO,Cache ,CPU etc are not updating since 29.04.2011 . I have checked the OS Collector, Other Perf jobs, all are running fine.
My OS is windows 2008 and DB is MS SQL 2008 .
Can anyone shed some lights where to check and how to resolve it.
Regards,
NIbu Antony
Hi Vivek,
Thanks for the reply.
OS07N is getting updated . I found the report RSDBMON0 , and run the same and it fetches the performance data.
But the issue is , I have to run it manually, then only its getting updated daily. Does anyone know the standard program for the same (report RSDBMON0)? Once I run the report in SE38, the performance getting updated for that date.
Also, I have another warning in DB02 > health . I.e Linked Server Exist . Can anyone shed some light on the cause and resolution of this warning .
Regards,
Nibu Antony
Similar Messages
-
Hi,
My system is :
SAP ECC 6.0 EHP 5 last SP available.
Database Oracle 11G 11.2.0.2.0
In transaction DB02 , Alert Monitor , Profile Parameters, there is a red alert in "compatible "
value : 11.2.0 <> 10.2.0
How can i corret this red alert ?
Also in DB02 , Space Management, Segments , Mosta Allocate extents in any segments, has red alert.
How can i fix it ?
Thanks.Hello,
these checks are performed with settings as per DB17.
http://help.sap.com/saphelp_nw70/helpdata/EN/25/5215e970077e4fb366e5ce25629aac/frameset.htm
In transaction DB02 , Alert Monitor , Profile Parameters, there is a red alert in "compatible "
value : 11.2.0 10.2.0
How can i corret this red alert ?
If your DB is 11.2.0 10.2.0, please update check condition in DB17
Also in DB02 , Space Management, Segments , Mosta Allocate extents in any segments, has red alert.
Note 666061 - FAQ: Database objects, segments and extents
http://help.sap.com/saphelp_nw04s/helpdata/en/25/5215e970077e4fb366e5ce25629aac/content.htm
thanks
ashish -
In Alert Monitor - Is it possible to add Price or Cost as Column Value?
Hey Folks
I am trying to define a methodology to manage and work on the exceptions in the Alert Monitor,
and I would like to carry on the ABC analysis based on Price or Cost?
The alert monitor was defined prior to my time on this latest project.
Would it be simple to add or difficult to link the price from values from whatever table they come from,
to show as column fields? so they ABC analysis can use that column as the Ratio one?
If anyone think this is feasible let me know.
thanks for your feedback
JD LoeraHello!
Awesome, thanks for the response, I will put that in my project list and will link with the Basis/ABAP team.
Cheers!
Business Procees note to all out there in *APO DP Business Processes and Planning.*
If you use the alert monitor, as you know you can define there macro generated alerts and analyise through the variances from Target and Actual Values.
Also, you can still use the ABC analysis there, to identify A B C of the results that you get ( in the example above, % of variance )
However, from a Business Process bang for your buck and time. By adding the Material Cost or Price, the Demand Planner or SNP Planner can also do the ABC analysis based on the price as well, and really then identify the items with higher value to work with,as those are important to always keep in check. (ABC from the fiancial point of view so to speak)
Cheers all, worth to think about for your own Alert Monitor processes.
JD Loera -
Raising event when value for a parameter in alert monitor changes
Hi All,
We are using Redwood Cronacle version 7 and have connected it to SAP solution Manager System to get the central monitoring data. Now we want to raise a particular event whenever value for a specific parameter in alert monitor gets changed.
I had a look of already present functions in JCS_MON package, but was not able to find any pre-existing function.
Any pointers on how to achieve this...
Thanks a lot.
Best regards,
VithalprasadHi Anton,
Thanks for your reply. We want the event to be raised on one of the parameters which is coming from SAP solution Manager. This event is required to be raised every time the value of that parameter gets changed from its current value. So it is not possible to define some severity where value can be defined.
One way can be to store the previous value in one custom table in repository and keep on checking with the present value. Once the difference is found then raise the even & replace the current value with the new value. But just want to know if there is some better solution for this.
Thanks a lot.
Best regards,
Vithalprasad -
Database check error on DB02-- Alert
Dear All,
We found the below errors on DB02 -->Alert .
E 22.12.2010 12:02:31 10 DBA MISSING_INDEX 1 Table: SAPSR3.ZBIMIS # Table has no index
W 22.12.2010 12:02:31 0 DBO ARCHIVE_TOO_OLD 1 Operation: 'Archive log backup' has not been run # Operation too old or has not been run in clean-up period
W 22.12.2010 12:02:31 0 DBO BACKUP_TOO_OLD 1 Operation: 'Complete database backup' has not been run # Operation too old or has not been run in clean-up period
W 22.12.2010 12:02:31 6 DBO OPERATION_TOO_OLD chk 1 Operation: 'chk' has not been run # Operation too old or has not been run in clean-up period
W 22.12.2010 12:02:31 6 DBO STATS_TOO_OLD 1 Operation: 'Update optimizer statistics' has not been run # Operation too old or has not been run in clean-up period
W 22.12.2010 12:02:31 6 ORA 00060 5 Time: 2008-11-07 21.41.35, line: ORA-00060: Deadlock detected. More info in file /oracle/IRP/saptrace/usertrace/irp_ora_606586.t
E 22.12.2010 12:02:31 6 ORA 00376 100 Time: 2008-09-26 17.34.39, line: ORA-00376: file 1 cannot be read at this time
E 22.12.2010 12:02:31 6 ORA 00470 2 Time: 2010-02-25 05.34.41, line: ORA-470 signalled during: ALTER DATABASE DISMOUNT...
E 22.12.2010 12:02:31 6 ORA 00471 3 Time: 2008-10-10 18.05.57, line: ORA-00471: DBWR process terminated with error
E 22.12.2010 12:02:31 6 ORA 00474 1 Time: 2010-03-10 04.47.53, line: ORA-00474: SMON process terminated with error
E 22.12.2010 12:02:31 6 ORA 00600 2 Time: 2010-02-12 11.41.38, line: ORA-00600: internal error code, arguments: [1433], [60], [], [], [], [], [], []
E 22.12.2010 12:02:31 6 ORA 01113 10 Time: 2008-11-28 18.38.28, line: ORA-1113 signalled during: ALTER DATABASE OPEN...
W 22.12.2010 12:02:31 6 ORA 01555 1 Time: 2010-09-08 10.01.09, line: ORA-01555 caused by SQL statement below (SQL ID: 6cbacdfn457j9, Query Duration=57100 sec, SCN:
E 22.12.2010 12:02:31 2 ORA 01652 4 Time: 2010-12-20 10.41.41, line: ORA-1652: unable to extend temp segment by 128 in tablespace PSAPTEMP
E 22.12.2010 12:02:31 6 ORA 01653 100 Time: 2010-12-09 16.17.30, line: ORA-1653: unable to extend table SAPSR3.BALDAT by 128 in tablespace PSAPSR3
E 22.12.2010 12:02:31 6 ORA 01691 20 Time: 2010-12-09 16.10.05, line: ORA-1691: unable to extend lobsegment SAPSR3.SYS_LOB0000072694C00007$$ by 128 in tablespace
E 22.12.2010 12:02:31 6 ORA 16038 100 Time: 2008-10-26 13.55.06, line: ORA-16038: log 4 sequence# 1472 cannot be archived
E 22.12.2010 12:02:31 6 ORA 19502 100 Time: 2008-10-26 13.55.06, line: ORA-19502: write error on file "/oracle/IRP/oraarch/IRParch1_1472_664127538.dbf", blockno 79873
E 22.12.2010 12:02:31 6 ORA 19504 1 Time: 2009-07-09 17.34.49, line: ORA-19504: failed to create file "/oracle/IRP/oraarch/IRParch1_14699_664127538.dbf"
E 22.12.2010 12:02:31 6 ORA 19510 11 Time: 2008-10-26 14.17.54, line: ORA-19510: failed to set size of 85896 blocks for file "/oracle/IRP/oraarch/IRParch1_1473_66412
E 22.12.2010 12:02:31 6 ORA 27044 1 Time: 2009-07-09 17.34.49, line: ORA-27044: unable to write the header block of file
E 22.12.2010 12:02:31 6 ORA 27063 100 Time: 2008-10-26 13.55.06, line: ORA-27063: number of bytes read/written is incorrect
E 22.12.2010 12:02:31 6 ORA 27072 2 Time: 2009-06-20 11.03.58, line: ORA-27072: File I/O error
W 22.12.2010 12:02:31 9 ORA Checkpoint not complete 100 Time: 2008-08-29 22.02.36, line: Checkpoint not complete
W 22.12.2010 12:02:31 10 PROF LOG_BUFFER 1 Value: 14238720 (>< 4096,512 KB) # Size of redo log buffer in bytes
W 22.12.2010 12:02:31 10 PROF OPTIMIZER_FEATURES_ENABLE 1 Value: 10.2.0.1 (set in parameter file) # Optimizer plan compatibility parameter
W 22.12.2010 12:02:31 10 PROF OPTIMIZER_INDEX_COST_ADJ 1 Value: 20 (set in parameter file) # Optimizer index cost adjustment
E 22.12.2010 12:02:31 10 PROF REPLICATION_DEPENDENCY_TRACKING 1 Value: TRUE (<> FALSE) # Tracking dependency for Replication parallel propagation
W 22.12.2010 12:02:31 10 PROF STATISTICS_LEVEL 1 Value: TYPICAL (set in parameter file) # Statistics level
W 16.12.2010 08:31:09 6 DBO LAST_ARCHIVE_FAILED 1 Operation: aeeuepco.cds, time: 2010-12-15 15.53.58 failed with rc = 5 # Last archive log backup failed with rc = 5
W 16.12.2010 08:31:09 6 DBO LAST_BACKUP_FAILED 1 Operation: beeuekuv.anf, time: 2010-12-15 15.05.33 failed with rc = 5 # Last complete database backup failed with rc = 5
W 13.12.2010 08:29:12 10 DBA TABLESPACE_FULL 1 Tablespace: PSAPSR3, value: 96.96% (> 95%) # Tablespace full
E 12.12.2010 00:22:33 10 DBA MISSING_STATISTICS 1 Table: SAPSR3.ZMATCOMP # Table or index has no optimizer statistics
Kindly adviseDear,
your first error -->MISSING_INDEX ,so create table index to help APAPER,
2& 3->ARCHIVE_TOO_OLD,your system online/offline redo log backup not take for long time so...
4-->DBO STATS_TOO_OLD ,throw db13 to run database/stats update job(daily seclude) ,
regard
vinod -
CCMS Operating System Alert Monitor for Filesystem
Hi,
In alert monitor set for operating system, for some filesystems the freespace & percentage_used were showing zero and saying value is obsolete.
But those filesystem were existing with some space used in it.
How to make that particular filesystem alert to reflect the space which is used.
Please advise.
Thanks in Advance.
Thanks
Arun.Hi Sunny,
Thanks for your quick response.
For OS file alerts oscol.ini is responsible. But i am getting the same prob with most of the alert monitor.
Those are collected the data some weeks ago. Not reflecting the current status.
Eg: CPU_Utilization Alert also showing last week date and showing the current utilization.
Is there any other program need to be run to get those alert monitor set to get update.
Please advise.
Thanks
Arun -
Hy SAP SCM gurus,
A very good day to all.
How to change the percentage variance is calculated in the alert monitor report.
We are using the formula in - Target-Actual/Target in absolute value.
Now we want to change the formula Is it possible? If possible could you please explain us how to change the formula?
Thanks in advance
Warm Regards
S Arun PrasathHy,
Thanks for your earlier update,
Actually we are using - ABS ((Act. Val. - Targ. Val.) / Targ. Val. * 100)
We would like to calculate this value following another formula:
% = ABS( 1 + ( Act. Val. - Targ. Val. ) )/ Targ. Val. * 100
How could we define the new formula for the alert?
Regards
Arun Prasath -
Short dump while running Alert Monitor
Hi,
I am getting a short dump while determining alert in Alert Monitor through T. Code /SAPAPO/AMON1. The error says as below:
Runtime Errors BCD_NO_SIGN
Short text : A packed number contains no sign.
What happened? : Error in the ABAP Application Program, The current ABAP program "SAPLKKBL" had to be terminated because it has come across a statement that unfortunately cannot be executed.
Information on where terminated : Termination occurred in the ABAP program "SAPLKKBL" - in "FB_OUTTAB_SORT2".Hi Axon Generic,
Please checkon the following
1) In the overall profile of alert monitor, check the relative
time interval whether specified correctly
2) Under the alert profile in Overall profile, check the
threshold values are defined correctly
3) Check the SAP Note 151709 , 189061
Please confirm your findings.
Regards
R. Senthil Mareeswaran. -
Navigation attribute in the Alert Monitor
Hi All,
In the alert monitor in SAP APO the display table contains only characteristics and not the navigational attribute.
Is there any way through which we can display the navigational attribute also?
Thanks,
DianaDiana ,
This is how we handled it when we had a situation similar to yours. Since the navigational attribute was also a BW info object , we pulled the value for the navigational attribute to APO-BW . We then put custom logic in the BAdI to pull data for the navigational attribute and display the same in the alert monitor.
Your ABAP team should be able to help you in putting the custom logic in the BAdI . To save the value to the info object you need to have an idea about APO-BW.
Thanks
Saradha -
CCMS Alert Monitor (edit monitor-configuration.xml. ?)
Hi Friends
I'm trying to change the default polling time for the CCMS Alert Monitor, 5 minutes instead of 30 minutes.
In http://help.sap.com/saphelp_nwpi71/helpdata/en/e5/5d1741b393f26fe10000000a1550b0/content.htm you can read:
Accuracy
The default polling period for the monitor is 30 minutes. If you want to have shorter polling periods, you can change them in the SAP NetWeaver Administrator as follows:
1. Choose Availability and Performance Management ® Resource Monitoring ® Java System Reports (alias: /nwa/java-sys-reports).
2. Select an arbitrary Number of errors entry in the monitoring tree of the Adapter Engine (leaf node).
3. Choose Configuration in the right-hand pane.
4. Choose Edit in the dialog box that appears.
5. Change the polling period to 5 minutes, for instance.
6. Choose Save and wait until saving is finished (be patient, since this may take a while).
7. Choose Configuration Management ® Infrastructure Management ® Java Configuration Browser.
8. Choose apps ® sap.com ® com.sap.aii.af.app ® Monitoring Configurator ® monitor-configuration.xml.
9. In the xml file, change the polled-by-template period to the same value as above, for example, 5 minutes.
10. Save the modified xml file.
11. Choose Operations Management ® Infrastructure Management ® Start & Stop ® Java EE Services to restart the Monitoring service to apply the changes.
But in step 9, the xml file I've found in my PI 7.1 (SP6) is this:
<monitor-configuration>
<monitor-semantics />
<monitor-tree />
</monitor-configuration>
Also, there is no way to modify that file, you can only display it or download it.
can anyone tell me how to edit the file.
regards
rajaHi Raja,
This is the same as doing the following:
You can locate the monitor-configuration.xml file in the SDA com.sap.aii.af.app.sda (inside META-INF folder). You can find this SDA in the install directory of PI installation. In this XML file please locate and edit the following tag:
<template-info template-name="SAP_XIJ2EE_RCRDS">
<polled-by-template period="30" unit="MINUTE">
<generating-resource
name="com.sap.aii.utilxi.rtcheck.mx.standard.XIJ2EEComponentMBean" type="APPLICATION"/>
<template-attribute-mapping>
<invoked-resource-method name="getMonitoringRecords"/>
</template-attribute-mapping>
</polled-by-template>
</template-info>
Change the above to the following *************
<template-info template-name="SAP_XIJ2EE_RCRDS">
<polled-by-template period="5" unit="MINUTE">
<generating-resource
name="com.sap.aii.utilxi.rtcheck.mx.standard.XIJ2EEComponentMBean" type="APPLICATION"/>
<template-attribute-mapping>
<invoked-resource-method name="getMonitoringRecords"/>
</template-attribute-mapping>
</polled-by-template>
</template-info>
The main change is the polled-by-template value from 30 mins to 5 mins as per your req ******
Construct back the SDA (you can search SDN for that) with this edited XML and then redeploy this SDA with the help of JSPM tool.
This will re-start the PI Server for the changes to come into effect.
I hope this helps.
PS: You can consult your BASIS consultant to locate this sda and re-deploy it on PI Server.
Regards, Gaurav. -
Hi APO Experts,
I have a Planning Book/Data View which has 4 macros generating standard status alerts for the same book/view under different situations. Now when i create an over profile and an sdp profile for this book/dv and do the redetermine alerts after ruuning those macros in bg. Am not able to see all the alerts listed in the alert monitor even though scenario calls for the alerts to generated.
PB/DV --XX
Macro 1-- for KF1
Macro 2 -- for KF2
Macro 3--for KF3
Macro 4--for KF4.
After running the macros in the bg, when i load the selection in the pb, even though i see that for all the kf values populated in the pb should have created the alerts. i am not able to see those in the alert monitor. Please help me , where i am missing the link in setting up the alerts for the same planning book/dv having multiple macros generating the alerts.
Kindly help me, as we r in the testing phase and am not able to find a fix for this.
Kind Regards,
SanjeevHi,
First of all , Assign the SDP profile in the interactive planning book by the dropdown menu and check by running the macro in interactive planning book that whether the alerts are generated in interactive view.
If the alert are generated in interactive view , then the issue could be due to default macros not included in your backgtround running step. Include the default macros in the background job as the first step.
If the alerts are not generated in the interactive view itself, then check for below points:
a) If the KF values fits into condition defined in alert macro ?
b) Are the KF , alert condition and planning book / data view defined inside the alert step same as required. Sometimes if you copy the alert macro from other planning book / DV macro then inside the alert step , the pb/dv remains old.
c) Are the PB/DV defind in alert profile same as required ? Is there any threshold maintained for alert ? Is the selection profile correctly maintained inside alert profile ?
I hope it should resolve your issue.
Let me know if it helps.
Regards
Gaurav -
Satellite L500-1XD - cannot find an update for PC health monitor
This TBS advises updates to PC health monitor and HDD/SDD alert.
HDD/SDD alert has a published update in the relevant downloads section but I cannot find an update for PC health monitor.
Any one got any bright ideas ?
Otherwise this seems quite a balanced system.Hi Paolo30,
Thanks for your contribution. I agree with your model designation
I would like to download ver 1.5.6.0 but it does not seem to be listed on the download list (Two and a quarter pages long) for the L500-1XD on the Toshiba-Europe website. I am using I.E.8
Where are you seeing this listed ? Could you give me a URL please ?
It is an important update as it resolves a conflict between video streaming from HD and SMART HD messages as described in the TSB.
The only upgrade that is tagged as 1.5.6.0 is the Bullitin Board and this does not sound like the correct type of application. There was obviously a major update on 21/6/2010 there are 30 odd updates with that date.
Kindest Regards -
Reporting communication channel errors in emails from alert monitoring
Does anybody know how to capture the error message reported on the communication channel and send it in the dynamic text of the email configured for alert monitoring?
I get the mapping error messages but all other message container element values seem to be blank.
None of the container elements (standard) defined seem to have the channel error message. in PI 7.0
ThxHi,
You can get all the alerts that were captured by the adapter monitoring i.e, communicaiton channel errors etc.
we can also trigger similar alerts for Adapter also when any adapter truns in to RED.
in RWB->Alert configuration-> choose adapter engine errors also then you will get alerts for adapter failure also.
If you need create alerts for each communication channel. in RWB->Alert montoring->Adapter type-> instead of giving * select indival commnication channel
for this you need to have alter configured for each Commnication channel in Alrtcatdef and RWB. so for each in RWB you select corerspoding communication channel.
You can monitor the sender and receiver service in CCMS, but I don't think you can monitor the commuication channels.
http://help.sap.com/saphelp_nw04/helpdata/en/45/e32b64f87c6f74e10000000a1553f6/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/90/4e313f8815d036e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/28/83493b6b82e908e10000000a11402f/frameset.htm
Thanks
Swarup -
Hi Friends,
I have installed the Netweaver Full ABAP Preview edition in a WinXP system and trying to setup CCMS locally. Currently I don't see any data under the Alert Monitor(RZ20). I just see the tree elements but no monitors under them. What do I need to do to get data in the tree. Below are some of the steps that I have tried after reading some documentation
1. Created CSMREG user
2. Created CSMCONF file
3. Tried to register the CCMS agent by executing sapccmsr.exe -R. But after I provide the password for CSMREG user the process quits with the below error
ERROR: Registration failed: Can't get version of NSP.C_CALL_FAILED. RFC Error Info for SALS_MS_GET_LOCAL_MS_INFO
Even tried with the command sapccmsr.exe -R pf=<path to the profile file> but it quits at once with the error Cannot open Monioting Segment 99 MoniSegmentSize too small
I believe the Netweaver Preview edition has all the CCMS agent installed.
Can someone please help me with setting up the Alert Monitor.
Regards,
JagannathHi Gary,
Here's mine
C:\SAP\NSP\SYS\exe\run>sapccm4x.exe -v
CCMS version 20040229, 32 bit, multithreaded, Non-Unicode
compiled at Jul 12 2006
systemid 560 (PC with Windows NT)
relno 7000
patch text patch collection 2006/3, OSS note 914721
patchno 68
intno 20050900
running on APP-XP3 Windows NT 5.1 2600 Service Pack 2 Intel 801586 (Mod
2 Step 4)
C:\SAP\NSP\SYS\exe\run>"disp+work.exe" -v|more
disp+work information
kernel release 700
kernel make variant 700_COR
DBMS client library
compiled on NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10
compilation mode Non-Unicode
compile time Jul 12 2006 23:00:08
update level 0
patch number 68
source id 0.068
supported environment
database (SAP, table SVERS) 700
operating system
Windows NT 5.0
Windows NT 5.1
Windows NT 5.2
Regards,
Jagannath -
Hi
I've been trying to build an alert monitor in PHP that gets data from the CCMS. I'm new to SAP but not to PHP.
The saprfc works just fine and I'm able to test function modules with the saprfc_test.php. I've seen the tutorial on how to get alert data (CPU utilization) from the CCMS. And it works fine. So what's the problem you ask?
If anyone here have tried the SAP CCMS plugin for Nagios they know that all you need (almost all you need) is to provide the long name of the MTE e.g SID\system_SID_01\R3Services\Background\AbortedJobs and you get the alert message that you see in RZ20.
I've found several function modules that gives me the value of a monitor leaf node, but only the ones with a number as a value (percent CPU usage, MB disk space left +++). If I try to get data from e.g AbortedJobs i get nothing.
I've found one function module that gives me the data that e.g AbortedJobs shows (SALR_MTE_STAT_MSG_READ_CUR_VAL) but this one won't of course show leaf nodes with numbers...
The nagios plugin uses:
BAPI_SYSTEM_MON_GETTREE
BAPI_SYSTEM_MTE_GETMLCURVAL
BAPI_SYSTEM_MTE_GETPERFCURVAL
BAPI_SYSTEM_MTE_GETSMVALUE and
BAPI_SYSTEM_MTE_GETTXTPROP
I'm having trouble trying any of these in my test application. The return array is:
Array
[TYPE] => E
[ID] => RA
[NUMBER] => 346
[MESSAGE] => Problems accessing database (function 'BAPI_SYSTEM_MTE_GETMLCURVAL')
[LOG_NO] =>
[LOG_MSG_NO] => 0
[MESSAGE_V1] => BAPI_SYSTEM_MTE_GETMLCURVAL
[MESSAGE_V2] =>
[MESSAGE_V3] =>
[MESSAGE_V4] =>
[PARAMETER] =>
[ROW] => 0
[FIELD] =>
[SYSTEM] =>
Someone have to have tried to build a custom CCMS monitor of some sort?
My idea is that the leaf nodes I want to pull from the CCMS is defined in an XML file:
<SYSTEM>SolMan</SYSTEM>
<MONITOR>Aborted Jobs</MONITOR>
<MEASUREMENT>-</MEASUREMENT>
<MTSYSID>SID</MTSYSID>
<MTMCNAME>system_SID_01</MTMCNAME>
<MTNUMRANGE>032</MTNUMRANGE>
<MTUID>0000000003</MTUID>
<MTCLASS>102</MTCLASS>
<MTINDEX>0000002308</MTINDEX>
<EXTINDEX>0000000050</EXTINDEX>
and then I can list them as I want on the screen.
I really hope someone can come with some pointers and shed some light on this. It would be much appreciated.Ok, at least now I have something working. But it has its limitations. This could probably be written as a wiki entry, but I don't feel that the code is ready for the public yet. This is used against our Solution Manager which monitors all other systems.
This is how I have build it:
Everything I want to monitor is defined in an XML file
<monitor>
<System>
<SID>
<set>
<MONITOR>Shortdumps</MONITOR>
<TYPE>alert</TYPE>
<MTSYSID>SID</MTSYSID>
<MTMCNAME>system_SID_01</MTMCNAME>
<MTNUMRANGE>010</MTNUMRANGE>
<MTUID>0000001797</MTUID>
<MTCLASS>102</MTCLASS>
<MTINDEX>0000000174</MTINDEX>
<EXTINDEX>0000000008</EXTINDEX>
</set>
</SID>
</System>
</monitor>
where you have as many customers as you want, each customer has of course several systems (CRM, ERP, BW) and within each system everything that should be monitored is defined within the <set> tag. <MONITOR> is a label defined by the user, <TYPE> can be alert, disk or availability. This is only for grouping similar monitors together and list them as I want.
The rest inside the <set> is information SAP needs.
If a monitor set is disk or availability I call the
BAPI_SYSTEM_MTE_GETPERFCURVAL
to get the integer value (e.g. 3454, as in 3454MB free disk space).
No mater what kind of type the monitor is I call
BAPI_SYSTEM_MTE_GETGENPROP
to get the alert value (1,2 or 3).
For now I'm only interested in yellow or red alerts so if the alert level is >1 I call
BAPI_SYSTEM_MTE_GETALERTS
to get the alert data I need to look up the alert message.
The alert message is taken from
BAPI_SYSTEM_ALERT_GETDETAILS
The results are written to an XML file with the same structure as the input XML file except the data inside the <set> contains the data I want to show.
<monitor>
<System>
<SID>
<set>
<MONITOR>Free Data Space</MONITOR>
<TYPE>alert</TYPE>
<ALERT>3</ALERT>
<MSG>Some message from SAP CCMS here</MSG>
<ALRELEVVAL>the integer value if type is disk or availability</ALRELEVVAL>
</set>
</SID>
</System>
</monitor>
Now that I have the data I can list it any way I want. E.g. grouping everything with type disk together to have an own place on the screen with disk monitoring or listing all alerts within the same System and SID.
This is of course not an optimal solution. Right now I have 56 monitor sets which takes about 20 seconds to check even though the SAP system is on the local network. There are also no alerts in the system right now so none of the function modules within the IF alert > 1 are checked either. If there are a lot of alerts the time will increase drastically. Guess I need to ask an ABAP person...
Any ideas / improvements are appreciated
Maybe you are looking for
-
Hi friends The client requirement is to calculate payroll based on 26 days flat. I am sure we will face issues in the month of February where we have only 24 working days and month like March(27 days), April(25 days), May(27 days) and August(27 days
-
I can log on to my email addresses and can see my inbox button but nothing happens when i click on the button on any of my 3 email addresses. Talk talk support has gone through everything with me and says all ok there end they can access my emails an
-
Elements 12 Beginner, Understanding Saving PSD Photos and Downloading Them
Why is it that when I save an edited photo to my computer files, a psd, the photos don't show up properly and I am unable to download psd to iPhone, flashdrive etc.? Please Help! I have just purchased Adobe Photoshop Elements 12.
-
hi everyone, we have old archiving software, this sw store the documents on oracle 9i db, we want to develope this application but when we open the path where documents is stored inside the oracle db folder; we see it as file extension which means it
-
JBO-26000: a generic exception error message
Hi, I followed every step of the single table DBServlet tutorial, and the recommended deployment procedure as per the guide. I'm getting the following error when I run the DBServlet1 from Java Web Server 2.0 "JBO-26000: a generic exception occured du