How do I troubleshoot agent communication problems in AppManager? (NETIQKB22532)

  • 7722532
  • 02-Feb-2007
  • 01-Apr-2011

Environment

NetIQ AppManager 6.x
NetIQ AppManager 7.0.x

Situation

How to Troubleshoot Agent Connectivity

Resolution

Test basic TCP/IP connectivity between the Management Server and Agent:


a.  From a command prompt on the Management Server ping the agent to verify network connectivity and network name resolution: C:\>ping <server name> [Enter]
b.  On the Managed Client machine, from the command prompt ping the Management Server: C:\>ping <server name> [Enter]
c.  On the Management Server, from the command prompt ping the IP address of the Managed Client machine using the -a option: C:\>ping -a <IP address> [Enter].  If the host name returned is not correct (often a result of duplicate IP addresses on a network), this must be corrected in order to allow communications between the Agent and Management Server.

d.  On the Managed Client machine, from the command prompt ping the IP address of the Management Server machine using the -a option: C:\>ping -a <IP address> [Enter].  If the host name returned is not correct (often a result of duplicate IP addresses on a network), this must be corrected in order to allow communications between the Agent and Management Server.

 

Test DNS name resolution using nslookup:
At the command prompt on the Management Server: C:\>nslookup <agent hostname> [Enter] and C:\>nslookup <MS hostname> [Enter].  If either does not return the correct IP address, it could result in communication errors since AppManager primarily uses host names.

 

Use the NetIQCTRL utility to check connectivity and status of Agent(s):

a.      At the command prompt of a computer that has any AppManager component installed and has been rebooted (i.e. Management Agent, Console, Repository, etc.) type netiqctrl  (C:\>netiqctrl [Enter]), t.
his will activate the NetIQCtrl interactive prompt.

b.     Use the ?trip? command to test communications between the Managed Client and the Management Server.  (in all of the following examples, you would replace ?agent1? and ?MS1? with the hostnames of the computers in your environment) Example:

 

NetIQctrl> trip agent1 netiqmc MS1

 

1045182550  - ctrl

1045182550  - mc <agent1>

1045182550  - ms <MS1>

1045182550  - mc <agent1>

1045182550  - ctrl

 

In the preceding example, the successful completion of each stage of the trip is indicated by the 10 digit UTC time stamp.  A ?0? at any stage indicates a communication failure.

          c.  Use the netiqctrl ?ping? to verify that the NetIQ AppManager Client Communication Manager service is running and available, for example:

 

NetIQctrl> ping agent1 netiqccm

 

version           4.5.82.19

start_mode      Service

start_time        Wed Feb 05 13:02:39 2003

trace_level       1

rpc version       4.0

         

d.  Use the netiqctrl ?profile? to directly query the Management Agent on all running and completed jobs, for example:

 

NetIQctrl> profile agent1 netiqmc

 

 

----------------------

Running Jobs

----------------------

 

 

Job [614]  =>

        KS Name          :  MTS_DllDown

        QDB Site         :  QDBMGCARS1025661127_1025661128

        QDB Site UpdTime :  1025661128.


        MS machine       :  MS1 <10.5.64.43>

        Thread ID        :  1648 (0x670)

        Local Action     :  <>

        Job Status       :  worker running

        Detailed State   :  <end one iteration>

        Submit Time      :  Fri Jan 31 09:58:05 2003

        Start Time       :  Wed Feb 05 13:03:25 2003

        StopPending Time :

        Iteration Intv   :  60 sec

        Iteration Count  :  11822

        Iter Start Time  :  Thu Feb 13 18:06:00 2003

      Iter Stop Time   :  Thu Feb 13 18:06:01 2003

        Iter Run Time    :  861 msec

        Avg Iter Time    :  3345 msec

 

 

Job [575]  =>

        KS Name          :  1507:NT_CpuLoaded

        QDB Site         :  QDBMGCARS1025661127_1025661128

        QDB Site UpdTime :  1025661128

        MS machine       :  MS1 <10.5.64.43>

        Thread ID        :  124 (0x7c)

        Local Action     :  <>

        Job Status       :  worker running

        Detailed State   :  <end one iteration>

        Submit Time      :  Wed Jan 29 16:20:08 2003

        Start Time       :  Wed Feb 05 13:03:49 2003

        StopPending Time :

        Iteration Intv   :  300 sec

        Iteration Count  :  2365

        Iter Start Time  :  Thu Feb 13 18:03:56 2003

        Iter Stop Time   :  Thu Feb 13 18:03:56 2003

        Iter Run Time    :  100 msec

        Avg Iter Time    :  632 msec

 

 

 

-------------------------------.


Stopped/Completed Jobs

-------------------------------

 

 

Job [426]  =>

        KS Name   :  Exchange_SMTPConnectivity

        MS        :  10.5.100.3 <GANBEI>

        RPC       :  1

        StopTime  :  Tue Feb 11 14:15:10 2003

 

 

 

 

+++++++  total 1 completed jobs

 

+++++++  total 2 running jobs

Test Telnet Connectivity to the agent port from the Management server
telnet agentname 9998

Test Telnet Connectivity to the mangament server port from the agent
telnet managementservername 9999

Additional Information

Formerly known as NETIQKB22532