Skip to main content

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/ 

image.png

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

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

 

  • MongoDB target strings : List of Mongodb targets to monitor by the task. It will be a list separated by commas or lines. Each target database can be defined by adding its name.
  • Uri – Standard MongoDB connection URI to connect to a MongoDB database server

image.png

It is also possible to adjust the task configuration to customize the desired monitoring:

  • Max threads: to optimize execution time, multiple threads may be configured to monitor the task agents. Note that configuring multiple threads may increase the task CPU usage.
  • Target agent: List of target agents for the MongoDB targets to monitor. That is, the names with which the agents of each target defined in the task will be generated. It will be a comma or line separated list. The position of the names in the list should match the position of the MongoDB targets in your list, that is, the first name will be used for the first target and so on. If the list is separated by lines, blank lines will be ignored. If no agent name is specified for a target, its name will be used as the agent name.
  • Custom module prefix: Text included as prefix for all the generated module names. It is useful to locate the modules generated by the task or to distinguish them from others.
  • Check engine uptime: If enabled it will monitor the uptime of the targets.
  • Retrieve query statistics: If enabled it will monitor query statistics.
  • Analyze connections: If enabled, it will monitor connections.
  • Retrieve latency statistics: If enabled, it will monitor latency.
  • Retrieve network statistics: If enabled, it will monitor the networks.
  • Execute custom queries: If activated you will enable the possibility of executing custom queries.
  • Custom queries: Modules can be specified with custom queries.

image.pngimage.png

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

  • Total agents: Total agents generated by the task.
  • Targets up: Total number of targets to which it has been possible to connect.
  • Targets down: Total number of targets to which it has not been possible to connect.

image.png

Tasks that are not completed successfully will have an execution summary recording the errors that occurred.