# Discovery

This plugin can be integrated with Pandora FMS Discovery.

To do so, you must load the “.disco” package, which can be downloaded from the Pandora FMS library:

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

Once loaded, Prometheus instances Discovery tasks from the Management &gt; Discovery &gt; App section.

[![Captura desde 2025-11-26 12-16-37.png](https://pandorafms.com/guides/public/uploads/images/gallery/2025-11/scaled-1680-/captura-desde-2025-11-26-12-16-37.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2025-11/captura-desde-2025-11-26-12-16-37.png)  
  
For each task, the following minimum information will be requested:

- Url: Prometheus instance URL
- Tentacle IP: Tentacle address
- Tentacle port: Tentacle port
- Tentacle extra options: Tentacle extra options  
      
      
      
    On the next page, we will be asked for the following:

[![Captura desde 2025-11-26 12-22-06.png](https://pandorafms.com/guides/public/uploads/images/gallery/2025-11/scaled-1680-/captura-desde-2025-11-26-12-22-06.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2025-11/captura-desde-2025-11-26-12-22-06.png)

- **Agent Name:** Name for the principal agent
- **Use prefix**: Prefix for created agents
- **Prefix:** Prefix for created agents
- **Auth basic:** Enable for basic authentication check
- **Username:** User for the prometheus instance (only required if basic authentication is configured)
- **Password:** Password for the prometheus instance (only required if basic authentication is configured)

[![Captura desde 2025-11-26 12-27-06.png](https://pandorafms.com/guides/public/uploads/images/gallery/2025-11/scaled-1680-/captura-desde-2025-11-26-12-27-06.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2025-11/captura-desde-2025-11-26-12-27-06.png)

- **Custom queries:** Here you can define custom queries. The format is one query per line and is as follows: &lt; Metric name &gt; = &lt; Custom query &gt;. For example:  
      
    [![Captura desde 2025-11-26 12-49-37.png](https://pandorafms.com/guides/public/uploads/images/gallery/2025-11/scaled-1680-/captura-desde-2025-11-26-12-49-37.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2025-11/captura-desde-2025-11-26-12-49-37.png)
- **Define tresholds:** Here you can define the thresholds for the modules generated by custom queries. The format is a definition of thresholds per line and is as follows: &lt; Desired thresholds in the module, separated by “|” &gt;. For example:   
      
    [![Captura desde 2025-11-26 12-50-55.png](https://pandorafms.com/guides/public/uploads/images/gallery/2025-11/scaled-1680-/captura-desde-2025-11-26-12-50-55.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2025-11/captura-desde-2025-11-26-12-50-55.png)
- **Define agents:** Here you can define the creation of agents for modules generated by custom queries. The format is one definition per line and is as follows: &lt; Name of the new agent. All metrics that do not specify an agent will be included in the main agent &gt;. For example:

[![Captura desde 2025-11-26 12-58-38.png](https://pandorafms.com/guides/public/uploads/images/gallery/2025-11/scaled-1680-/captura-desde-2025-11-26-12-58-38.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2025-11/captura-desde-2025-11-26-12-58-38.png)Successfully completed tasks will have an execution summary with the following information:

- **Total agents** : Total number of agents generated by the task.
- **Total modules:** Total number of modules generated by the task.

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