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/
Once uploaded, Amazon S3 environments can be monitored by creating Discovery tasks from the Management > Discovery > Cloud section.
For each task, the following minimum data will be requested:
- AWS Credentials: Connection credentials to the AWS API to be used by the task. They must be previously registered in the Pandora FMS credential store.
- Max threads: To optimize the execution time, multiple threads can be configured to monitor the agents of the task. Keep in mind that setting up multiple threads can increase the CPU usage of the task.
- Tentacle IP – Tentacle server IP 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.
- Add global stats agent: If activated, a global agent will be generated with task statistics.
- Stats agent name: It will allow you to indicate the name of the agent for global statistics of the task. If no name is provided, the default name of the plugin will be used.
If the credentials provided are correct and the Pandora FMS server is able to connect to the AWS API, you will be able to see a tree with AWS S3 zones and buckets, which can be marked for monitoring.
If a zone is selected, in addition to the zone itself, all the buckets it contains will be monitored (both at the time of configuring the task and later if new buckets are included).
If specific buckets are selected they will be monitored regardless of whether their zones have not been selected.
Finally, you can adjust the monitoring you want to obtain:
- S3 Monitoring: If activated, the task will be enabled to obtain additional monitoring for the agents, described in the following fields.
- Monitor bucket size: If activated, the bucket size modules will be included in the monitoring.
- Monitor bucket total items: If activated, the item modules of the buckets will be included in the monitoring.
Tasks that are successfully completed will have an execution summary with the following information:
- Total regions: Total number of regions monitored by the task.
- Total buckets: Total number of buckets monitored by the task.
The tasks that are not completed successfully will have an execution summary recording the errors produced.