Cannot edit agent.cfg when setting up Asset Discovery Agent

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

When trying to set up Asset Discovery Agent according to Set up Assets Discovery Agent and edit agent.cfg, the agent.cfg file can't not be successfully modified. It keeps going back to the default file upon saving. 

Diagnosis

Below are 3 example agent.cfg files: 

Cause

The modification of agent.cfg is unsuccessful due to invalid format. In the examples above, it is because of the duplicated </DirectCopyPath> flags: the default agent.cfg already has the <DirectCopyPath /> flag, and its recommended to add the values in-place instead of creating duplicated flags at the end of the file. 

Solution

Double-check the agent.cfg to see whether there are duplicated flags or invalid flags. 


Last modified on Dec 10, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.