Tuesday Aug 14, 2012

Checking an Agent's status

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
scn-agenthttps://10.163.209.70:21165  urn:scn:clregid:<string>

 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 12.1.1.2076,SunOS11]
OCDoctor: =============== Checking agent... ===============
OCDoctor: OK: Agent requirements are met
OCDoctor: OK: Patch 121431-54 is installed
<output omitted>

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.

About

This blog discusses issues encountered in Ops Center and highlights the ways in which the documentation can help you

Search

Categories
Archives
« August 2012 »
SunMonTueWedThuFriSat
   
2
4
5
6
8
10
11
12
13
15
18
19
20
22
24
25
26
27
28
30
 
       
Today