# Adjust monitoring

In this section we will see how to configure some of the advanced options of a module (thresholds, units, others).

# Advanced module properties

Navigate to the agent's módulos view.

[![modulou.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/scaled-1680-/modulou.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/modulou.png)

Select the desired module to configure.

[![module_selected_2.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/scaled-1680-/modulo-seleccionado-2.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/modulo-seleccionado-2.png)

Later open the tab a **Advanced Options** and proceed to configure the desired fields.

[![advanced.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/scaled-1680-/advanced.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/advanced.png)

In the next two sections you will see how to configure the fields **Unit** and **Interval** and the thresholds **Warning Status** and **Critical Status**.

# Configuration of the units of a module

Allows defining the units of the data obtained in a module. This unit will be included in graphs and reports, making it easier to interpret the data displayed to the user.

For example having as unit `%`: Placeúese inside the **Unit** field and type the desired unit.

[![unitu.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/scaled-1680-/unitu.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/unitu.png)

Finally, click on the **Update** button to save and verify that the unit is correctly displayed in the modules view.

# Setting the interval of a module

Configuring or modifying the module interval defines how often the module runs. This affects remote modules (not running locally), as local modules are configured in a slightly more complex way.**The more frequently a remote system is monitored, the more load it will generate on the system.**

[![intervalou.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/scaled-1680-/intervalou.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/intervalou.png)

Click on the **Update** button and you have configured the module.

# Configuration of the thresholds of a module

In this section you can configure the thresholds **Warning** and **Critical** for a module;module with the values that a module must have to be in a state `CRITICAL`, `WARNING` or `NORMAL`.

In this example you have a CPU module to add thresholds to. This module will always be in the `NORMAL`(green) state as long as it is between 0% and 100%. If you want this module to display in status **Critical** or **Warning** when the CPU reaches a certain percentage, you must configure by determining the desired **Warning Status** and **Critical Status** thresholds. In this example for when the CPU reaches 90% usage the module will switch to status **Warning** and if it exceeds 95%, switch to **Critical**.

[![umbralesu.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/scaled-1680-/umbralesu.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/umbralesu.png)

After configuring the thresholds, just click on the **Update** button and the thresholds will be correctly configured. The next data received will already interpret these thresholds.

# Advanced threshold parameters

The box **Inverse interval** is used to define non-contiguous ranges. In this example, the module will change to the critical state if the value is below 20 or above 80:

[![quickguide_inverse1.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/scaled-1680-/quickguide-inverse1.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/quickguide-inverse1.png)

In string-type modules, the threshold is defined as a substring. Similarly, it can be inverted so that the module goes to `CRITICAL` if **no** contains the substring passed as a par meter:

[![quickguide_inverse2.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/scaled-1680-/quickguide-inverse2.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/quickguide-inverse2.png)

.

# Other advanced parameters

The configuration of a module is very flexible, with dozens of possibilities. In the Pandora FMS documentation we can discover all of them.