I am trying to summarize the agents status across different node in my system and send a consolidated email on the status
I am able to easily get the agent details on the node i am working in. I am trying to acheive this across other nodes also. I hope 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.