We have a use case where we'd like to monitor hundreds of Citrix VDI desktops. Those are machines that are regularly rebooted and are built based on an image that's prebuilt...
We have 1 image that is pushed to VDI machines in 2 different network environments, i.e Elastic agents also talk to 2 different Fleet Servers.
I saw 2 similar previous question and issue that were raised around this same topic, but never got answers to?
What is exactly the issue here? How are you installing the Agent on the image?
I have the agent installed on images with delayed enrollment, so the agent will only enroll on Elastic when a VM is created using the image.
During the image creation you need to install the agent with the --delay-enrollparameter.
--delay-enroll
Delays enrollment to occur on first start of the Elastic Agent service. This setting is useful when you don’t want the Elastic Agent to enroll until the next reboot or manual start of the service, for example, when you’re preparing an image that includes Elastic Agent.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.