# Discovery

This plugin can be integrated with Pandora FMS Discovery.

To do this, you must load the ".disco" package that you can download from the Pandora FMS library:

[https://pandorafms.com/library/](https://pandorafms.com/library/)

[![image-1687944638257.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-06/scaled-1680-/image-1687944638257.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-06/image-1687944638257.png)

Once loaded, XenServer environments can be monitored by creating Discovery tasks from the Management &gt; Discovery &gt; Applications section.

[![image-1687944787532.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-06/scaled-1680-/image-1687944787532.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-06/image-1687944787532.png)

For each task, the following minimum data will be requested:

- **XenServer IP:** IP of the XenServer server to monitor.
- **XenServer user:** Connection user to the XenServer.
- **Password:** Password of the connection user.
- **ID as Name:** To enable an SR's id to be its agent name, the alias will remain the name.
- **Tentacle IP:** IP of the Tentacle server to send agent data to. Normally this parameter will not be modified.
- **Tentacle port:** Tentacle server port to send data to. Normally this parameter will not be modified.
- **Tentacle extra options:** Additional options for sending data through the Tentacle client. Normally this parameter will not be modified.

[![image.png](https://pandorafms.com/guides/public/uploads/images/gallery/2024-05/scaled-1680-/dwbimage.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2024-05/dwbimage.png)

Task settings can also be adjusted to customize the desired monitoring:

- Time adjustment: Time adjustment, enter in seconds.
- Scan VM IP: Activate to check the IP of the virtual machines.
- Scan all Hosts: Check to enable scanning of all hosts.
- Scan all VM: Check to enable scanning of all virtual machines.
- Scan all SR: Check to enable scanning of all SR agents.
- Extra settings: Optional additional configuration block. Here you can include all the plugin configuration parameters you want, such as the REJECT or RENAME blocks.

[![image-1683798608834.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-05/scaled-1680-/image-1683798608834.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-05/image-1683798608834.png)

Tasks that are successfully completed will have an execution summary with the following information:

- Hosts: Number of monitored hosts.
- Storage: Amount of storage monitored.
- VMs: Number of virtual machines that are not templates or control domain. A control domain is a special virtual machine that acts as a management interface to the Xen environment.
- Hosts VMs running: Number of virtual machines running on the monitored hosts.
- Hosts VMs installed: Number of virtual machines of the monitored hosts, including templates and control domains.

[![image-1684313757448.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-05/scaled-1680-/image-1684313757448.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-05/image-1684313757448.png)

The tasks that are not completed successfully will have an execution summary recording the errors produced.