Checking an Agent's status
By Owen Allen-Oracle on Aug 14, 2012
Sometimes, through network or configuration problems, you can end up with an OS where you're not sure if it has a properly configured Agent. There are a few simple things you can do to see if an asset has an Agent, and if it does, to see if it's correctly configured to talk to a Proxy Controller.
One way to check is to look for the "scn-agent" SMF service. If it exists, there's an Agent on the system that has been configured. If the service is disabled, the agent isn't running, but it has been installed and configured.
# svcs scn-agent
STATE STIME FMRI
online Aug_14 svc:/application/management/common-agent-container-1:scn-agent
Another way is to run "sc-console list-connections". If the Agent is configured, this will show you the connection to the Proxy Controller.
# sc-console list-connections
Another way is to run the OCDoctor utility with the --troubleshoot flag, which will let you know if there's an issue with the Agent.
# ./OCDoctor.sh --troubleshoot
Ops Center Doctor 4.10 [OC 188.8.131.526,SunOS11]
OCDoctor: =============== Checking agent... ===============
OCDoctor: OK: Agent requirements are met
OCDoctor: OK: Patch 121431-54 is installed
Any one of these tools can help you get a better idea of what a particular Agent is doing, and whether or not it's configured properly.