Ad Widget

Collapse

Duplicate Hosts in Autoregistration when updating agent configuration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HunorR
    Junior Member
    • Sep 2024
    • 1

    #1

    Duplicate Hosts in Autoregistration when updating agent configuration

    Hi everyone, I've started testing the autoregistration feature to see how it works. It functions correctly when I add the metadata to the host's agent configuration file. However, the issue arises when I update an existing host's configuration file and add the metadata (in my case, 'Windows'). When I update the configuration file, the host autoregisters even if the host's name already exists in the database. As a result, I end up with the same host appearing twice in the list.

    Is there a way to enforce a condition where, if the host's metadata contains 'Windows' and the hostname is not already registered, then the operations are performed?
Working...