Citrix scanning requirements

Citrix scanning is a feature introduced in Lansweeper 7.0. If you are using an older Lansweeper release, you will need to update by following the instructions in this knowledge base article.
Not all Lansweeper licenses support Citrix scanning. Please visit this page for more information.

Ideally, a Citrix XenServer host is scanned through the Citrix API (XenAPI or XAPI). Though other protocols enabled on the XenServer, like SSH, may provide some information as well, the XenAPI will return the most detailed data. In order for Lansweeper to scan a XenServer host, you need to ensure that TCP port 443 is opened on the XenServer host and that the HTTPS title contains the text "XenServer" or "Citrix Hypervisor".

The account you use to access the XenAPI must be able to run following command aliases NETWORKING, SOFTWARE, SERVICES, STORAGE, DELEGATING, PROCESSES, LOCATE, DRIVERS. Full root access is not necessary.

Keep in mind that XenServers are scanned via port 443. At this time, you cannot configure a custom TCP port for your XenServers as they will not be scanned as a XenServer if you do. Additionally, the HTTPS title of the machine must contain the text "XenServer" or "Citrix Hypervisor" in order for the machine to be correctly identified as a XenServer. Custom HTTPS titles are not supported at this time. Use our devicetester to check if TCP port 443 is open on the XenServer and to check that the HTTPS title is correct.


To configure a XenServer host for scanning, do the following:

  1. Logon as root to the XenServer console via an SSH session.
  2. Create a user to scan your XenServer host. You can use the standard Linux useradd command. In below example we created a user called lsscan.
    useradd -c "LansweeperScanCred" -d /home/lsscan -s /bin/bash lsscan

    Below is a short explanation of the used parameters:

    -c: Any text string. It is generally a short description of the login.
    -d: The new user will be created using this value as the user's login directory.
    -s: The name of the user's login shell.

  3. Set the password for the newly created user.
    passwd lsscan
  4. Open the sudo config file to grant the newly created user the required permissions.
  5. Edit the sudo config file and uncomment (removing the # before) the following command aliases: NETWORKING, SOFTWARE, SERVICES, STORAGE, DELEGATING, PROCESSES, LOCATE, DRIVERS
    uncommenting cmd aliases
  6. Assign the command aliases to the newly created user by adding the following line at the bottom of your sudo config file:
  7. The newly created user and password can now be used to scan the Citrix XenServer.
    More information on how to enter your newly created Citrix credentials can be found in this knowledge base article.

Related Articles

Get Started Right Away

Try Lansweeper for Free