Troubleshooting PreAgent

  • 3883680
  • 26-Oct-2007
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management

Situation

What logs and files can be examined for troubleshooting ZCM 10 Managed pre agent? How to read the contents of PreAgentPkg_AgentComplete?

Resolution

For the PreAgent service, look on the system drive (for example:\windows\novell\zenworks\bin) for these files:
ZENPreAgent.InstallErr
ZENPreAgent.InstallLog
ZENPreAgent.InstallState
cmdline.txt(The command line executed when the managed agent package was launched)
Once the PreAgent service is installed, all logging goes to the system application event log.
The deployment package downloaded from a particular server will contain that server's connection information (ip/dns/ports) so that a managed device can call back to that server. You there are several ways that you can interrogate the package.
PreAgentPkg_AgentComplete -l(to get a listing of the package contents and any commands that are executed)
PreAgentPkg_AgentComplete -n -d(the contents of the package will be extracted to the specified directory)
Additionally, zeninfocollect includes msilist which will generate a list of ZENworks installed MSIs.