Discussion

How to automate the monitoring of prpc agents

Hi All,

We are currently facing an issue of PRPC agents getting freezed often i.e. not running on the scheduled intervals causing issues in movement of data. Is there any way by which the monitoring of agents can be automated? i.e someway by which a heartbeat can be sent out by the agents to a patrol, and if this heart beat is not observed as per the scheduled intervals then it is flagged on the bem logs something like this. Can anyone assist me if they have worked on something like this please. Thanks.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

August 20, 2011 - 12:34pm

Write one activity
in the activity you need to write a java step to access AgentUtils interface.There are lots of useful methods like:
isQueueEnabled(java.lang.String aRuleSetName, int aQueueNumber)
restartQueue(java.lang.String aRuleSetName)
terminateQueue(java.lang.String aRuleSetName)

populate the data in a page and display the result.

Now the major question pops up..how to automate this?
what i can think of right now is an AGENT.
this agent will run this activity periodically to refrshh the data.
but i'm not sure what if this agent comes to a abrupt stop..[:)]

August 22, 2011 - 9:43am

Hi
Utility built based on the above APIs which monitors other agents.This is an agent itself.
This is in our production and doesnt stop with an error.

Pega
August 23, 2011 - 7:13pm

You could use AES. It provides a number of capabilities around monitoring the health of your system.

Rob Dunie

quote:


Originally posted by SPEARHEAD

Hi
Utility built based on the above APIs which monitors other agents.This is an agent itself.
This is in our production and doesnt stop with an error.

August 24, 2011 - 9:59am

But AES doesnt come with pega product you have to purchase it.I wish it shud be part for Core product.

August 28, 2011 - 2:03pm

Hi,

Thanks for the replies provided. In fact, we are not able to get AES due to certain project constraints. We are trying to put a monitoring on the back ground java process which runs for the prpc agents. So, whenever there is a process failure an alert can be configured to indicate the issue with the agents. Now, having the server as Websphere, can anyone please let me know how to identify the right java daemon/process running for agents so that we can put a monitoring on them please.In other words, how to identify the java thread which is responsible for running the Agent manager which in turn scedules the agent operations. Kindly advice. Thanks.

March 16, 2016 - 2:17pm

Hi

anyone could able to do this? Please reply

 

Thanks,

Kousik