on 2020 Jun 03 6:30 AM
Hello All,
We need one help to read PCo file monitor agent logs in MII. We are using PCo 15 version. Sometimes PCo file monitor agent status showing as Started but it is not processing the files. In logs, it is giving some errors. To fix this, we are manually checking the logs and restarting the agents. We saw these logs are written in Windows event logs files as SAP_0001 like this.
Is there anyway to read agent logs in MII? We checked WSDL web service of these PCo agent but no methods available to read the logs. How can we check this in MII?
Thanks,
Senthil
Request clarification before answering.
Hi Senthil,
Reg. the monitoring issue you are facing, have you tried with an auto-restart of PCO agent's from MII.
Below is the list of actions you need to achieve it.
1. Create a transaction in MII which calls the PCo WSDL.
2. Filter the WSDL response for getting all the agent instance name and state.
3. As per your required criteria, you can further get only those agents which are not working
for e.g. the agent's whose state is "Not Started" or "Starting"
4. Filter not working agent you can call the restart instance method available in the same WSDL
5. Set up a scheduled job in Mii which will automatically do the restart as per the interval set.
This should help you from manual monitoring and restarting the agent which is not working.
Hope this helps you.
Regards,
Swapnil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swapnil, this will not work as according to Senthil the agent instance doesn't go into a faulted state. In addition there is no need to do this in MII as it can all be done in PCo which is far more efficient. I wrote a paper on how to do this with PCo, email me and I can send you a copy if you are interested.
Thanks
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.