IBM Support

How do I monitor ASBAgent and Logging Agent in IBM InfoSphere Information Server?

Question & Answer


Question

Can you please advise on how we can monitor these processes (ASBNode and Logging Agent), if our syntax to do so is correct, and if in fact it is normal to see that at times for not both of these processes to have a Unix/Linux PID?

Cause

Current script may contain checks similar to:

{
echo "Check if ASB (Application Service BackBone) Agent and Logging Agent are running"
if [[ $(ps -ef|grep -i
/opt/IBM/InformationServer/ASBNode/apps/jre/bin/java|grep -vc grep)
-eq 2 ]]; then
echo " **ASBAgent and Logging Agent are running"
else
echo " !! FAILURE FOR ASBAgent and Logging Agent CHECK"
status_flag="1"
fi
}

Answer

When you check for the ASBAgent and Logging Agent by issuing ps -ef | grep -i agent, there will be two agents running for Information Server.

For example, if the agents are running, you should see output similar to the following:



root 1392838 1 0 Oct 10 - 169:48 /opt/IBM/InformationServer/ASBNode/bin/RunAgent -Xbootclasspath/a:conf -Djava.ext.dirs=apps/jre/lib/ext:lib/java -Djava.class.path=conf -Djava.security.auth.login.config=/opt/IBM/InformationServer/ASBNode/conf/auth.conf -Dcom.ibm.CORBA.ConfigURL=file:/opt/IBM/InformationServer/ASBNode/conf/sas.client.props -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Djava.util.logging.configureByServer=true -class com/ascential/asb/agent/impl/AgentImpl

root 1302646 1 0 Oct 10 - 16:10 ./../apps/jre/bin/java -Djava.security.auth.login.config=./../conf/auth.conf -Dcom.ibm.CORBA.ConfigURL=file:./../conf/sas.client.props -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Djava.util.logging.configureByServer=true -classpath ./../conf:./../lib/java/ACS_client.jar:./../lib/java/ACS_common.jar:./../lib/java/ASB_utils.jar:./../lib/java/ASB_util_client.jar:./../lib/java/WASClient.jar com.ascential.acs.logging.agent.LoggingAgentSocketImpl

In order to specifically identify the two agents for Information Server, issue the following commands:


ps -ef | grep -i AgentImpl

ps -ef | grep -i LoggingAgentSocketImpl

[{"Product":{"code":"SSZJPZ","label":"IBM InfoSphere Information Server"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"8.7;8.5;8.1;8.0.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21421309