Pandora: Templates Policies Massives
1 Differences between Templates, Policies and Massive Operations
The three concepts could seem similar but they work completely different and their goals are very different as well. In this section their differences and choice of use will be explained.
Templates allow you to create a set of remote modules easily within an agent. When you apply a template the modules are created inside the agent, in any case deleting or removing the existing modules, if the modules already exist they are created again. If after applying a template you modify it, the changes will appear in the following applications, if the agent already has the modules and you reapply them, the modules will be created again. In addition to creating modules on existing agents, in Pandora you can use templates to create modules automatically within agents discovered by a Recon Task. Applying templates is done through the Pandora web console.
1.1.1 When should I use templates?
- When you need to create new remote modules in agents quickly.
- When you need to create new remote modules in agents discovered by a Recon Task.
Policies are an easy way to manage thousands of agents. They contain all the information to manage (create, remove and modify) any monitoring element of your Pandora agents. In a policy you define modules, alerts, file collections, inventory modules and the agents on which the policy will be applied. The first difference between policies and templates is that policies support all kinds of modules, in addition to alerts and file collections. The second difference is that policies could update the agents, removing and modifying each component configured in the policy. The policies are applied by Pandora FMS server which creates, removes and modifies the elements defined in the policies on each agent defined by the same policy.
1.2.1 When should I use policies?
- When you need to monitor a huge amount of devices easily.
- When you want to customize the monitoring for a huge amount of devices.
1.3 Massive operations
Massive Operations allow you to perform operations on agents, modules, users, alerts, or policies in a massive way. As you can see the main difference between Massive Operations, Templates and Policies is that Massive Operations are a tool to manage the different components of Pandora including agents, alerts, policies, modules, etc. They are very useful when you want to perform the same change on a huge amount of agents, alerts, modules, etc.
Massive operations could be used, for example, to change the action in all alerts to send an email to the same person or, for example, to change the maximum and minimum values for the module CPU usage in all agents.
Massive operations are operations or actions performed through Pandora web console on each monitoring component such as: agents, modules, alerts, policies, etc.
1.3.1 When should I use massive operations?
- When you want to perform the same change in a huge amount of elements (agents, alerts, policies, modules, etc).