My application runs in a multinode system with 6 nodes. In order to handle the threshold(load balancing) we ensure few agents run in few nodes and others agents in other nodes.
My Problem here is : some of agent fails for various reason . when they stop or fail. i need to trigger an alert to application prod support team on this . I can start or stop or get the agent status of particular node which i am accessing. Is there any way where i can monitor the agents running across the nodes.
To summarize my question . How to access the agents running across several nodes in a mutiple node system
Few option which i found viable is using the API available
getAgentDetailsForNode method will get me the agent status by giving the node name but it is not returning anything.
java.util.Map TestData5= new java.util.HashMap();
TestData5 = tools.getAgentUtils().getAgentDetailsForNode("RulesetName","Quename","NodeName");
The above java snippet is not returning anything . NodeName is the one i have question . i took the node name from SMA even then it is not working. I tried node ID also. getAgentDetails method is working but it fetches only for the current node.
With AES i might be able to acheive what I am looking for. But currently we cannot afford to have in AES
**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.
What's the PRPC version you are working on? you can check pxSystemNode on pxProcess page which will give you the exact Node Name I believe there could be some case difference between the value on clipboard to the one that you are giving in the method for node name.
I want to know the last run time and other details of an agent for all the nodes.can i use the below method for the same?
java.util.Map<java.lang.String,java.lang.Object> getAgentDetails(java.lang.String aRuleSetName,
I want to understand that how can we take the details into clipboard which is returned by this method ?
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write a Post button that’s available on the top right pane of this page. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.