Bulk operations

Introduction

Menu Management → Configuration → Bulk Operations → Execute.

They allow performing management operations on Agents, Modules, users, alerts, monitoring policy alerts, and SNMP alerts. Please note that, if PFMS is centralized in Command Center, some options, depending on their nature, may or may not be available.

Bulk operations essentially have two options:

  1. Execution: Phase where elements to be created, edited, copied, or deleted are selected.
  2. Queuing: Phase where, depending on the amount of work configured in the previous step, the percentage of processed elements will be shown with a progress bar.

For Execution, there is a complete wizard that will guide step by step, notifying if any requirement is missing, showing the necessary warnings before proceeding, and informing of the result, most of the time, immediately.

Technical details

To perform bulk operations, PHP needs a proper configuration of expiration time parameters.

To configure the timeout, edit the /etc/php.ini file and set the appropriate values for Pandora FMS:

max_execution_time = 0
max_input_time = -1

Deleting elements is irreversible. Refer to the topic “Backup and recovery procedures” to learn about recovery procedures.

If notifications via Web console are active, queuing result messages will be indicated in red: This is completely normal.

Execution

Execution presents a wizard with a series of steps to follow, the first of which is selecting the type of element to work on in bulk, whether alerts, users, agents, monitoring policies, or modules. Then, the action to be performed on them must be specified.

Once you advance to the next step of the wizard, the fields available to be executed appear, grouped into different tabs.

In the case of bulk editing operations, each field uniquely features a lock icon that prevents changing values. Clicking on it will unlock it to make the desired change.

It is important to pay attention to these icons: when unlocked, they will always apply the alphanumeric value, numeric value (including null or empty values), or the first list option assigned by default.

Once all necessary elements are configured, they will be inserted into the execution queue. This queue will execute as if the user were modifying (or deleting) each one individually, according to the established order.

Execution cannot be stopped and if there are unhandled exceptions, they will be properly registered in the queue for later review. This ensures successful processing of all assigned work. The user will always be notified once finished.

The following options are available for execution:

  • Agents: Editing and deletion. This option is also available in Command Center.
  • Modules: For Agents and Satellite Server Agents, editing and deletion. There is also module copying between agents.
  • Alerts: Creation, editing, and deletion. For Alert Actions, only addition and deletion.
  • Monitoring Policies: Grouped into modules, alerts, and external alerts, the same actions as in previous steps. It features copying modules in monitoring policies.
  • Users: Editing of user data (option also available in Command Center) and addition and deletion of user profiles.
  • SNMP Alerts: Editing and deletion of Trap alerts.
  • Bulk operations with Plugins have been removed from available executions.

Queuing

Generally, executions will be carried out instantaneously. In the event that the volume of operations is high, a screen similar to the following will be displayed:

The queuing list will be automatically cleared. To always keep a practical record of the bulk operations performed, notifications via Web console can be activated:

In the Audit log, it is also possible to get summary information about the bulk changes made.

←Back to Pandora FMS documentation index