Skip to main content

Discovery


This plugin can be integrated with Pandora FMS Discovery.

To do so, you must load the “.disco” package that you can download from the Pandora FMS library:

https://pandorafms.com/library/

Once loaded, JMX environments can be monitored by creating Discovery tasks from the Management > Discovery > App section.

The following minimum data will be requested for each task:

  • Instances target strings: 

Example:

service:jmx:rmi:///jndi/rmi://172.17.0.1:9090/jmxrmi
service:jmx:rmi:///jndi/rmi://172.12.0.23:9090/jmxrmi
service:jmx:rmi:///jndi/rmi://172.11.0.1:9090/jmxrmi
  • JMX URL: URL of the instance from which the MBeans will be discovered (the metrics of the selected MBeans will be obtained for all specified instance targets).
  • User: User of the java environment
  • Password : Password of the java environment

Captura desde 2026-01-22 16-53-23.png

On the next screen, you can select the discovered Mbeans, and the attributes of each selected mbean will be monitored.

Captura desde 2026-01-22 16-58-22.png

And in the next screen :

  • Max threads: Number of threads to use in the task.
  • Use prefix for modules: Check to specify a prefix for modules.
  • Prefix for modules created: Prefix for created modules.
  • Use prefix for agent: Check to specify a prefix for modules.
  • Prefix for agents created: Prefix for created agents.

Captura desde 2026-01-22 17-17-19.png

  • Tentacle IPIP: :Tentacle Dirección de tentacle.address.
  • Tentacle port: PuertoTentacle de tentacle.port.
  • Tentacle extra optionsoptions: OpcionesTentacle extra de tentacle.options.
  • Regexp to filter modules: MarcarCheck parato poderspecify especificar un patron dea regexp quepattern crearathat solowill lascreate métricasonly quemetrics coincidanthat conmatch elthe patron.pattern.
  • Allow regexp: patronRegexp depattern regexpthat quewill crearacreate soloonly lasmetrics métricasthat quematch coincidanthe con el patron.pattern.
  • Regexp to discard modules: MarcarCheck parato poderspecify especificar un patron dea regexp quepattern descartaráthat laswill métricasdiscard quemetrics coincidanthat conmatch elthe patron.pattern.
  • Deny regexp:regexp: PatronRegexp depattern regexpthat quewill descartarádiscard lasmetrics métricasthat quematch coincidanthe con el patron. pattern.

Captura desde 2026-01-22 17-17-58.png

  • Custom Metrics: MétricasCustom personalizadasmetrics to monitor (independent of the selected Mbeans; if the metric already exists in a monitorizarselected (independienteMbean, deit loswill Mbeansonly seleccionados,be sicreated la metrica ya existe en un Mbean seleccionado solo se creara una vezonce).
  • Rename default modules: MarcarCheck parato poderspecify especificara unnew nuevoname nombrefor enthe lasdesired métricas deseadas.metrics.
  • Modules names:  NombreName deof lathe metricametric queyou sewant quierato renombrarrename enin elthe nombremodule delname móduloAND Yname nombreof delthe módulodesired deseadomodule parafor esathat métricametric separadoseparated porby "|" , porfor ejemplo :example:

 

java.lang:name=CodeHeap 'non-nmethods',type=MemoryPool/PeakUsage/max | Memory.usage.max
Catalina:type=Service/name | Catalina.service.name


Captura desde 2026-01-22 17-18-27.png

For each line an attribute must be added and this will create a module with that statistic in Pandora. If it is necessary to configure thresholds, they must be specified to the right of the attribute, separating each threshold by |. Example:

Metric without threshold 

java.lang:type=Threading/ThreadCount

image.png

Metric with threshold

java.lang:type=Threading/TotalStartedThreadCount|min_warning 30|min_critical 45

image.png

Successfully completed tasks will have an execution summary with the following information:

  • Total agents : Total number of agents generated by the task.

image.png