cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP PCo Notification for error logs

Former Member
0 Likes
599

Hi everyone is there any way by which we can trigger notification to MII whenever error is logged by PCo.

Basically i want to generate notification whenever an error is logged in PCo logs and pass the error details to called MII transaction.

Kindly share your views.

Accepted Solutions (1)

Accepted Solutions (1)

alexander_teslyuk
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi

Could you provide a sample of the error?

I assume that the transaction you call would be different in case you get or do not get an error. In other words you want to get some automatic alarm in case of PCo error.

If so, you should be able to manage some error alarm on OS level as PC errors are written to Windows Event Log.

Alternatively, you can consider a File Monitor Agent to monitor the corresponding PCo log file. Once there is an error, fire the corresponding Notification (i.e. call the other MII transaction).

Br, Alex.

Former Member
0 Likes

Hi Alex,

Thanks for the response but where can i find PCo log file, is it recommended if we access log files of PCo?. I am using Pco 2.1.7.2 could you please help me with the PCo log path.

Also how can we write a logic to call one transaction when there is no error log and call other transaction when error is logged under same notification?

I am looking to generate notification if and only if Event type id "Error" could you please help and suggest some way out.

Mahesh

alexander_teslyuk
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Mahesh,

You can save the Windows Event Logs to files in the specified directory. That would be the PCo Log files.

Once you set the Log severity for the Agent to Error, only errors will be written.

So, you may try to save PCo logs from the Windows Event Log to the specified directory and then handle them using PCo File Monitor agent

or

you can manage some notification system directly from Windows Even Log. Not by means of PCo.

Br, Alex.

Former Member
0 Likes

Hi Mahesh,

PCo versions before 15.0 store the log data in a SQLServerCE database table for each Agent Instance, there is no separate export. While it is technically possible to access the log files separately from the PCo Agent Instance, this access is not recommended as it could impact the logging activity for the Agent Instance. You can export the log to a CSV file, but this is not an automatic activity; it must be done from within Management Console.

I would recommend that you investigate an upgrade to the latest release of PCo. This will provide additional features as well as improved remote monitoring and control of PCo.  PCo is backwards compatible with MII versions back to 12.1.

Regards, Steve

Answers (0)