We are running through an issue where agents are down frequently and every time we have to login to SMA to start. We would like to implement automated solution which can monitor agents in all nodes and can send a notification if agent is down or got exception. I saw in forums we can achieve it by using AES, but we don't want to use it for now. Any help will be much appreciated. We are using PRPC 6.1SP2, OS-AIX and installed on WAS 7x Thankyou.
***Edited by Moderator Marissa to update categories***
The following ways you can monitor agents outside of SMA and AES is
a- monitor agent status from an external application that use appropriate remote JMX protocol for your platform to call PRPC, execute the agent status mbean and interpret the XML results.
The command-line jmxterm will work as an example.
b- monitor agent status from an external application that calls a PRPC SOAP or HTTP service. In the public API there is an agentUtils object can provide you with access to current agent status. See step 1 of activity pzCheckSearchAgentStatus (below)
c- monitor agent status from an external application that calls a PRPC SOAP or HTTP service that uses the pega API method to call the agentStatus mbean methods. In the AESRemote ruleset there is an executeMbean service and activity. In the PegaAES ruleset there are activities to make a SOAP request to a node to call mbean com.pega.pegarules.management.AgentManagement operation AgentStatusAdvanced (then apply a parse-xml to interpet the results).