Reconfigure my agent
Applies to:Medulla – Agent
Version: All
Environment: On-Premise / Private SaaS / Shared SaaS
Category: Medulla Agent
You can reconfigure the agent to change the DNS name it uses to communicate, but it is also possible to modify several other settings.
Here is the agent's location on the server:/var/lib/pulse2/clients/
You will find a script named: generate-pulse-agent.sh. If you run it with the --help parameter, you will see all the configurable settings:
./generate-pulse-agent.sh --help
Usage:
./generate-pulse-agent.sh [--conf-xmppserver=<XMPP server configuration>]
[--conf-xmppport=<XMPP server port>]
[--conf-xmpppasswd=<XMPP server password>]
[--aes-key=<32-character AES PSK>]
[--xmpp-passwd=<XMPP server password>]
[--chat-domain=<XMPP domain>]
[--inventory-tag=<Tag added to the inventory>]
[--minimal [--base-url=<URL for downloading agent and dependencies from>]]
[--disable-vnc (Disable VNC Server)]
[--vnc-port=<Default port 5900>]
[--vnc-password=<DES-encrypted VNC password>]
[--ssh-port=<Default port 22>]
[--disable-rdp (Disable RDP setup)]
[--disable-inventory (Disable Fusion Inventory)]
[--disable-geoloc (Disable geolocation, for example on machines that do not access the internet)]
[--linux-distros (Supported Linux distributions)]
[--updateserver (Download URL for agent updates)]
Examples:
XMPP Server
To reconfigure the machine's contact DNS entry (the server the machine must contact):
./generate-pulse-agent.sh --conf-xmppserver monserver.domain.fr
SSH Port
To change the server's SSH contact port:
./generate-pulse-agent.sh --ssh-port 2022
If you change the SSH port, also follow this documentation:
https://docs.medulla-tech.io/books/medulla-faq/draft/497
Disable VNC
To disable VNC on your agents:
./generate-pulse-agent.sh --disable-vnc
Disable RDP
To disable RDP on your agents:
./generate-pulse-agent.sh --disable-rdp